Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-07 23:59:02.734435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
  port_id : 19445907
  datou_current_id : 2468599
in upload_from_sqlite, uploading in 19445907
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07012025/23/56/image_07012025_23_56_02_728726_0003.jpg', '/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0000.jpg', '/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0001.jpg', '/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0002.jpg', '/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0003.jpg', '/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2468599&datou=0
/home/pi/Desktop/images/07012025/23/56/image_07012025_23_56_02_728726_0003.jpg
/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0000.jpg
/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0001.jpg
/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0002.jpg
/home/pi/Desktop/images/07012025/23/57/image_07012025_23_57_02_898163_0003.jpg
/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_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":["1327347863","1327347866","1327347859","1327347870","1327347864","1327347869"],"photo_ids_order":["1327347859","1327347863","1327347864","1327347866","1327347869","1327347870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29df966ed932e589bb27151190cb8397.jpg","text":"TemporaryFile(/tmp/multipartBody7062064458979646704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_57_02_898163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c609f034746672838ed69d51c58a91f4.jpg","text":"TemporaryFile(/tmp/multipartBody8533225260551658428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_57_02_898163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa125507f7ab88fb0935a476afea553c.jpg","text":"TemporaryFile(/tmp/multipartBody808471024059627844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_56_02_728726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9779302c2910119bd5e7e03490e4f351.jpg","text":"TemporaryFile(/tmp/multipartBody254969779096487409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_58_03_074203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b46f18727051eb0ceacb2ed713bd3a17.jpg","text":"TemporaryFile(/tmp/multipartBody5264667671740318316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_57_02_898163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fed4d71b13cd826a7032264f057d901.jpg","text":"TemporaryFile(/tmp/multipartBody7196445273482449379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290819765,"filename":"image_07012025_23_57_02_898163_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327347864","file1":"1327347863","file0":"1327347859","file4":"1327347869","file5":"1327347870","file3":"1327347866"},"map_files_photo_id_array":[{"photo_id":"1327347870","filename":"file5"},{"photo_id":"1327347864","filename":"file2"},{"photo_id":"1327347869","filename":"file4"},{"photo_id":"1327347863","filename":"file1"},{"photo_id":"1327347859","filename":"file0"},{"photo_id":"1327347866","filename":"file3"}],"portfolio_id":19445907,"hashtag_by_photo_ids":[{"1327347863":["hashtag1","hashtag2"]},{"1327347866":["hashtag1","hashtag2"]},{"1327347859":["hashtag1","hashtag2"]},{"1327347870":["hashtag1","hashtag2"]},{"1327347864":["hashtag1","hashtag2"]},{"1327347869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19445907 used, photo_id : ArrayBuffer(1327347863, 1327347866, 1327347859, 1327347870, 1327347864, 1327347869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03423237800598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:00:02.680301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
  port_id : 19445907
  datou_current_id : 2468599
in upload_from_sqlite, uploading in 19445907
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0001.jpg', '/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0002.jpg', '/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0003.jpg', '/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0000.jpg', '/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0001.jpg', '/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2468599&datou=0
/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0001.jpg
/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0002.jpg
/home/pi/Desktop/images/07012025/23/58/image_07012025_23_58_03_074203_0003.jpg
/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0000.jpg
/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0001.jpg
/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327348092","1327348107","1327348101","1327348104","1327348094","1327348097"],"photo_ids_order":["1327348092","1327348094","1327348097","1327348101","1327348104","1327348107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53e9570712bda157a846445afb351b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7053786057750624547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_58_03_074203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/628269975433ab808f8ba21e34d53bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1667445224959633008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_59_02_241561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6b4e75e23d770e4f52daa8de7a005c5.jpg","text":"TemporaryFile(/tmp/multipartBody7040597351136942806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_59_02_241561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b284b22d321f364cf2096cc3016f70f0.jpg","text":"TemporaryFile(/tmp/multipartBody3485757017380217180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_59_02_241561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f164a74a9804b31ca0b573b69c70e13b.jpg","text":"TemporaryFile(/tmp/multipartBody3638897493436280060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_58_03_074203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0cb24d7933396e727625f9c3e2234fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1976371692726158366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290878799,"filename":"image_07012025_23_58_03_074203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327348097","file1":"1327348094","file0":"1327348092","file4":"1327348104","file5":"1327348107","file3":"1327348101"},"map_files_photo_id_array":[{"photo_id":"1327348107","filename":"file5"},{"photo_id":"1327348097","filename":"file2"},{"photo_id":"1327348104","filename":"file4"},{"photo_id":"1327348094","filename":"file1"},{"photo_id":"1327348092","filename":"file0"},{"photo_id":"1327348101","filename":"file3"}],"portfolio_id":19445907,"hashtag_by_photo_ids":[{"1327348092":["hashtag1","hashtag2"]},{"1327348107":["hashtag1","hashtag2"]},{"1327348101":["hashtag1","hashtag2"]},{"1327348104":["hashtag1","hashtag2"]},{"1327348094":["hashtag1","hashtag2"]},{"1327348097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19445907 used, photo_id : ArrayBuffer(1327348092, 1327348107, 1327348101, 1327348104, 1327348094, 1327348097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.77528500556946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:01:22.368220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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_08012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19463093, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736290943000}
533
2470615
533
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0000.jpg', '/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0001.jpg', '/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0002.jpg', '/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0003.jpg', '/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0000.jpg', '/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0000.jpg
/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0001.jpg
/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0002.jpg
/home/pi/Desktop/images/08012025/00/00/image_08012025_00_00_02_419670_0003.jpg
/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0000.jpg
/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_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":["1327349206","1327348888","1327349203","1327348516","1327349195","1327349204"],"photo_ids_order":["1327348516","1327348888","1327349195","1327349203","1327349204","1327349206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac086a86f59ab14660f701d555f585f6.jpg","text":"TemporaryFile(/tmp/multipartBody113613253349690661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_01_02_615889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e7fdfc562fef79f42fe13126d30108c.jpg","text":"TemporaryFile(/tmp/multipartBody5410893734737452892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_00_02_419670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b04f0566c2dc5934346f2df37bccd814.jpg","text":"TemporaryFile(/tmp/multipartBody3636018875026303243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_00_02_419670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0478f77aae5ea1a987456aebba0db362.jpg","text":"TemporaryFile(/tmp/multipartBody70623370033442964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_00_02_419670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90a9430f8825ebea1bdbaccfc83bbf80.jpg","text":"TemporaryFile(/tmp/multipartBody7144559463110944393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_00_02_419670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/060851f37d05ec1dcf880344e2ca115c.jpg","text":"TemporaryFile(/tmp/multipartBody6314901033040050087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736290961305,"filename":"image_08012025_00_01_02_615889_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327349195","file1":"1327348888","file0":"1327348516","file4":"1327349204","file5":"1327349206","file3":"1327349203"},"map_files_photo_id_array":[{"photo_id":"1327349206","filename":"file5"},{"photo_id":"1327349195","filename":"file2"},{"photo_id":"1327349204","filename":"file4"},{"photo_id":"1327348888","filename":"file1"},{"photo_id":"1327348516","filename":"file0"},{"photo_id":"1327349203","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327349206":["hashtag1","hashtag2"]},{"1327348888":["hashtag1","hashtag2"]},{"1327349203":["hashtag1","hashtag2"]},{"1327348516":["hashtag1","hashtag2"]},{"1327349195":["hashtag1","hashtag2"]},{"1327349204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327349206, 1327348888, 1327349203, 1327348516, 1327349195, 1327349204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.96708130836487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:02:52.597283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
  port_id : 19445907
  datou_current_id : 2468599
in upload_from_sqlite, uploading in 19445907
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2468599&datou=0
/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.5798819065093994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:03:02.529061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0002.jpg', '/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0003.jpg', '/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0000.jpg', '/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0001.jpg', '/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0002.jpg
/home/pi/Desktop/images/08012025/00/01/image_08012025_00_01_02_615889_0003.jpg
/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0000.jpg
/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0001.jpg
/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327349611","1327349268","1327349345","1327349677","1327349293"],"photo_ids_order":["1327349268","1327349293","1327349345","1327349611","1327349677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9a2fe29a937fbce28c52b38d9bc48b2.jpg","text":"TemporaryFile(/tmp/multipartBody3833031609590775450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291055319,"filename":"image_08012025_00_02_02_714663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/680611a8ec13247ba065d4717fb604a8.jpg","text":"TemporaryFile(/tmp/multipartBody6646076483268904334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291055319,"filename":"image_08012025_00_01_02_615889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07181574948677ef08ad1709ef170587.jpg","text":"TemporaryFile(/tmp/multipartBody9096598148108772879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291055319,"filename":"image_08012025_00_02_02_714663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad8c661f3d4fe87948046e89b1b9871f.jpg","text":"TemporaryFile(/tmp/multipartBody3419686547728953253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291055319,"filename":"image_08012025_00_02_02_714663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd16faf748dfee4d222fdd1d46c08a67.jpg","text":"TemporaryFile(/tmp/multipartBody5224648108970040281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291055319,"filename":"image_08012025_00_01_02_615889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327349345","file1":"1327349293","file0":"1327349268","file4":"1327349677","file3":"1327349611"},"map_files_photo_id_array":[{"photo_id":"1327349345","filename":"file2"},{"photo_id":"1327349677","filename":"file4"},{"photo_id":"1327349293","filename":"file1"},{"photo_id":"1327349268","filename":"file0"},{"photo_id":"1327349611","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327349611":["hashtag1","hashtag2"]},{"1327349268":["hashtag1","hashtag2"]},{"1327349345":["hashtag1","hashtag2"]},{"1327349677":["hashtag1","hashtag2"]},{"1327349293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327349611, 1327349268, 1327349345, 1327349677, 1327349293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.768471479415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:04:02.357065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0003.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0000.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0001.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0003.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0000.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0001.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.884000539779663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:04:21.835775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0003.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0000.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0001.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0002.jpg', '/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0003.jpg', '/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/02/image_08012025_00_02_02_714663_0003.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0000.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0001.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0002.jpg
/home/pi/Desktop/images/08012025/00/03/image_08012025_00_03_02_973428_0003.jpg
/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_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":["1327351531","1327351606","1327350913","1327351529","1327351316","1327351594"],"photo_ids_order":["1327350913","1327351316","1327351529","1327351531","1327351594","1327351606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d224f22cb60a2e9850ce75e2dfbc751.jpg","text":"TemporaryFile(/tmp/multipartBody7445541811613416263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_03_02_973428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b580b6b5aef9a6e4b43f9c08c196575a.jpg","text":"TemporaryFile(/tmp/multipartBody7955988753324881592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_04_02_115592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/359cf3419df6561872347e437f8da7a5.jpg","text":"TemporaryFile(/tmp/multipartBody2405717268780151365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_02_02_714663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0dcf77d0085d67ebf314b91d73445e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2090355257167464147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_03_02_973428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5a2f0aa193c47e04d51bf7d69b61ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8617204799138792656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_03_02_973428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2e30c3dd93f7eb6a83cced92b810cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6801897467418121090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291137085,"filename":"image_08012025_00_03_02_973428_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327351529","file1":"1327351316","file0":"1327350913","file4":"1327351594","file5":"1327351606","file3":"1327351531"},"map_files_photo_id_array":[{"photo_id":"1327351606","filename":"file5"},{"photo_id":"1327351529","filename":"file2"},{"photo_id":"1327351594","filename":"file4"},{"photo_id":"1327351316","filename":"file1"},{"photo_id":"1327350913","filename":"file0"},{"photo_id":"1327351531","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327351531":["hashtag1","hashtag2"]},{"1327351606":["hashtag1","hashtag2"]},{"1327350913":["hashtag1","hashtag2"]},{"1327351529":["hashtag1","hashtag2"]},{"1327351316":["hashtag1","hashtag2"]},{"1327351594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327351531, 1327351606, 1327350913, 1327351529, 1327351316, 1327351594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.57764196395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:05:22.042573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0001.jpg', '/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0002.jpg', '/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0003.jpg', '/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0000.jpg', '/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0001.jpg', '/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0001.jpg
/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0002.jpg
/home/pi/Desktop/images/08012025/00/04/image_08012025_00_04_02_115592_0003.jpg
/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0000.jpg
/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0001.jpg
/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327351642","1327351645","1327351974","1327351638","1327351637","1327351640"],"photo_ids_order":["1327351637","1327351638","1327351640","1327351642","1327351645","1327351974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0656335829725c89385868900ce86545.jpg","text":"TemporaryFile(/tmp/multipartBody1323559427389412981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_05_02_263429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c75b18ca4b58bfa86962a8c753fcb2f1.jpg","text":"TemporaryFile(/tmp/multipartBody8361733615383796538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_05_02_263429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c97cbf25a1a1bdd517fa6917b8a37a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2156657234372642639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_05_02_263429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32093ff7425ae9f822d6e0a545d18729.jpg","text":"TemporaryFile(/tmp/multipartBody7213611941661226918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_04_02_115592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46454cfc55db84dc181d298ae8e83d38.jpg","text":"TemporaryFile(/tmp/multipartBody3750439976867218647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_04_02_115592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/589d898f081606d341e8b0c2aa2caa31.jpg","text":"TemporaryFile(/tmp/multipartBody8159858756731177697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291197403,"filename":"image_08012025_00_04_02_115592_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327351640","file1":"1327351638","file0":"1327351637","file4":"1327351645","file5":"1327351974","file3":"1327351642"},"map_files_photo_id_array":[{"photo_id":"1327351974","filename":"file5"},{"photo_id":"1327351640","filename":"file2"},{"photo_id":"1327351645","filename":"file4"},{"photo_id":"1327351638","filename":"file1"},{"photo_id":"1327351637","filename":"file0"},{"photo_id":"1327351642","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327351642":["hashtag1","hashtag2"]},{"1327351645":["hashtag1","hashtag2"]},{"1327351974":["hashtag1","hashtag2"]},{"1327351638":["hashtag1","hashtag2"]},{"1327351637":["hashtag1","hashtag2"]},{"1327351640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327351642, 1327351645, 1327351974, 1327351638, 1327351637, 1327351640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20638632774353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:06:22.362009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0003.jpg', '/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0000.jpg', '/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0001.jpg', '/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/05/image_08012025_00_05_02_263429_0003.jpg
/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0000.jpg
/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0001.jpg
/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327352325","1327352269","1327352323","1327352317"],"photo_ids_order":["1327352269","1327352317","1327352323","1327352325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28eb5c27af7ca9a941ddb17897bb976a.jpg","text":"TemporaryFile(/tmp/multipartBody3902857175476611679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291252611,"filename":"image_08012025_00_06_02_418999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ff56e36770183a4a356da77a2f81d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6230131446298456112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291252611,"filename":"image_08012025_00_05_02_263429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efc4c3989b3d071cdfd47131aeb27637.jpg","text":"TemporaryFile(/tmp/multipartBody1394103724664361585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291252611,"filename":"image_08012025_00_06_02_418999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6407fe34d266dea80f5862274c98864.jpg","text":"TemporaryFile(/tmp/multipartBody4305384662503711317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291252611,"filename":"image_08012025_00_06_02_418999_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327352323","file1":"1327352317","file0":"1327352269","file3":"1327352325"},"map_files_photo_id_array":[{"photo_id":"1327352323","filename":"file2"},{"photo_id":"1327352317","filename":"file1"},{"photo_id":"1327352269","filename":"file0"},{"photo_id":"1327352325","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327352325":["hashtag1","hashtag2"]},{"1327352269":["hashtag1","hashtag2"]},{"1327352323":["hashtag1","hashtag2"]},{"1327352317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327352325, 1327352269, 1327352323, 1327352317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69930052757263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:07:22.389035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0003.jpg', '/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0000.jpg', '/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0001.jpg', '/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/06/image_08012025_00_06_02_418999_0003.jpg
/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0000.jpg
/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0001.jpg
/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327352376","1327352375","1327352374","1327352377"],"photo_ids_order":["1327352374","1327352375","1327352376","1327352377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de9883f9df9bc70839990a78fda73d09.jpg","text":"TemporaryFile(/tmp/multipartBody2976167330891539557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291312668,"filename":"image_08012025_00_07_02_650803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae321636a8d2aefa60480c83c659e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2726633492116377737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291312668,"filename":"image_08012025_00_07_02_650803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0eee280f9d1dda45728483a9b95b2193.jpg","text":"TemporaryFile(/tmp/multipartBody6078897690299863915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291312668,"filename":"image_08012025_00_06_02_418999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d781b9977cf9e64cadda0b7eff365217.jpg","text":"TemporaryFile(/tmp/multipartBody634478244870794582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291312668,"filename":"image_08012025_00_07_02_650803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327352376","file1":"1327352375","file0":"1327352374","file3":"1327352377"},"map_files_photo_id_array":[{"photo_id":"1327352376","filename":"file2"},{"photo_id":"1327352375","filename":"file1"},{"photo_id":"1327352374","filename":"file0"},{"photo_id":"1327352377","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327352376":["hashtag1","hashtag2"]},{"1327352375":["hashtag1","hashtag2"]},{"1327352374":["hashtag1","hashtag2"]},{"1327352377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327352376, 1327352375, 1327352374, 1327352377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31500720977783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:08:22.620692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0003.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0000.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0001.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0003.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0000.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0001.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.009499311447144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:08:52.565633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
  port_id : 19445907
  datou_current_id : 2468599
in upload_from_sqlite, uploading in 19445907
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2468599&datou=0
/home/pi/Desktop/images/07012025/23/59/image_07012025_23_59_02_241561_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327352654"],"photo_id":"1327352654","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c69f2a8efbb8254512d6e130d4de937f.jpg","text":"TemporaryFile(/tmp/multipartBody8902307940806447411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291396715,"filename":"image_07012025_23_59_02_241561_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327352654"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327352654"}],"hashtags":[],"portfolio_id":"19445907","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.727192401885986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:09:22.736346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0003.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0000.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0001.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0002.jpg', '/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0003.jpg', '/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/07/image_08012025_00_07_02_650803_0003.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0000.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0001.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0002.jpg
/home/pi/Desktop/images/08012025/00/08/image_08012025_00_08_02_781256_0003.jpg
/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_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":["1327352934","1327352925","1327352927","1327352834","1327352938","1327352926"],"photo_ids_order":["1327352834","1327352925","1327352926","1327352927","1327352934","1327352938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c9e1bb3b1eb2f389e9698ee67e6001e.jpg","text":"TemporaryFile(/tmp/multipartBody8493561834406138230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_08_02_781256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6326976b5f5fab6ee935a4de37ef3f61.jpg","text":"TemporaryFile(/tmp/multipartBody7706851676901438679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_08_02_781256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4628336c4cf86302caddce59762cb34.jpg","text":"TemporaryFile(/tmp/multipartBody6170573914357088698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_08_02_781256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51fc4bf0e8d6f2748695b4503cd46d33.jpg","text":"TemporaryFile(/tmp/multipartBody7348064670941742765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_07_02_650803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/526775d9792cf71b56bc1f182a7f85d0.jpg","text":"TemporaryFile(/tmp/multipartBody5667835116928240636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_09_02_993814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12ad30de08da600b12ae8279f7349a5c.jpg","text":"TemporaryFile(/tmp/multipartBody401217428486344555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291438051,"filename":"image_08012025_00_08_02_781256_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327352926","file1":"1327352925","file0":"1327352834","file4":"1327352934","file5":"1327352938","file3":"1327352927"},"map_files_photo_id_array":[{"photo_id":"1327352938","filename":"file5"},{"photo_id":"1327352926","filename":"file2"},{"photo_id":"1327352934","filename":"file4"},{"photo_id":"1327352925","filename":"file1"},{"photo_id":"1327352834","filename":"file0"},{"photo_id":"1327352927","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327352934":["hashtag1","hashtag2"]},{"1327352925":["hashtag1","hashtag2"]},{"1327352927":["hashtag1","hashtag2"]},{"1327352834":["hashtag1","hashtag2"]},{"1327352938":["hashtag1","hashtag2"]},{"1327352926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327352934, 1327352925, 1327352927, 1327352834, 1327352938, 1327352926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.248918771743774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:10:21.913838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0001.jpg', '/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0002.jpg', '/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0003.jpg', '/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0000.jpg', '/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0001.jpg', '/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0001.jpg
/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0002.jpg
/home/pi/Desktop/images/08012025/00/09/image_08012025_00_09_02_993814_0003.jpg
/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0000.jpg
/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0001.jpg
/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327352982","1327352988","1327352990","1327352984","1327352987","1327352986"],"photo_ids_order":["1327352982","1327352984","1327352986","1327352987","1327352988","1327352990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/045eb6bf8a8005cc9a0912be4c6e1676.jpg","text":"TemporaryFile(/tmp/multipartBody783203955497047818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_09_02_993814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1383e164dd435da8e42bd7063e20932.jpg","text":"TemporaryFile(/tmp/multipartBody2603170899565213211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_10_03_162960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41e302ec3a70ec891bdfefcb08614656.jpg","text":"TemporaryFile(/tmp/multipartBody70872489687902168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_10_03_162960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9172546cc7171d5e2415784860413671.jpg","text":"TemporaryFile(/tmp/multipartBody3674311107145072564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_09_02_993814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46ab54a72f15caf51a4bbb799a4f13a2.jpg","text":"TemporaryFile(/tmp/multipartBody2186914311856825193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_10_03_162960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e018aa4f1c04b52d4652ebf51e113642.jpg","text":"TemporaryFile(/tmp/multipartBody2876977901857168238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291497131,"filename":"image_08012025_00_09_02_993814_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327352986","file1":"1327352984","file0":"1327352982","file4":"1327352988","file5":"1327352990","file3":"1327352987"},"map_files_photo_id_array":[{"photo_id":"1327352990","filename":"file5"},{"photo_id":"1327352986","filename":"file2"},{"photo_id":"1327352988","filename":"file4"},{"photo_id":"1327352984","filename":"file1"},{"photo_id":"1327352982","filename":"file0"},{"photo_id":"1327352987","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327352982":["hashtag1","hashtag2"]},{"1327352988":["hashtag1","hashtag2"]},{"1327352990":["hashtag1","hashtag2"]},{"1327352984":["hashtag1","hashtag2"]},{"1327352987":["hashtag1","hashtag2"]},{"1327352986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327352982, 1327352988, 1327352990, 1327352984, 1327352987, 1327352986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.162232875823975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:11:52.136413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:12:02.770249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0003.jpg', '/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0000.jpg', '/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0001.jpg', '/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/10/image_08012025_00_10_03_162960_0003.jpg
/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0000.jpg
/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0001.jpg
/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353003","1327353006","1327353007","1327353001"],"photo_ids_order":["1327353001","1327353003","1327353006","1327353007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8f1d59cf5f724b2f1e749ffdcaeb675.jpg","text":"TemporaryFile(/tmp/multipartBody1692603046430281045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291593200,"filename":"image_08012025_00_11_02_424083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa1602f769c9ef6c679eae27a16e05aa.jpg","text":"TemporaryFile(/tmp/multipartBody5640709612350234571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291593200,"filename":"image_08012025_00_11_02_424083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4342ced57505e9060a13722666d2e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7812048592575087026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291593200,"filename":"image_08012025_00_11_02_424083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f2d1bac9c5a47c2399fb9afe2eb39ee.jpg","text":"TemporaryFile(/tmp/multipartBody6840608457642300948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291593200,"filename":"image_08012025_00_10_03_162960_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353006","file1":"1327353003","file0":"1327353001","file3":"1327353007"},"map_files_photo_id_array":[{"photo_id":"1327353006","filename":"file2"},{"photo_id":"1327353003","filename":"file1"},{"photo_id":"1327353001","filename":"file0"},{"photo_id":"1327353007","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353003":["hashtag1","hashtag2"]},{"1327353006":["hashtag1","hashtag2"]},{"1327353007":["hashtag1","hashtag2"]},{"1327353001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353003, 1327353006, 1327353007, 1327353001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.261576890945435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:12:52.312299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:13:03.099078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0003.jpg', '/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0000.jpg', '/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0001.jpg', '/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/11/image_08012025_00_11_02_424083_0003.jpg
/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0000.jpg
/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0001.jpg
/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353017","1327353022","1327353025","1327353019"],"photo_ids_order":["1327353017","1327353019","1327353022","1327353025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/225a442a9e449f6c7a894e25a8b551b4.jpg","text":"TemporaryFile(/tmp/multipartBody3301757979453136281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291653579,"filename":"image_08012025_00_11_02_424083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f56eca8d83bfe8a369d67fec54589633.jpg","text":"TemporaryFile(/tmp/multipartBody642455196282173999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291653579,"filename":"image_08012025_00_12_02_544002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f376cb6ddd104091fb72ccdc9b023f68.jpg","text":"TemporaryFile(/tmp/multipartBody8831367807457717281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291653579,"filename":"image_08012025_00_12_02_544002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80a44d805c2a96bfdc06084ee02f260d.jpg","text":"TemporaryFile(/tmp/multipartBody5607211807792282947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291653579,"filename":"image_08012025_00_12_02_544002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353022","file1":"1327353019","file0":"1327353017","file3":"1327353025"},"map_files_photo_id_array":[{"photo_id":"1327353022","filename":"file2"},{"photo_id":"1327353019","filename":"file1"},{"photo_id":"1327353017","filename":"file0"},{"photo_id":"1327353025","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353017":["hashtag1","hashtag2"]},{"1327353022":["hashtag1","hashtag2"]},{"1327353025":["hashtag1","hashtag2"]},{"1327353019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353017, 1327353022, 1327353025, 1327353019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07753825187683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:13:52.564136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:14:03.097937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0003.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0000.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0001.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0003.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0000.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0001.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.035046100616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:14:22.718884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0003.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0000.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0001.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0002.jpg', '/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0003.jpg', '/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/12/image_08012025_00_12_02_544002_0003.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0000.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0001.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0002.jpg
/home/pi/Desktop/images/08012025/00/13/image_08012025_00_13_02_706384_0003.jpg
/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_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":["1327353105","1327353110","1327353107","1327353116","1327353112","1327353106"],"photo_ids_order":["1327353105","1327353106","1327353107","1327353110","1327353112","1327353116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/426d9469066ca70c37009c3302a4b232.jpg","text":"TemporaryFile(/tmp/multipartBody7871004777573565075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_12_02_544002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0354a3c7c73eb8d9fb91abb1b2ae1e14.jpg","text":"TemporaryFile(/tmp/multipartBody4191016574777472684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_13_02_706384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2a41c8d9b868e3d0bf8b533c120aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody1615106215751146508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_13_02_706384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42dc80727d2b7e08cd0663485106f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody4078379255373431315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_14_02_851602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1745d11438b18bf6ea109ef6c3de79ed.jpg","text":"TemporaryFile(/tmp/multipartBody2889050906589152458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_13_02_706384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6f1972c283dd91863f3f54be4213638.jpg","text":"TemporaryFile(/tmp/multipartBody7974745373202404891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291738021,"filename":"image_08012025_00_13_02_706384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353107","file1":"1327353106","file0":"1327353105","file4":"1327353112","file5":"1327353116","file3":"1327353110"},"map_files_photo_id_array":[{"photo_id":"1327353116","filename":"file5"},{"photo_id":"1327353107","filename":"file2"},{"photo_id":"1327353112","filename":"file4"},{"photo_id":"1327353106","filename":"file1"},{"photo_id":"1327353105","filename":"file0"},{"photo_id":"1327353110","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353105":["hashtag1","hashtag2"]},{"1327353110":["hashtag1","hashtag2"]},{"1327353107":["hashtag1","hashtag2"]},{"1327353116":["hashtag1","hashtag2"]},{"1327353112":["hashtag1","hashtag2"]},{"1327353106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353105, 1327353110, 1327353107, 1327353116, 1327353112, 1327353106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74322056770325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:15:21.986368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0001.jpg', '/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0002.jpg', '/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0003.jpg', '/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0000.jpg', '/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0001.jpg', '/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0001.jpg
/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0002.jpg
/home/pi/Desktop/images/08012025/00/14/image_08012025_00_14_02_851602_0003.jpg
/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0000.jpg
/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0001.jpg
/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353186","1327353159","1327353158","1327353187","1327353145","1327353189"],"photo_ids_order":["1327353145","1327353158","1327353159","1327353186","1327353187","1327353189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed1eb2d1a5a99bc203884bd7d0718fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3507973819437832615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_15_03_083162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f317cdfd5a3a76d8b90082b33a8ebf9b.jpg","text":"TemporaryFile(/tmp/multipartBody1228697839518236713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_14_02_851602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdf1b9523db743ab0f2a765fb322c321.jpg","text":"TemporaryFile(/tmp/multipartBody7662501092745902384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_14_02_851602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/525ba403d3e431d6044184d11f4dea05.jpg","text":"TemporaryFile(/tmp/multipartBody6527216106059153148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_15_03_083162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ead1f88986b83709daad5ec66723c9be.jpg","text":"TemporaryFile(/tmp/multipartBody3790837330954472041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_14_02_851602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1c93e39dc2964739d8ba51e9b889e65.jpg","text":"TemporaryFile(/tmp/multipartBody7110784460015919923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291797110,"filename":"image_08012025_00_15_03_083162_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353159","file1":"1327353158","file0":"1327353145","file4":"1327353187","file5":"1327353189","file3":"1327353186"},"map_files_photo_id_array":[{"photo_id":"1327353189","filename":"file5"},{"photo_id":"1327353159","filename":"file2"},{"photo_id":"1327353187","filename":"file4"},{"photo_id":"1327353158","filename":"file1"},{"photo_id":"1327353145","filename":"file0"},{"photo_id":"1327353186","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353186":["hashtag1","hashtag2"]},{"1327353159":["hashtag1","hashtag2"]},{"1327353158":["hashtag1","hashtag2"]},{"1327353187":["hashtag1","hashtag2"]},{"1327353145":["hashtag1","hashtag2"]},{"1327353189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353186, 1327353159, 1327353158, 1327353187, 1327353145, 1327353189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.391197204589844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:16:22.209730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0003.jpg', '/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0000.jpg', '/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0001.jpg', '/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/15/image_08012025_00_15_03_083162_0003.jpg
/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0000.jpg
/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0001.jpg
/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353386","1327353382","1327353385","1327353387"],"photo_ids_order":["1327353382","1327353385","1327353386","1327353387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/666b8618aa44c4d24ed265d9bce82eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6289657711696801651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291852609,"filename":"image_08012025_00_16_02_296380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2faad18c5e09a7f807083b489d8a48ba.jpg","text":"TemporaryFile(/tmp/multipartBody5274319559709341171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291852609,"filename":"image_08012025_00_15_03_083162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2332ef43106bb3c63433231a613707e.jpg","text":"TemporaryFile(/tmp/multipartBody6037206287379881451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291852609,"filename":"image_08012025_00_16_02_296380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c230b3a739055e6ac5550b8c63789bd.jpg","text":"TemporaryFile(/tmp/multipartBody3124150405185663884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291852609,"filename":"image_08012025_00_16_02_296380_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353386","file1":"1327353385","file0":"1327353382","file3":"1327353387"},"map_files_photo_id_array":[{"photo_id":"1327353386","filename":"file2"},{"photo_id":"1327353385","filename":"file1"},{"photo_id":"1327353382","filename":"file0"},{"photo_id":"1327353387","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353386":["hashtag1","hashtag2"]},{"1327353382":["hashtag1","hashtag2"]},{"1327353385":["hashtag1","hashtag2"]},{"1327353387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353386, 1327353382, 1327353385, 1327353387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03673219680786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:17:22.304090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0003.jpg', '/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0000.jpg', '/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0001.jpg', '/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/16/image_08012025_00_16_02_296380_0003.jpg
/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0000.jpg
/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0001.jpg
/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353435","1327353431","1327353433","1327353436"],"photo_ids_order":["1327353431","1327353433","1327353435","1327353436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c67a27d9440e0d2b571ebccf86c93d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2553193517367917618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291912698,"filename":"image_08012025_00_17_02_601397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e04adad851b3ddae568163e4ab035e1.jpg","text":"TemporaryFile(/tmp/multipartBody5354912028255790732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291912698,"filename":"image_08012025_00_16_02_296380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/19e3d4020d94a95104992752c8373887.jpg","text":"TemporaryFile(/tmp/multipartBody3118941894940098809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291912698,"filename":"image_08012025_00_17_02_601397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fdd8c18a1e5c4e6d9a6fdccdf663a74.jpg","text":"TemporaryFile(/tmp/multipartBody3880204178388140880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736291912698,"filename":"image_08012025_00_17_02_601397_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353435","file1":"1327353433","file0":"1327353431","file3":"1327353436"},"map_files_photo_id_array":[{"photo_id":"1327353435","filename":"file2"},{"photo_id":"1327353433","filename":"file1"},{"photo_id":"1327353431","filename":"file0"},{"photo_id":"1327353436","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353435":["hashtag1","hashtag2"]},{"1327353431":["hashtag1","hashtag2"]},{"1327353433":["hashtag1","hashtag2"]},{"1327353436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353435, 1327353431, 1327353433, 1327353436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.68346667289734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:18:22.523757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0003.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0000.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0001.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0003.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0000.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0001.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.938291311264038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:18:52.527983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:19:03.383066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0003.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0000.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0001.jpg', '/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/17/image_08012025_00_17_02_601397_0003.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0000.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0001.jpg
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353456","1327353452","1327353449","1327353454"],"photo_ids_order":["1327353449","1327353452","1327353454","1327353456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0da7278f9beb80f11e0346c2d9129d1.jpg","text":"TemporaryFile(/tmp/multipartBody7256534234439830195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292013777,"filename":"image_08012025_00_18_02_665219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0678cc7e44508b46ec1664718f565c51.jpg","text":"TemporaryFile(/tmp/multipartBody7923408284666503528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292013777,"filename":"image_08012025_00_18_02_665219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b48d7763569c332369b4edbeb81b796c.jpg","text":"TemporaryFile(/tmp/multipartBody1925265029526248759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292013777,"filename":"image_08012025_00_17_02_601397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97e8291b223b978f1ef6373cb696cfed.jpg","text":"TemporaryFile(/tmp/multipartBody5577125697221647237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292013777,"filename":"image_08012025_00_18_02_665219_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353454","file1":"1327353452","file0":"1327353449","file3":"1327353456"},"map_files_photo_id_array":[{"photo_id":"1327353454","filename":"file2"},{"photo_id":"1327353452","filename":"file1"},{"photo_id":"1327353449","filename":"file0"},{"photo_id":"1327353456","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353456":["hashtag1","hashtag2"]},{"1327353452":["hashtag1","hashtag2"]},{"1327353449":["hashtag1","hashtag2"]},{"1327353454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353456, 1327353452, 1327353449, 1327353454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.96481156349182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:19:52.734847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:20:02.332332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0003.jpg', '/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0000.jpg', '/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0001.jpg', '/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/18/image_08012025_00_18_02_665219_0003.jpg
/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0000.jpg
/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0001.jpg
/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353513","1327353509","1327353506","1327353517"],"photo_ids_order":["1327353506","1327353509","1327353513","1327353517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74d1df3cdb35f27a19e8279d8519f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody9205806983987689717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292072714,"filename":"image_08012025_00_19_02_870585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d97d2151ae8caf46653d00fab031f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5926972413821859898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292072714,"filename":"image_08012025_00_19_02_870585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb4f0739a958e112d19b7275893fd559.jpg","text":"TemporaryFile(/tmp/multipartBody1982649607958161417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292072714,"filename":"image_08012025_00_18_02_665219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9bc8775ad1afda289d23a51fb97642f.jpg","text":"TemporaryFile(/tmp/multipartBody2955903187607759850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292072714,"filename":"image_08012025_00_19_02_870585_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353513","file1":"1327353509","file0":"1327353506","file3":"1327353517"},"map_files_photo_id_array":[{"photo_id":"1327353513","filename":"file2"},{"photo_id":"1327353509","filename":"file1"},{"photo_id":"1327353506","filename":"file0"},{"photo_id":"1327353517","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353513":["hashtag1","hashtag2"]},{"1327353509":["hashtag1","hashtag2"]},{"1327353506":["hashtag1","hashtag2"]},{"1327353517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353513, 1327353509, 1327353506, 1327353517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33390712738037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:20:51.889655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:21:02.742383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0003.jpg', '/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0000.jpg', '/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0001.jpg', '/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/19/image_08012025_00_19_02_870585_0003.jpg
/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0000.jpg
/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0001.jpg
/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353551","1327353545","1327353548","1327353542"],"photo_ids_order":["1327353542","1327353545","1327353548","1327353551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30dc5713df0757e170d7abc02702e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody2600558253709615722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292133141,"filename":"image_08012025_00_20_03_082610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6c949f2cdc43871f06c1cb48ed2e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6969681663317620129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292133141,"filename":"image_08012025_00_20_03_082610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/327a47bc99ce9d68bcc90222fa55b813.jpg","text":"TemporaryFile(/tmp/multipartBody2842366638937348530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292133141,"filename":"image_08012025_00_20_03_082610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6639914a351c3d1f66ef66b9b0eb63db.jpg","text":"TemporaryFile(/tmp/multipartBody5109162920628376815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292133141,"filename":"image_08012025_00_19_02_870585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353548","file1":"1327353545","file0":"1327353542","file3":"1327353551"},"map_files_photo_id_array":[{"photo_id":"1327353548","filename":"file2"},{"photo_id":"1327353545","filename":"file1"},{"photo_id":"1327353542","filename":"file0"},{"photo_id":"1327353551","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353551":["hashtag1","hashtag2"]},{"1327353545":["hashtag1","hashtag2"]},{"1327353548":["hashtag1","hashtag2"]},{"1327353542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353551, 1327353545, 1327353548, 1327353542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.53264832496643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:21:52.086406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:22:02.723043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0003.jpg', '/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0000.jpg', '/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0001.jpg', '/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/20/image_08012025_00_20_03_082610_0003.jpg
/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0000.jpg
/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0001.jpg
/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353555","1327353557","1327353597","1327353594"],"photo_ids_order":["1327353555","1327353557","1327353594","1327353597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4f9fe439fcf8c5bf1a93ee2c7295cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8456860702430918510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292193053,"filename":"image_08012025_00_20_03_082610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e82cc556f8dd84ba3475592e31cfd460.jpg","text":"TemporaryFile(/tmp/multipartBody7560187537463325756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292193053,"filename":"image_08012025_00_21_02_381488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2aa7b60c02be15acae7fd4b12b88b71.jpg","text":"TemporaryFile(/tmp/multipartBody5654044225657776970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292193053,"filename":"image_08012025_00_21_02_381488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7252f6f083289da90afb34644d483e01.jpg","text":"TemporaryFile(/tmp/multipartBody700722636518898272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292193053,"filename":"image_08012025_00_21_02_381488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353594","file1":"1327353557","file0":"1327353555","file3":"1327353597"},"map_files_photo_id_array":[{"photo_id":"1327353594","filename":"file2"},{"photo_id":"1327353557","filename":"file1"},{"photo_id":"1327353555","filename":"file0"},{"photo_id":"1327353597","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353555":["hashtag1","hashtag2"]},{"1327353557":["hashtag1","hashtag2"]},{"1327353597":["hashtag1","hashtag2"]},{"1327353594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353555, 1327353557, 1327353597, 1327353594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57904672622681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:22:52.269333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:23:02.888636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0003.jpg', '/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0000.jpg', '/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0001.jpg', '/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/21/image_08012025_00_21_02_381488_0003.jpg
/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0000.jpg
/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0001.jpg
/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353723","1327353716","1327353718","1327353721"],"photo_ids_order":["1327353716","1327353718","1327353721","1327353723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88af44334c3eb238d1c89435913e42e1.jpg","text":"TemporaryFile(/tmp/multipartBody6952190690548916398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292253310,"filename":"image_08012025_00_22_02_530274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/995ba30187b9da4c48aa8e9e4b9e27a4.jpg","text":"TemporaryFile(/tmp/multipartBody6468423665873863589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292253310,"filename":"image_08012025_00_21_02_381488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0fa91c2d7d39fa365a6819f893a5361.jpg","text":"TemporaryFile(/tmp/multipartBody2460888556816201579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292253310,"filename":"image_08012025_00_22_02_530274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4759fee6121ee35f54195cac0b6fb59e.jpg","text":"TemporaryFile(/tmp/multipartBody3148234739037945793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292253310,"filename":"image_08012025_00_22_02_530274_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353721","file1":"1327353718","file0":"1327353716","file3":"1327353723"},"map_files_photo_id_array":[{"photo_id":"1327353721","filename":"file2"},{"photo_id":"1327353718","filename":"file1"},{"photo_id":"1327353716","filename":"file0"},{"photo_id":"1327353723","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353723":["hashtag1","hashtag2"]},{"1327353716":["hashtag1","hashtag2"]},{"1327353718":["hashtag1","hashtag2"]},{"1327353721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353723, 1327353716, 1327353718, 1327353721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.608495235443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:23:52.471083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:24:03.076410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0003.jpg', '/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0000.jpg', '/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0001.jpg', '/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/22/image_08012025_00_22_02_530274_0003.jpg
/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0000.jpg
/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0001.jpg
/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353732","1327353729","1327353734","1327353727"],"photo_ids_order":["1327353727","1327353729","1327353732","1327353734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7953650208da34d06822360cc9dd4cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1622207310416715880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292313487,"filename":"image_08012025_00_23_02_676911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1775b9bb0381072439a0b07bcce56234.jpg","text":"TemporaryFile(/tmp/multipartBody8522495965540386292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292313487,"filename":"image_08012025_00_23_02_676911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/720d154bfd2455f145cc9d30cf06257e.jpg","text":"TemporaryFile(/tmp/multipartBody9099490327321713657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292313487,"filename":"image_08012025_00_23_02_676911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0376d6fafbc72241d86ad411c0df9882.jpg","text":"TemporaryFile(/tmp/multipartBody8147786697344539365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292313487,"filename":"image_08012025_00_22_02_530274_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353732","file1":"1327353729","file0":"1327353727","file3":"1327353734"},"map_files_photo_id_array":[{"photo_id":"1327353732","filename":"file2"},{"photo_id":"1327353729","filename":"file1"},{"photo_id":"1327353727","filename":"file0"},{"photo_id":"1327353734","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353732":["hashtag1","hashtag2"]},{"1327353729":["hashtag1","hashtag2"]},{"1327353734":["hashtag1","hashtag2"]},{"1327353727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353732, 1327353729, 1327353734, 1327353727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91616702079773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:24:52.639652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:25:02.510177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0003.jpg', '/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0000.jpg', '/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0001.jpg', '/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/23/image_08012025_00_23_02_676911_0003.jpg
/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0000.jpg
/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0001.jpg
/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353747","1327353738","1327353743","1327353740"],"photo_ids_order":["1327353738","1327353740","1327353743","1327353747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0cc3095f17fa809f296d2f539e35e780.jpg","text":"TemporaryFile(/tmp/multipartBody988920017230906064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292372827,"filename":"image_08012025_00_24_02_851615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38c3417e997e4a7c4b28848cc2781ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2107571523195915585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292372827,"filename":"image_08012025_00_23_02_676911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/542b7bd3453cf0d7bf31f4451aed0986.jpg","text":"TemporaryFile(/tmp/multipartBody2786245477276392077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292372827,"filename":"image_08012025_00_24_02_851615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65dd8949afb296c0d72286b504b0b181.jpg","text":"TemporaryFile(/tmp/multipartBody2472560907831229452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292372827,"filename":"image_08012025_00_24_02_851615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353743","file1":"1327353740","file0":"1327353738","file3":"1327353747"},"map_files_photo_id_array":[{"photo_id":"1327353743","filename":"file2"},{"photo_id":"1327353740","filename":"file1"},{"photo_id":"1327353738","filename":"file0"},{"photo_id":"1327353747","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353747":["hashtag1","hashtag2"]},{"1327353738":["hashtag1","hashtag2"]},{"1327353743":["hashtag1","hashtag2"]},{"1327353740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353747, 1327353738, 1327353743, 1327353740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54638361930847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:25:51.814145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:26:02.285210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0003.jpg', '/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0000.jpg', '/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0001.jpg', '/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/24/image_08012025_00_24_02_851615_0003.jpg
/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0000.jpg
/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0001.jpg
/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353789","1327353795","1327353792","1327353786"],"photo_ids_order":["1327353786","1327353789","1327353792","1327353795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55e892efbc9b6b7317ea05a59ea9cdf8.jpg","text":"TemporaryFile(/tmp/multipartBody2165118838025555286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292432611,"filename":"image_08012025_00_25_03_024823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7299f60f36a08d65915a3f1501af354.jpg","text":"TemporaryFile(/tmp/multipartBody1981895420106672345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292432611,"filename":"image_08012025_00_25_03_024823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14d78e48ec462b1c4532707399b56229.jpg","text":"TemporaryFile(/tmp/multipartBody8310047101072296064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292432611,"filename":"image_08012025_00_25_03_024823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e36534e6d78d283b4fa6608a2c3ac17.jpg","text":"TemporaryFile(/tmp/multipartBody8245075901300852109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292432611,"filename":"image_08012025_00_24_02_851615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353792","file1":"1327353789","file0":"1327353786","file3":"1327353795"},"map_files_photo_id_array":[{"photo_id":"1327353792","filename":"file2"},{"photo_id":"1327353789","filename":"file1"},{"photo_id":"1327353786","filename":"file0"},{"photo_id":"1327353795","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353789":["hashtag1","hashtag2"]},{"1327353795":["hashtag1","hashtag2"]},{"1327353792":["hashtag1","hashtag2"]},{"1327353786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353789, 1327353795, 1327353792, 1327353786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27699112892151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:26:51.957464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:27:02.556812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0003.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0000.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0001.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0003.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0000.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0001.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.012917757034302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:27:22.218971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0003.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0000.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0001.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0002.jpg', '/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0003.jpg', '/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/25/image_08012025_00_25_03_024823_0003.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0000.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0001.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0002.jpg
/home/pi/Desktop/images/08012025/00/26/image_08012025_00_26_02_287175_0003.jpg
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353896","1327353866","1327353883","1327353901","1327353904","1327353897"],"photo_ids_order":["1327353866","1327353883","1327353896","1327353897","1327353901","1327353904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f03ba256cbc44ba917711a87815e90a8.jpg","text":"TemporaryFile(/tmp/multipartBody2360853030945400433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_26_02_287175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc6e11babf5fd65cf69d79ac45431254.jpg","text":"TemporaryFile(/tmp/multipartBody5380132279361048993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_25_03_024823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/777651f71e9757d98131e192765d7975.jpg","text":"TemporaryFile(/tmp/multipartBody6822386923662975093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_26_02_287175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15b7893550a267dfd1958385d63940a8.jpg","text":"TemporaryFile(/tmp/multipartBody2592628400852635722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_26_02_287175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb2db4f9183b0372645ccadfca692eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8474989256757045364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_27_02_330737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6ef712d164397f0f182c044ebe722dc.jpg","text":"TemporaryFile(/tmp/multipartBody5897355883479450819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292517371,"filename":"image_08012025_00_26_02_287175_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353896","file1":"1327353883","file0":"1327353866","file4":"1327353901","file5":"1327353904","file3":"1327353897"},"map_files_photo_id_array":[{"photo_id":"1327353904","filename":"file5"},{"photo_id":"1327353896","filename":"file2"},{"photo_id":"1327353901","filename":"file4"},{"photo_id":"1327353883","filename":"file1"},{"photo_id":"1327353866","filename":"file0"},{"photo_id":"1327353897","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353896":["hashtag1","hashtag2"]},{"1327353866":["hashtag1","hashtag2"]},{"1327353883":["hashtag1","hashtag2"]},{"1327353901":["hashtag1","hashtag2"]},{"1327353904":["hashtag1","hashtag2"]},{"1327353897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353896, 1327353866, 1327353883, 1327353901, 1327353904, 1327353897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.48957395553589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:28:52.314717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:29:03.226603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0001.jpg', '/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0002.jpg', '/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0003.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0000.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0001.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0001.jpg
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0002.jpg
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0003.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0000.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0001.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.939834833145142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:29:22.517998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0001.jpg', '/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0002.jpg', '/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0003.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0000.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0001.jpg', '/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0001.jpg
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0002.jpg
/home/pi/Desktop/images/08012025/00/27/image_08012025_00_27_02_330737_0003.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0000.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0001.jpg
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327353966","1327353971","1327354136","1327354051","1327353991","1327354000"],"photo_ids_order":["1327353966","1327353971","1327353991","1327354000","1327354051","1327354136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7df86c482d9812c83e2583e48e73fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody7934973385439893834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_27_02_330737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67c7abef373696006d1161d01441e17f.jpg","text":"TemporaryFile(/tmp/multipartBody8821046843113586932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_27_02_330737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2793d81645202892a52d065902020610.jpg","text":"TemporaryFile(/tmp/multipartBody696067829759664456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_28_02_507910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b953cd54131a1969eda221ab24da9f96.jpg","text":"TemporaryFile(/tmp/multipartBody992261574099213752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_28_02_507910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e866054f02f0e287f42d5f981f22884.jpg","text":"TemporaryFile(/tmp/multipartBody7356020801167318205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_27_02_330737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b417ab932b8d4379034f3c0594f1f219.jpg","text":"TemporaryFile(/tmp/multipartBody7466851336651199778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292637832,"filename":"image_08012025_00_28_02_507910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327353991","file1":"1327353971","file0":"1327353966","file4":"1327354051","file5":"1327354136","file3":"1327354000"},"map_files_photo_id_array":[{"photo_id":"1327354136","filename":"file5"},{"photo_id":"1327353991","filename":"file2"},{"photo_id":"1327354051","filename":"file4"},{"photo_id":"1327353971","filename":"file1"},{"photo_id":"1327353966","filename":"file0"},{"photo_id":"1327354000","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327353966":["hashtag1","hashtag2"]},{"1327353971":["hashtag1","hashtag2"]},{"1327354136":["hashtag1","hashtag2"]},{"1327354051":["hashtag1","hashtag2"]},{"1327353991":["hashtag1","hashtag2"]},{"1327354000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327353966, 1327353971, 1327354136, 1327354051, 1327353991, 1327354000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57686185836792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:30:22.658659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0003.jpg', '/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0000.jpg', '/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0001.jpg', '/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0002.jpg', '/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0003.jpg', '/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/28/image_08012025_00_28_02_507910_0003.jpg
/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0000.jpg
/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0001.jpg
/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0002.jpg
/home/pi/Desktop/images/08012025/00/29/image_08012025_00_29_02_673460_0003.jpg
/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354178","1327354186","1327354150","1327354153","1327354155","1327354149"],"photo_ids_order":["1327354149","1327354150","1327354153","1327354155","1327354178","1327354186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94e89b9882877312bf4d58b5e3864f0b.jpg","text":"TemporaryFile(/tmp/multipartBody676867709827854177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_29_02_673460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13790de31a97ced62d4a7798d15e2485.jpg","text":"TemporaryFile(/tmp/multipartBody3398245311061372047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_30_02_854130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abcf50ed87e74b903de12f0865a52ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6010948401715061136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_29_02_673460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7acf795a4ac87bfe3d54214e0e80a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4793746609544401355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_29_02_673460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb634df5044c2376b311f80ad9e669ca.jpg","text":"TemporaryFile(/tmp/multipartBody40477915029855023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_29_02_673460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef0f0461283ab9c5e7b0400eede6053a.jpg","text":"TemporaryFile(/tmp/multipartBody3241941922929861391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292697931,"filename":"image_08012025_00_28_02_507910_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354153","file1":"1327354150","file0":"1327354149","file4":"1327354178","file5":"1327354186","file3":"1327354155"},"map_files_photo_id_array":[{"photo_id":"1327354186","filename":"file5"},{"photo_id":"1327354153","filename":"file2"},{"photo_id":"1327354178","filename":"file4"},{"photo_id":"1327354150","filename":"file1"},{"photo_id":"1327354149","filename":"file0"},{"photo_id":"1327354155","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354178":["hashtag1","hashtag2"]},{"1327354186":["hashtag1","hashtag2"]},{"1327354150":["hashtag1","hashtag2"]},{"1327354153":["hashtag1","hashtag2"]},{"1327354155":["hashtag1","hashtag2"]},{"1327354149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354178, 1327354186, 1327354150, 1327354153, 1327354155, 1327354149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09904909133911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:31:51.842912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:32:02.471877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0001.jpg', '/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0002.jpg', '/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0003.jpg', '/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0000.jpg', '/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0001.jpg', '/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0001.jpg
/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0002.jpg
/home/pi/Desktop/images/08012025/00/30/image_08012025_00_30_02_854130_0003.jpg
/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0000.jpg
/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0001.jpg
/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354376","1327354379","1327354378","1327354371","1327354380","1327354374"],"photo_ids_order":["1327354371","1327354374","1327354376","1327354378","1327354379","1327354380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faf06c7b21ae2b59eb57a96bccd8270e.jpg","text":"TemporaryFile(/tmp/multipartBody4383582777196109545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_30_02_854130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6b7b71778868ade7c891568116dfd0c.jpg","text":"TemporaryFile(/tmp/multipartBody125639365033063342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_31_02_987206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/311859f8cc4cbbe975f78ba21f7423cb.jpg","text":"TemporaryFile(/tmp/multipartBody5661885080843131827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_31_02_987206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc17877c785fec20ad7896bf3fd364df.jpg","text":"TemporaryFile(/tmp/multipartBody1383202868295077825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_30_02_854130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f2b0d401d9d36f2131d7dc6a6007c65.jpg","text":"TemporaryFile(/tmp/multipartBody607901849812998926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_31_02_987206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0b2e79ba7592242669b6affdbf3db69.jpg","text":"TemporaryFile(/tmp/multipartBody4590209373959747471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292797776,"filename":"image_08012025_00_30_02_854130_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354376","file1":"1327354374","file0":"1327354371","file4":"1327354379","file5":"1327354380","file3":"1327354378"},"map_files_photo_id_array":[{"photo_id":"1327354380","filename":"file5"},{"photo_id":"1327354376","filename":"file2"},{"photo_id":"1327354379","filename":"file4"},{"photo_id":"1327354374","filename":"file1"},{"photo_id":"1327354371","filename":"file0"},{"photo_id":"1327354378","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354376":["hashtag1","hashtag2"]},{"1327354379":["hashtag1","hashtag2"]},{"1327354378":["hashtag1","hashtag2"]},{"1327354371":["hashtag1","hashtag2"]},{"1327354380":["hashtag1","hashtag2"]},{"1327354374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354376, 1327354379, 1327354378, 1327354371, 1327354380, 1327354374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08893871307373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:33:02.882788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0003.jpg', '/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0000.jpg', '/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0001.jpg', '/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/31/image_08012025_00_31_02_987206_0003.jpg
/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0000.jpg
/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0001.jpg
/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354511","1327354513","1327354515","1327354509"],"photo_ids_order":["1327354509","1327354511","1327354513","1327354515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90ee692ba21e11c34988cc82f63172a8.jpg","text":"TemporaryFile(/tmp/multipartBody2158078529463820839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292853427,"filename":"image_08012025_00_32_02_247357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/423b5803bca3a94d7feadf9890b8b784.jpg","text":"TemporaryFile(/tmp/multipartBody626251370471971043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292853427,"filename":"image_08012025_00_32_02_247357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05a3d999c48f90e3c7a35cc42ded3dad.jpg","text":"TemporaryFile(/tmp/multipartBody2560085317754108304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292853427,"filename":"image_08012025_00_32_02_247357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/769d2c05d797f61ffc31d217193e2ace.jpg","text":"TemporaryFile(/tmp/multipartBody6319283947939374700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292853427,"filename":"image_08012025_00_31_02_987206_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354513","file1":"1327354511","file0":"1327354509","file3":"1327354515"},"map_files_photo_id_array":[{"photo_id":"1327354513","filename":"file2"},{"photo_id":"1327354511","filename":"file1"},{"photo_id":"1327354509","filename":"file0"},{"photo_id":"1327354515","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354511":["hashtag1","hashtag2"]},{"1327354513":["hashtag1","hashtag2"]},{"1327354515":["hashtag1","hashtag2"]},{"1327354509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354511, 1327354513, 1327354515, 1327354509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95632004737854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:33:52.225074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:34:02.794797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0003.jpg', '/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0000.jpg', '/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0001.jpg', '/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/32/image_08012025_00_32_02_247357_0003.jpg
/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0000.jpg
/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0001.jpg
/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354526","1327354523","1327354528","1327354521"],"photo_ids_order":["1327354521","1327354523","1327354526","1327354528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40e76677bce25d129d0056cccf709b14.jpg","text":"TemporaryFile(/tmp/multipartBody80615539194159522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292913272,"filename":"image_08012025_00_33_02_468542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc776d82a48c968d93db38edf6f59e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4917368378936150202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292913272,"filename":"image_08012025_00_33_02_468542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50c2bf002b253c235196e3b40973cb97.jpg","text":"TemporaryFile(/tmp/multipartBody3871319555375039814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292913272,"filename":"image_08012025_00_33_02_468542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5e4feb8a2b2e30dc5b7a94b379451c8.jpg","text":"TemporaryFile(/tmp/multipartBody6221674572059588597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292913272,"filename":"image_08012025_00_32_02_247357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354526","file1":"1327354523","file0":"1327354521","file3":"1327354528"},"map_files_photo_id_array":[{"photo_id":"1327354526","filename":"file2"},{"photo_id":"1327354523","filename":"file1"},{"photo_id":"1327354521","filename":"file0"},{"photo_id":"1327354528","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354526":["hashtag1","hashtag2"]},{"1327354523":["hashtag1","hashtag2"]},{"1327354528":["hashtag1","hashtag2"]},{"1327354521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354526, 1327354523, 1327354528, 1327354521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.61679458618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:34:52.422541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:35:03.218695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0003.jpg', '/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0000.jpg', '/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0001.jpg', '/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/33/image_08012025_00_33_02_468542_0003.jpg
/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0000.jpg
/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0001.jpg
/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354565","1327354567","1327354572","1327354569"],"photo_ids_order":["1327354565","1327354567","1327354569","1327354572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf5bb2799037fe4c08d32a6e3b7d9db9.jpg","text":"TemporaryFile(/tmp/multipartBody8539681616807305007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292973710,"filename":"image_08012025_00_33_02_468542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2638ad4d23502607fa61bc2d381e740.jpg","text":"TemporaryFile(/tmp/multipartBody2625296706831193039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292973710,"filename":"image_08012025_00_34_02_625800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa024437102917ee41ece14761a4bda3.jpg","text":"TemporaryFile(/tmp/multipartBody2670800712601762562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292973710,"filename":"image_08012025_00_34_02_625800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a52ac166d1319b645e1e34eedfee260.jpg","text":"TemporaryFile(/tmp/multipartBody6049360451237978929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736292973710,"filename":"image_08012025_00_34_02_625800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354569","file1":"1327354567","file0":"1327354565","file3":"1327354572"},"map_files_photo_id_array":[{"photo_id":"1327354569","filename":"file2"},{"photo_id":"1327354567","filename":"file1"},{"photo_id":"1327354565","filename":"file0"},{"photo_id":"1327354572","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354565":["hashtag1","hashtag2"]},{"1327354567":["hashtag1","hashtag2"]},{"1327354572":["hashtag1","hashtag2"]},{"1327354569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354565, 1327354567, 1327354572, 1327354569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61365795135498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:35:52.651175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:36:02.166418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0003.jpg', '/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0000.jpg', '/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0001.jpg', '/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/34/image_08012025_00_34_02_625800_0003.jpg
/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0000.jpg
/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0001.jpg
/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354577","1327354585","1327354579","1327354582"],"photo_ids_order":["1327354577","1327354579","1327354582","1327354585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41c33b39be590c3ebadabd1fb1d11441.jpg","text":"TemporaryFile(/tmp/multipartBody6337601421365059512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293032542,"filename":"image_08012025_00_34_02_625800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed4ed1de78d11624cde8eba69eb43e2e.jpg","text":"TemporaryFile(/tmp/multipartBody806740384773280099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293032542,"filename":"image_08012025_00_35_02_781571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56d53b9460595cf2470d112f073ffaf9.jpg","text":"TemporaryFile(/tmp/multipartBody4274233669484350854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293032542,"filename":"image_08012025_00_35_02_781571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b9fc6fe0bba529c3c5eed23a6cbd41b.jpg","text":"TemporaryFile(/tmp/multipartBody853143414064096051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293032542,"filename":"image_08012025_00_35_02_781571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354582","file1":"1327354579","file0":"1327354577","file3":"1327354585"},"map_files_photo_id_array":[{"photo_id":"1327354582","filename":"file2"},{"photo_id":"1327354579","filename":"file1"},{"photo_id":"1327354577","filename":"file0"},{"photo_id":"1327354585","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354577":["hashtag1","hashtag2"]},{"1327354585":["hashtag1","hashtag2"]},{"1327354579":["hashtag1","hashtag2"]},{"1327354582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354577, 1327354585, 1327354579, 1327354582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52516031265259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:36:51.837700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:37:02.667491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0003.jpg', '/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0000.jpg', '/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0001.jpg', '/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/35/image_08012025_00_35_02_781571_0003.jpg
/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0000.jpg
/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0001.jpg
/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354602","1327354595","1327354597","1327354600"],"photo_ids_order":["1327354595","1327354597","1327354600","1327354602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38e74cff6250e55ec64452b5154f0a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4795985315150419631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293093136,"filename":"image_08012025_00_36_03_023613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7cd2c1ac61887bb2f4ce18a0a007cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5401951283178369839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293093136,"filename":"image_08012025_00_35_02_781571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1845279b907a96deb029ed95126e813.jpg","text":"TemporaryFile(/tmp/multipartBody8270457094987100024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293093136,"filename":"image_08012025_00_36_03_023613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ef9ffc4c46b7f487f01240a1272c868.jpg","text":"TemporaryFile(/tmp/multipartBody6360926196882857337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293093136,"filename":"image_08012025_00_36_03_023613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354600","file1":"1327354597","file0":"1327354595","file3":"1327354602"},"map_files_photo_id_array":[{"photo_id":"1327354600","filename":"file2"},{"photo_id":"1327354597","filename":"file1"},{"photo_id":"1327354595","filename":"file0"},{"photo_id":"1327354602","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354602":["hashtag1","hashtag2"]},{"1327354595":["hashtag1","hashtag2"]},{"1327354597":["hashtag1","hashtag2"]},{"1327354600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354602, 1327354595, 1327354597, 1327354600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74777030944824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:37:52.014696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:38:02.553447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0003.jpg', '/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0000.jpg', '/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0001.jpg', '/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/36/image_08012025_00_36_03_023613_0003.jpg
/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0000.jpg
/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0001.jpg
/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354649","1327354651","1327354653","1327354647"],"photo_ids_order":["1327354647","1327354649","1327354651","1327354653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7736bfbc5c538b475d92c28f8f31d83b.jpg","text":"TemporaryFile(/tmp/multipartBody917322465984992803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293152834,"filename":"image_08012025_00_37_02_218742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af90434484600a5149d98512600898da.jpg","text":"TemporaryFile(/tmp/multipartBody4905493420380983966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293152834,"filename":"image_08012025_00_37_02_218742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57cc3b84c79b51806afecca647a6c51d.jpg","text":"TemporaryFile(/tmp/multipartBody8753260071746013420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293152834,"filename":"image_08012025_00_37_02_218742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/254022441f011e79f50048865ce80ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7042967649871598588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293152834,"filename":"image_08012025_00_36_03_023613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354651","file1":"1327354649","file0":"1327354647","file3":"1327354653"},"map_files_photo_id_array":[{"photo_id":"1327354651","filename":"file2"},{"photo_id":"1327354649","filename":"file1"},{"photo_id":"1327354647","filename":"file0"},{"photo_id":"1327354653","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354649":["hashtag1","hashtag2"]},{"1327354651":["hashtag1","hashtag2"]},{"1327354653":["hashtag1","hashtag2"]},{"1327354647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354649, 1327354651, 1327354653, 1327354647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.573736906051636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:38:52.212147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:39:03.149622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0003.jpg', '/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0000.jpg', '/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0001.jpg', '/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/37/image_08012025_00_37_02_218742_0003.jpg
/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0000.jpg
/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0001.jpg
/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354670","1327354657","1327354659","1327354668"],"photo_ids_order":["1327354657","1327354659","1327354668","1327354670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1b1424ad6740d859027a82537dc96eb.jpg","text":"TemporaryFile(/tmp/multipartBody1660285397117345620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293213570,"filename":"image_08012025_00_38_02_406796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/039f20e9cee57a324794d5fd869fa492.jpg","text":"TemporaryFile(/tmp/multipartBody688656443813776759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293213570,"filename":"image_08012025_00_37_02_218742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e0e1f90f426ebd577b1f1e797810c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2371936739765403051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293213570,"filename":"image_08012025_00_38_02_406796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/166d5aa26a9bd55db3d73d9d678fbea8.jpg","text":"TemporaryFile(/tmp/multipartBody3643968523719968546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293213570,"filename":"image_08012025_00_38_02_406796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354668","file1":"1327354659","file0":"1327354657","file3":"1327354670"},"map_files_photo_id_array":[{"photo_id":"1327354668","filename":"file2"},{"photo_id":"1327354659","filename":"file1"},{"photo_id":"1327354657","filename":"file0"},{"photo_id":"1327354670","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354670":["hashtag1","hashtag2"]},{"1327354657":["hashtag1","hashtag2"]},{"1327354659":["hashtag1","hashtag2"]},{"1327354668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354670, 1327354657, 1327354659, 1327354668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47248816490173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:39:52.365315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:40:02.975883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0003.jpg', '/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0000.jpg', '/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0001.jpg', '/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/38/image_08012025_00_38_02_406796_0003.jpg
/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0000.jpg
/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0001.jpg
/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354754","1327354751","1327354709","1327354711"],"photo_ids_order":["1327354709","1327354711","1327354751","1327354754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84113a5c11586cc96d9735e3e6c01448.jpg","text":"TemporaryFile(/tmp/multipartBody8385912302744612427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293273472,"filename":"image_08012025_00_39_02_632282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/139e3b6517df0b780077d8cef78b6051.jpg","text":"TemporaryFile(/tmp/multipartBody4663333377980378539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293273472,"filename":"image_08012025_00_39_02_632282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f197109217ac3cabee8acf25d2043bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6447868193496980065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293273472,"filename":"image_08012025_00_38_02_406796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cca6a5be6fbfcb6974f7d21ea3797fe.jpg","text":"TemporaryFile(/tmp/multipartBody7392972159082982152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293273472,"filename":"image_08012025_00_39_02_632282_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354751","file1":"1327354711","file0":"1327354709","file3":"1327354754"},"map_files_photo_id_array":[{"photo_id":"1327354751","filename":"file2"},{"photo_id":"1327354711","filename":"file1"},{"photo_id":"1327354709","filename":"file0"},{"photo_id":"1327354754","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354754":["hashtag1","hashtag2"]},{"1327354751":["hashtag1","hashtag2"]},{"1327354709":["hashtag1","hashtag2"]},{"1327354711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354754, 1327354751, 1327354709, 1327354711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.363685607910156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:40:52.635072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:41:02.391407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0003.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0000.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0001.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0003.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0000.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0001.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.165353059768677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:41:21.819812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0003.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0000.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0001.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0002.jpg', '/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0003.jpg', '/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/39/image_08012025_00_39_02_632282_0003.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0000.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0001.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0002.jpg
/home/pi/Desktop/images/08012025/00/40/image_08012025_00_40_02_770351_0003.jpg
/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354769","1327354771","1327354774","1327354768","1327354770","1327354767"],"photo_ids_order":["1327354767","1327354768","1327354769","1327354770","1327354771","1327354774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d4d2e077bbc5fc21c435ba1e4f57036.jpg","text":"TemporaryFile(/tmp/multipartBody6079104068020065065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_40_02_770351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73a81c397a8a79f39cb12f35da7617e0.jpg","text":"TemporaryFile(/tmp/multipartBody2576405603691802180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_40_02_770351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fdb3a424d98b896b88e4ab0c5d468eb.jpg","text":"TemporaryFile(/tmp/multipartBody6654664405887842636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_41_02_929988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a22bcb696b4639bed3ae383d4f6bfce2.jpg","text":"TemporaryFile(/tmp/multipartBody675943655826824730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_40_02_770351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efe5db4570beda44671f4ec791b4ba74.jpg","text":"TemporaryFile(/tmp/multipartBody527501164210963966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_40_02_770351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30b30adab1a128575f1734a9387b3754.jpg","text":"TemporaryFile(/tmp/multipartBody5630165574686918966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293357260,"filename":"image_08012025_00_39_02_632282_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354769","file1":"1327354768","file0":"1327354767","file4":"1327354771","file5":"1327354774","file3":"1327354770"},"map_files_photo_id_array":[{"photo_id":"1327354774","filename":"file5"},{"photo_id":"1327354769","filename":"file2"},{"photo_id":"1327354771","filename":"file4"},{"photo_id":"1327354768","filename":"file1"},{"photo_id":"1327354767","filename":"file0"},{"photo_id":"1327354770","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354769":["hashtag1","hashtag2"]},{"1327354771":["hashtag1","hashtag2"]},{"1327354774":["hashtag1","hashtag2"]},{"1327354768":["hashtag1","hashtag2"]},{"1327354770":["hashtag1","hashtag2"]},{"1327354767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354769, 1327354771, 1327354774, 1327354768, 1327354770, 1327354767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.81249189376831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:42:51.977116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:43:02.670930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0001.jpg', '/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0002.jpg', '/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0003.jpg', '/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0000.jpg', '/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0001.jpg', '/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0001.jpg
/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0002.jpg
/home/pi/Desktop/images/08012025/00/41/image_08012025_00_41_02_929988_0003.jpg
/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0000.jpg
/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0001.jpg
/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354787","1327354826","1327354789","1327354825","1327354797","1327354785"],"photo_ids_order":["1327354785","1327354787","1327354789","1327354797","1327354825","1327354826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3dcfd171cfbc197bec96fd1ef92b73c5.jpg","text":"TemporaryFile(/tmp/multipartBody4588141741170518305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_41_02_929988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfc64ed7a4371d62d98b059f4d9dab43.jpg","text":"TemporaryFile(/tmp/multipartBody177723002990870681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_42_02_202410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98b28d3044992c8831dd3decdd1264bf.jpg","text":"TemporaryFile(/tmp/multipartBody4573028081030376350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_41_02_929988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/250d20295105b537faf296acb45d1360.jpg","text":"TemporaryFile(/tmp/multipartBody3913962514408833796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_42_02_202410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3564208613350085e70698ca5cd65cb.jpg","text":"TemporaryFile(/tmp/multipartBody9040561046350759996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_42_02_202410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/431c93c144cfaf8e9baba9955d17f648.jpg","text":"TemporaryFile(/tmp/multipartBody5556363666463224409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293457963,"filename":"image_08012025_00_41_02_929988_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354789","file1":"1327354787","file0":"1327354785","file4":"1327354825","file5":"1327354826","file3":"1327354797"},"map_files_photo_id_array":[{"photo_id":"1327354826","filename":"file5"},{"photo_id":"1327354789","filename":"file2"},{"photo_id":"1327354825","filename":"file4"},{"photo_id":"1327354787","filename":"file1"},{"photo_id":"1327354785","filename":"file0"},{"photo_id":"1327354797","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354787":["hashtag1","hashtag2"]},{"1327354826":["hashtag1","hashtag2"]},{"1327354789":["hashtag1","hashtag2"]},{"1327354825":["hashtag1","hashtag2"]},{"1327354797":["hashtag1","hashtag2"]},{"1327354785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354787, 1327354826, 1327354789, 1327354825, 1327354797, 1327354785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89024639129639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:44:02.598209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0003.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0000.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0001.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0003.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0000.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0001.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.019796371459961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:44:22.326350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0003.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0000.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0001.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0002.jpg', '/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0003.jpg', '/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/42/image_08012025_00_42_02_202410_0003.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0000.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0001.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0002.jpg
/home/pi/Desktop/images/08012025/00/43/image_08012025_00_43_02_365009_0003.jpg
/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_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":["1327354856","1327354859","1327354844","1327354852","1327354846","1327354848"],"photo_ids_order":["1327354844","1327354846","1327354848","1327354852","1327354856","1327354859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/acdfeee2847f859c096a5b30db1b48dc.jpg","text":"TemporaryFile(/tmp/multipartBody5760815939543949459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_43_02_365009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d092486571f01fadeb93ff26f51483a8.jpg","text":"TemporaryFile(/tmp/multipartBody1047587044913995123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_44_02_541203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a544f4200c1cb7e276a8e25403a58d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5134206710467931392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_42_02_202410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3aafb4a0cf4eb6620c738a491cceeaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8812022646459208976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_43_02_365009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c11de706ecc3c5152097161de295e34.jpg","text":"TemporaryFile(/tmp/multipartBody7036521671328324577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_43_02_365009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef68bc1691eb389b62edbd3217ce13d3.jpg","text":"TemporaryFile(/tmp/multipartBody8058954044410686577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293537584,"filename":"image_08012025_00_43_02_365009_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354848","file1":"1327354846","file0":"1327354844","file4":"1327354856","file5":"1327354859","file3":"1327354852"},"map_files_photo_id_array":[{"photo_id":"1327354859","filename":"file5"},{"photo_id":"1327354848","filename":"file2"},{"photo_id":"1327354856","filename":"file4"},{"photo_id":"1327354846","filename":"file1"},{"photo_id":"1327354844","filename":"file0"},{"photo_id":"1327354852","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354856":["hashtag1","hashtag2"]},{"1327354859":["hashtag1","hashtag2"]},{"1327354844":["hashtag1","hashtag2"]},{"1327354852":["hashtag1","hashtag2"]},{"1327354846":["hashtag1","hashtag2"]},{"1327354848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354856, 1327354859, 1327354844, 1327354852, 1327354846, 1327354848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.65076780319214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:45:22.480022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0001.jpg', '/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0002.jpg', '/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0003.jpg', '/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0000.jpg', '/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0001.jpg', '/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0001.jpg
/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0002.jpg
/home/pi/Desktop/images/08012025/00/44/image_08012025_00_44_02_541203_0003.jpg
/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0000.jpg
/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0001.jpg
/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354871","1327354894","1327354879","1327354867","1327354881","1327354869"],"photo_ids_order":["1327354867","1327354869","1327354871","1327354879","1327354881","1327354894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71a702dfc2eb30cbb9c3c3331aeda2aa.jpg","text":"TemporaryFile(/tmp/multipartBody2859211732266131456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_44_02_541203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/654494152e7a01fbfc160303bcae9665.jpg","text":"TemporaryFile(/tmp/multipartBody8273498071180455037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_45_02_708936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d744357af3bd641433d06db231926d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6568133412027072058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_45_02_708936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f3b3a44b4706b9fedfeab6dc15cd1f2.jpg","text":"TemporaryFile(/tmp/multipartBody7754022677427767232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_44_02_541203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bf7ed078a626402d78181e81c855ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7888669570633308510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_45_02_708936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecc530b0fbcd452cb933880861f3a972.jpg","text":"TemporaryFile(/tmp/multipartBody2895374215908632546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293597876,"filename":"image_08012025_00_44_02_541203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354871","file1":"1327354869","file0":"1327354867","file4":"1327354881","file5":"1327354894","file3":"1327354879"},"map_files_photo_id_array":[{"photo_id":"1327354894","filename":"file5"},{"photo_id":"1327354871","filename":"file2"},{"photo_id":"1327354881","filename":"file4"},{"photo_id":"1327354869","filename":"file1"},{"photo_id":"1327354867","filename":"file0"},{"photo_id":"1327354879","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354871":["hashtag1","hashtag2"]},{"1327354894":["hashtag1","hashtag2"]},{"1327354879":["hashtag1","hashtag2"]},{"1327354867":["hashtag1","hashtag2"]},{"1327354881":["hashtag1","hashtag2"]},{"1327354869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354871, 1327354894, 1327354879, 1327354867, 1327354881, 1327354869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97949457168579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:46:22.658236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0003.jpg', '/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0000.jpg', '/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0001.jpg', '/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/45/image_08012025_00_45_02_708936_0003.jpg
/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0000.jpg
/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0001.jpg
/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354943","1327354910","1327354945","1327354944"],"photo_ids_order":["1327354910","1327354943","1327354944","1327354945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e5f875302695ac60de6305f5f7d4628.jpg","text":"TemporaryFile(/tmp/multipartBody7714430113005517976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293653003,"filename":"image_08012025_00_46_02_884163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2acd27b37be1d0ec530b398140c78556.jpg","text":"TemporaryFile(/tmp/multipartBody5198133802433238268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293653003,"filename":"image_08012025_00_45_02_708936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8597ee02769d47bc99dcd23a577614a.jpg","text":"TemporaryFile(/tmp/multipartBody1757361801539248689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293653003,"filename":"image_08012025_00_46_02_884163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee62e9c69ca168edceec31e25e45abbf.jpg","text":"TemporaryFile(/tmp/multipartBody7273708536581317007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293653003,"filename":"image_08012025_00_46_02_884163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354944","file1":"1327354943","file0":"1327354910","file3":"1327354945"},"map_files_photo_id_array":[{"photo_id":"1327354944","filename":"file2"},{"photo_id":"1327354943","filename":"file1"},{"photo_id":"1327354910","filename":"file0"},{"photo_id":"1327354945","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354943":["hashtag1","hashtag2"]},{"1327354910":["hashtag1","hashtag2"]},{"1327354945":["hashtag1","hashtag2"]},{"1327354944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354943, 1327354910, 1327354945, 1327354944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.294657707214355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 00:47:21.778415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0003.jpg', '/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0000.jpg', '/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0001.jpg', '/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/46/image_08012025_00_46_02_884163_0003.jpg
/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0000.jpg
/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0001.jpg
/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327354964","1327354976","1327354960","1327354966"],"photo_ids_order":["1327354960","1327354964","1327354966","1327354976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3826d486e402922452a23058ab563f3d.jpg","text":"TemporaryFile(/tmp/multipartBody1716599498769210941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293712171,"filename":"image_08012025_00_47_03_042753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0217847b08c2eb299dde88156a498330.jpg","text":"TemporaryFile(/tmp/multipartBody6038517165257824928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293712171,"filename":"image_08012025_00_47_03_042753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd8c06b3fe5bf4b58a12267855759124.jpg","text":"TemporaryFile(/tmp/multipartBody800762522540686994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293712171,"filename":"image_08012025_00_46_02_884163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0433cf043fc4f4f186fa2d4c80ef8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody559879508582173348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293712171,"filename":"image_08012025_00_47_03_042753_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327354966","file1":"1327354964","file0":"1327354960","file3":"1327354976"},"map_files_photo_id_array":[{"photo_id":"1327354966","filename":"file2"},{"photo_id":"1327354964","filename":"file1"},{"photo_id":"1327354960","filename":"file0"},{"photo_id":"1327354976","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327354964":["hashtag1","hashtag2"]},{"1327354976":["hashtag1","hashtag2"]},{"1327354960":["hashtag1","hashtag2"]},{"1327354966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327354964, 1327354976, 1327354960, 1327354966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69560503959656 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-08 00:48:22.035977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0003.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0000.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0001.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0003.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0000.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0001.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.974802732467651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:48:52.013460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:49:02.774722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0003.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0000.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0001.jpg', '/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/47/image_08012025_00_47_03_042753_0003.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0000.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0001.jpg
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355168","1327355161","1327355166","1327355163"],"photo_ids_order":["1327355161","1327355163","1327355166","1327355168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/726e62634660963f0d5835acc6a24f72.jpg","text":"TemporaryFile(/tmp/multipartBody5086806224223086026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293813230,"filename":"image_08012025_00_48_02_283081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6818fe5e9ae84d2747ade4992a194ba.jpg","text":"TemporaryFile(/tmp/multipartBody4993045109770534186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293813230,"filename":"image_08012025_00_47_03_042753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0649760b13847cdd1bbc629094d996c8.jpg","text":"TemporaryFile(/tmp/multipartBody4285393634760430515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293813230,"filename":"image_08012025_00_48_02_283081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60d4982037392663e7e8badb20a27841.jpg","text":"TemporaryFile(/tmp/multipartBody2926763592848095526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293813230,"filename":"image_08012025_00_48_02_283081_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355166","file1":"1327355163","file0":"1327355161","file3":"1327355168"},"map_files_photo_id_array":[{"photo_id":"1327355166","filename":"file2"},{"photo_id":"1327355163","filename":"file1"},{"photo_id":"1327355161","filename":"file0"},{"photo_id":"1327355168","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355168":["hashtag1","hashtag2"]},{"1327355161":["hashtag1","hashtag2"]},{"1327355166":["hashtag1","hashtag2"]},{"1327355163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355168, 1327355161, 1327355166, 1327355163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95734262466431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:49:52.194390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:50:02.819659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0003.jpg', '/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0000.jpg', '/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0001.jpg', '/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/48/image_08012025_00_48_02_283081_0003.jpg
/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0000.jpg
/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0001.jpg
/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355225","1327355182","1327355223","1327355180"],"photo_ids_order":["1327355180","1327355182","1327355223","1327355225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb77efe63812193f0cd72009f402e931.jpg","text":"TemporaryFile(/tmp/multipartBody3633707761507822585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293873162,"filename":"image_08012025_00_49_02_414320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1f0c01c2ac8b0a32d4fc93cff4fd9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8348857329036833316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293873162,"filename":"image_08012025_00_49_02_414320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d3ad2316286a2fe6b440047f5ab939c.jpg","text":"TemporaryFile(/tmp/multipartBody1095577908025938907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293873162,"filename":"image_08012025_00_49_02_414320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c2cc572436afc9a2eee8cc129951686.jpg","text":"TemporaryFile(/tmp/multipartBody3682604709008287761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293873162,"filename":"image_08012025_00_48_02_283081_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355223","file1":"1327355182","file0":"1327355180","file3":"1327355225"},"map_files_photo_id_array":[{"photo_id":"1327355223","filename":"file2"},{"photo_id":"1327355182","filename":"file1"},{"photo_id":"1327355180","filename":"file0"},{"photo_id":"1327355225","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355225":["hashtag1","hashtag2"]},{"1327355182":["hashtag1","hashtag2"]},{"1327355223":["hashtag1","hashtag2"]},{"1327355180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355225, 1327355182, 1327355223, 1327355180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83346915245056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:50:52.381074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:51:03.298959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0003.jpg', '/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0000.jpg', '/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0001.jpg', '/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/49/image_08012025_00_49_02_414320_0003.jpg
/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0000.jpg
/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0001.jpg
/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355234","1327355228","1327355230","1327355232"],"photo_ids_order":["1327355228","1327355230","1327355232","1327355234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dadce8a07d0dada0a9981d1fecd7c55.jpg","text":"TemporaryFile(/tmp/multipartBody2020857128733510534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293933560,"filename":"image_08012025_00_50_02_664155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaeb68141d7001f86ce8e2fe140f0000.jpg","text":"TemporaryFile(/tmp/multipartBody2686947571268089142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293933560,"filename":"image_08012025_00_49_02_414320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5a61d2085eba0c6fc79663604c81c21.jpg","text":"TemporaryFile(/tmp/multipartBody2876663174533145630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293933560,"filename":"image_08012025_00_50_02_664155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf26ce3b53490d40d063611537efee67.jpg","text":"TemporaryFile(/tmp/multipartBody3685475906397456920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293933560,"filename":"image_08012025_00_50_02_664155_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355232","file1":"1327355230","file0":"1327355228","file3":"1327355234"},"map_files_photo_id_array":[{"photo_id":"1327355232","filename":"file2"},{"photo_id":"1327355230","filename":"file1"},{"photo_id":"1327355228","filename":"file0"},{"photo_id":"1327355234","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355234":["hashtag1","hashtag2"]},{"1327355228":["hashtag1","hashtag2"]},{"1327355230":["hashtag1","hashtag2"]},{"1327355232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355234, 1327355228, 1327355230, 1327355232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.996188163757324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:51:52.635001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:52:02.297429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0003.jpg', '/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0000.jpg', '/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0001.jpg', '/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/50/image_08012025_00_50_02_664155_0003.jpg
/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0000.jpg
/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0001.jpg
/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355248","1327355242","1327355251","1327355245"],"photo_ids_order":["1327355242","1327355245","1327355248","1327355251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8eae3a694a05887343b2ccecddc9e114.jpg","text":"TemporaryFile(/tmp/multipartBody8619868974405104845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293992632,"filename":"image_08012025_00_51_02_768050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e9542d98bc0a92af90522cc706509f6.jpg","text":"TemporaryFile(/tmp/multipartBody5160562263409748571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293992632,"filename":"image_08012025_00_50_02_664155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0dc402b12842754bef0839e50c145534.jpg","text":"TemporaryFile(/tmp/multipartBody3763712149265095876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293992632,"filename":"image_08012025_00_51_02_768050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/184d935e2a7b20bba57ee09b4488f5da.jpg","text":"TemporaryFile(/tmp/multipartBody8825085935021570048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736293992632,"filename":"image_08012025_00_51_02_768050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355248","file1":"1327355245","file0":"1327355242","file3":"1327355251"},"map_files_photo_id_array":[{"photo_id":"1327355248","filename":"file2"},{"photo_id":"1327355245","filename":"file1"},{"photo_id":"1327355242","filename":"file0"},{"photo_id":"1327355251","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355248":["hashtag1","hashtag2"]},{"1327355242":["hashtag1","hashtag2"]},{"1327355251":["hashtag1","hashtag2"]},{"1327355245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355248, 1327355242, 1327355251, 1327355245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6418616771698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:52:51.839574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:53:02.654949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0003.jpg', '/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0000.jpg', '/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0001.jpg', '/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/51/image_08012025_00_51_02_768050_0003.jpg
/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0000.jpg
/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0001.jpg
/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355330","1327355312","1327355317","1327355314"],"photo_ids_order":["1327355312","1327355314","1327355317","1327355330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbc524ec0f34c31d68d5141adad7dd64.jpg","text":"TemporaryFile(/tmp/multipartBody4687057525638340709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294053037,"filename":"image_08012025_00_52_02_937557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7b4763a68870493700181efde3630d2.jpg","text":"TemporaryFile(/tmp/multipartBody2884627647778063684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294053037,"filename":"image_08012025_00_51_02_768050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2cfb0deddafa7d84068fd4ce714c26c7.jpg","text":"TemporaryFile(/tmp/multipartBody4037124669410713720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294053037,"filename":"image_08012025_00_52_02_937557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e417cb9b4d11a153466ddf7a9d31b462.jpg","text":"TemporaryFile(/tmp/multipartBody7839293529981037012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294053037,"filename":"image_08012025_00_52_02_937557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355317","file1":"1327355314","file0":"1327355312","file3":"1327355330"},"map_files_photo_id_array":[{"photo_id":"1327355317","filename":"file2"},{"photo_id":"1327355314","filename":"file1"},{"photo_id":"1327355312","filename":"file0"},{"photo_id":"1327355330","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355330":["hashtag1","hashtag2"]},{"1327355312":["hashtag1","hashtag2"]},{"1327355317":["hashtag1","hashtag2"]},{"1327355314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355330, 1327355312, 1327355317, 1327355314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.360169649124146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:53:52.012768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:54:02.738548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0003.jpg', '/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0000.jpg', '/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0001.jpg', '/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/52/image_08012025_00_52_02_937557_0003.jpg
/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0000.jpg
/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0001.jpg
/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355363","1327355366","1327355358","1327355360"],"photo_ids_order":["1327355358","1327355360","1327355363","1327355366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb593133ba29a7c7d64464383d543a25.jpg","text":"TemporaryFile(/tmp/multipartBody7074112113316322040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294113043,"filename":"image_08012025_00_53_02_201503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b792ea74dcac2e15db391d07d5d36f1.jpg","text":"TemporaryFile(/tmp/multipartBody6446473969261882303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294113043,"filename":"image_08012025_00_53_02_201503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9ac59ed20fa7c43d57e57cb0c018f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5633021909541272673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294113043,"filename":"image_08012025_00_52_02_937557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/641b64a4be255b93f8641fb592e30d88.jpg","text":"TemporaryFile(/tmp/multipartBody4299753246017228897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294113043,"filename":"image_08012025_00_53_02_201503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355363","file1":"1327355360","file0":"1327355358","file3":"1327355366"},"map_files_photo_id_array":[{"photo_id":"1327355363","filename":"file2"},{"photo_id":"1327355360","filename":"file1"},{"photo_id":"1327355358","filename":"file0"},{"photo_id":"1327355366","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355363":["hashtag1","hashtag2"]},{"1327355366":["hashtag1","hashtag2"]},{"1327355358":["hashtag1","hashtag2"]},{"1327355360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355363, 1327355366, 1327355358, 1327355360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.594685316085815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:54:52.197329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:55:03.071869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0003.jpg', '/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0000.jpg', '/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0001.jpg', '/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/53/image_08012025_00_53_02_201503_0003.jpg
/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0000.jpg
/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0001.jpg
/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355377","1327355379","1327355373","1327355375"],"photo_ids_order":["1327355373","1327355375","1327355377","1327355379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0187710b5b662640d342d68e1295ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody9115371825591988320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294173311,"filename":"image_08012025_00_54_02_389758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b8600441db841f0239ddff9ec350944.jpg","text":"TemporaryFile(/tmp/multipartBody3856632388988079282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294173311,"filename":"image_08012025_00_54_02_389758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8740ed27c179d656d82949f44ab5bc68.jpg","text":"TemporaryFile(/tmp/multipartBody3151847021838485007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294173311,"filename":"image_08012025_00_53_02_201503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/608c004d1e9bb8ac39a59ce476d36ffd.jpg","text":"TemporaryFile(/tmp/multipartBody2743675949609596431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294173311,"filename":"image_08012025_00_54_02_389758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355377","file1":"1327355375","file0":"1327355373","file3":"1327355379"},"map_files_photo_id_array":[{"photo_id":"1327355377","filename":"file2"},{"photo_id":"1327355375","filename":"file1"},{"photo_id":"1327355373","filename":"file0"},{"photo_id":"1327355379","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355377":["hashtag1","hashtag2"]},{"1327355379":["hashtag1","hashtag2"]},{"1327355373":["hashtag1","hashtag2"]},{"1327355375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355377, 1327355379, 1327355373, 1327355375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56174659729004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:55:52.375332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:56:02.981155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0003.jpg', '/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0000.jpg', '/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0001.jpg', '/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/54/image_08012025_00_54_02_389758_0003.jpg
/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0000.jpg
/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0001.jpg
/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355420","1327355414","1327355422","1327355416"],"photo_ids_order":["1327355414","1327355416","1327355420","1327355422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/085b2e09797352ead0690ba8d50ebdee.jpg","text":"TemporaryFile(/tmp/multipartBody3681401108711340233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294233293,"filename":"image_08012025_00_55_02_624039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7665212e9cb5750de635e85ae2e9c21b.jpg","text":"TemporaryFile(/tmp/multipartBody8124100290874636487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294233293,"filename":"image_08012025_00_54_02_389758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/370b26f4c2245200fbe5d14bd8076a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8226186002492818794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294233293,"filename":"image_08012025_00_55_02_624039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/315f695df384c7c0bc22f5cb3aa68ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2511162891810760782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294233293,"filename":"image_08012025_00_55_02_624039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355420","file1":"1327355416","file0":"1327355414","file3":"1327355422"},"map_files_photo_id_array":[{"photo_id":"1327355420","filename":"file2"},{"photo_id":"1327355416","filename":"file1"},{"photo_id":"1327355414","filename":"file0"},{"photo_id":"1327355422","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355420":["hashtag1","hashtag2"]},{"1327355414":["hashtag1","hashtag2"]},{"1327355422":["hashtag1","hashtag2"]},{"1327355416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355420, 1327355414, 1327355422, 1327355416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40008592605591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:56:52.557865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:57:03.405876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0003.jpg', '/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0000.jpg', '/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0001.jpg', '/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/55/image_08012025_00_55_02_624039_0003.jpg
/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0000.jpg
/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0001.jpg
/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355477","1327355482","1327355479","1327355484"],"photo_ids_order":["1327355477","1327355479","1327355482","1327355484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db2fea4906f2a135ce324cf48e9b5973.jpg","text":"TemporaryFile(/tmp/multipartBody491527451678571682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294293736,"filename":"image_08012025_00_55_02_624039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc05dd605f41d6a3f959c2103ce3735e.jpg","text":"TemporaryFile(/tmp/multipartBody5238087645815319934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294293736,"filename":"image_08012025_00_56_02_794184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abe8fae0dd92a956587efe6e40d59c19.jpg","text":"TemporaryFile(/tmp/multipartBody6457687997611968849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294293736,"filename":"image_08012025_00_56_02_794184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f88f5560e3a1dbe469fd9b7c7a96cf65.jpg","text":"TemporaryFile(/tmp/multipartBody7191116427529785174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294293736,"filename":"image_08012025_00_56_02_794184_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355482","file1":"1327355479","file0":"1327355477","file3":"1327355484"},"map_files_photo_id_array":[{"photo_id":"1327355482","filename":"file2"},{"photo_id":"1327355479","filename":"file1"},{"photo_id":"1327355477","filename":"file0"},{"photo_id":"1327355484","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355477":["hashtag1","hashtag2"]},{"1327355482":["hashtag1","hashtag2"]},{"1327355479":["hashtag1","hashtag2"]},{"1327355484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355477, 1327355482, 1327355479, 1327355484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8631854057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-08 00:57:52.753679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 00:59:02.755181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0003.jpg', '/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0000.jpg', '/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0001.jpg', '/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0002.jpg', '/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0003.jpg', '/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/56/image_08012025_00_56_02_794184_0003.jpg
/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0000.jpg
/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0001.jpg
/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0002.jpg
/home/pi/Desktop/images/08012025/00/57/image_08012025_00_57_02_874193_0003.jpg
/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355561","1327355555","1327355546","1327355551","1327355562","1327355559"],"photo_ids_order":["1327355546","1327355551","1327355555","1327355559","1327355561","1327355562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64b8d364cbd1672220000a2c1e2e046a.jpg","text":"TemporaryFile(/tmp/multipartBody7272518044798563761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_57_02_874193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dfae6961eb6b1f10f1a6ba8bbf72e7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8445779826351291427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_57_02_874193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1fed0f309657a18f7d54236bb1f29de0.jpg","text":"TemporaryFile(/tmp/multipartBody4823426173464534106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_56_02_794184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/129cd47cd1acf85d89e5db221749a540.jpg","text":"TemporaryFile(/tmp/multipartBody2307384453111372624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_57_02_874193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c020e29d0471b49c83f1735e6b3a1da0.jpg","text":"TemporaryFile(/tmp/multipartBody4559349801732631488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_58_03_090308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72ba8af955ffe54a1396e21dff632a4a.jpg","text":"TemporaryFile(/tmp/multipartBody934993935741019717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294417788,"filename":"image_08012025_00_57_02_874193_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355555","file1":"1327355551","file0":"1327355546","file4":"1327355561","file5":"1327355562","file3":"1327355559"},"map_files_photo_id_array":[{"photo_id":"1327355562","filename":"file5"},{"photo_id":"1327355555","filename":"file2"},{"photo_id":"1327355561","filename":"file4"},{"photo_id":"1327355551","filename":"file1"},{"photo_id":"1327355546","filename":"file0"},{"photo_id":"1327355559","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355561":["hashtag1","hashtag2"]},{"1327355555":["hashtag1","hashtag2"]},{"1327355546":["hashtag1","hashtag2"]},{"1327355551":["hashtag1","hashtag2"]},{"1327355562":["hashtag1","hashtag2"]},{"1327355559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355561, 1327355555, 1327355546, 1327355551, 1327355562, 1327355559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.677736043930054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:00:02.218136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0001.jpg', '/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0002.jpg', '/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0003.jpg', '/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0000.jpg', '/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0001.jpg', '/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0001.jpg
/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0002.jpg
/home/pi/Desktop/images/08012025/00/58/image_08012025_00_58_03_090308_0003.jpg
/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0000.jpg
/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0001.jpg
/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355582","1327355627","1327355716","1327355574","1327355577","1327355712"],"photo_ids_order":["1327355574","1327355577","1327355582","1327355627","1327355712","1327355716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a5607e0cd259f056c2f1499915b39d9.jpg","text":"TemporaryFile(/tmp/multipartBody4175303129550752022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_58_03_090308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1aa53ab2b3a82e4035c3c513f871eab1.jpg","text":"TemporaryFile(/tmp/multipartBody5520330766018156116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_59_02_271895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82475232a70419726ec63dde52fea010.jpg","text":"TemporaryFile(/tmp/multipartBody7797690901419188523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_59_02_271895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf1ecfb089817929061665ef372ea459.jpg","text":"TemporaryFile(/tmp/multipartBody1794422588726078903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_58_03_090308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc4b003219820ab7357042167f347853.jpg","text":"TemporaryFile(/tmp/multipartBody3248444572907899559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_58_03_090308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbabbec4a861156aa04fffc0c8029613.jpg","text":"TemporaryFile(/tmp/multipartBody3069127811597625971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294477151,"filename":"image_08012025_00_59_02_271895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327355582","file1":"1327355577","file0":"1327355574","file4":"1327355712","file5":"1327355716","file3":"1327355627"},"map_files_photo_id_array":[{"photo_id":"1327355716","filename":"file5"},{"photo_id":"1327355582","filename":"file2"},{"photo_id":"1327355712","filename":"file4"},{"photo_id":"1327355577","filename":"file1"},{"photo_id":"1327355574","filename":"file0"},{"photo_id":"1327355627","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355582":["hashtag1","hashtag2"]},{"1327355627":["hashtag1","hashtag2"]},{"1327355716":["hashtag1","hashtag2"]},{"1327355574":["hashtag1","hashtag2"]},{"1327355577":["hashtag1","hashtag2"]},{"1327355712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355582, 1327355627, 1327355716, 1327355574, 1327355577, 1327355712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86023783683777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:01:02.948179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0003.jpg', '/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0000.jpg', '/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0001.jpg', '/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/00/59/image_08012025_00_59_02_271895_0003.jpg
/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0000.jpg
/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0001.jpg
/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327355753","1327355842","1327356120","1327356344"],"photo_ids_order":["1327355753","1327355842","1327356120","1327356344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d32ea0d6903e7cd89e5b8ad9776d9626.jpg","text":"TemporaryFile(/tmp/multipartBody5199084697274513699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294533411,"filename":"image_08012025_00_59_02_271895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49ab8ec54e60fc913c8a1638fe120c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6073754349877250018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294533411,"filename":"image_08012025_01_00_02_544535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c6d2f2cf0957c5bc7b8c01a9b46d857.jpg","text":"TemporaryFile(/tmp/multipartBody37471828879367268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294533411,"filename":"image_08012025_01_00_02_544535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59e9717f73270f0e38aa80935621a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody2378938238003909176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294533411,"filename":"image_08012025_01_00_02_544535_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327356120","file1":"1327355842","file0":"1327355753","file3":"1327356344"},"map_files_photo_id_array":[{"photo_id":"1327356120","filename":"file2"},{"photo_id":"1327355842","filename":"file1"},{"photo_id":"1327355753","filename":"file0"},{"photo_id":"1327356344","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327355753":["hashtag1","hashtag2"]},{"1327355842":["hashtag1","hashtag2"]},{"1327356120":["hashtag1","hashtag2"]},{"1327356344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327355753, 1327355842, 1327356120, 1327356344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.256733655929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:02:02.394365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0003.jpg', '/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0000.jpg', '/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0003.jpg
/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0000.jpg
/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.445014953613281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:02:21.958985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0003.jpg', '/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0000.jpg', '/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0002.jpg', '/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0003.jpg', '/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0000.jpg', '/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/00/image_08012025_01_00_02_544535_0003.jpg
/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0000.jpg
/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0002.jpg
/home/pi/Desktop/images/08012025/01/01/image_08012025_01_01_02_233833_0003.jpg
/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0000.jpg
/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327356865","1327357071","1327356861","1327356891","1327356867","1327356863"],"photo_ids_order":["1327356861","1327356863","1327356865","1327356867","1327356891","1327357071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f741abce156e8ca6a41866b8e40324c8.jpg","text":"TemporaryFile(/tmp/multipartBody8724239424703553543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_01_02_233833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd51ea2862e9f5e889b075cfefbfa354.jpg","text":"TemporaryFile(/tmp/multipartBody3132416026973158108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_02_02_761735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7671adbbd1d8618b96a7ff941e98f59b.jpg","text":"TemporaryFile(/tmp/multipartBody8623577731701558894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_00_02_544535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ca5d2be09bd8c3317c683395ef766a2.jpg","text":"TemporaryFile(/tmp/multipartBody647746690107786361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_02_02_761735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6e73c844b22244389239cc2176b491b.jpg","text":"TemporaryFile(/tmp/multipartBody6884869428717003020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_01_02_233833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c61f84456b339e887cc546d91be6ee00.jpg","text":"TemporaryFile(/tmp/multipartBody8683528199019776332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294616911,"filename":"image_08012025_01_01_02_233833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327356865","file1":"1327356863","file0":"1327356861","file4":"1327356891","file5":"1327357071","file3":"1327356867"},"map_files_photo_id_array":[{"photo_id":"1327357071","filename":"file5"},{"photo_id":"1327356865","filename":"file2"},{"photo_id":"1327356891","filename":"file4"},{"photo_id":"1327356863","filename":"file1"},{"photo_id":"1327356861","filename":"file0"},{"photo_id":"1327356867","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327356865":["hashtag1","hashtag2"]},{"1327357071":["hashtag1","hashtag2"]},{"1327356861":["hashtag1","hashtag2"]},{"1327356891":["hashtag1","hashtag2"]},{"1327356867":["hashtag1","hashtag2"]},{"1327356863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327356865, 1327357071, 1327356861, 1327356891, 1327356867, 1327356863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.766124963760376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:03:22.595871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0002.jpg', '/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0003.jpg', '/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0000.jpg', '/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0002.jpg
/home/pi/Desktop/images/08012025/01/02/image_08012025_01_02_02_761735_0003.jpg
/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0000.jpg
/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327357290","1327357293","1327357281","1327357307"],"photo_ids_order":["1327357281","1327357290","1327357293","1327357307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f409a5fee12fc331354f30866316993.jpg","text":"TemporaryFile(/tmp/multipartBody5128893626325535283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294672785,"filename":"image_08012025_01_02_02_761735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/467092fc9b3ac9defdc753fd309df4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6847927121029071921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294672785,"filename":"image_08012025_01_03_02_404053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7deddda1b2810c1b1524612f50e85080.jpg","text":"TemporaryFile(/tmp/multipartBody7529171661589303518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294672785,"filename":"image_08012025_01_02_02_761735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/128534b00e205577efc386f3cb47db19.jpg","text":"TemporaryFile(/tmp/multipartBody8399884731569911474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294672785,"filename":"image_08012025_01_03_02_404053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327357293","file1":"1327357290","file0":"1327357281","file3":"1327357307"},"map_files_photo_id_array":[{"photo_id":"1327357293","filename":"file2"},{"photo_id":"1327357290","filename":"file1"},{"photo_id":"1327357281","filename":"file0"},{"photo_id":"1327357307","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327357290":["hashtag1","hashtag2"]},{"1327357293":["hashtag1","hashtag2"]},{"1327357281":["hashtag1","hashtag2"]},{"1327357307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327357290, 1327357293, 1327357281, 1327357307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.231786012649536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:04:22.090624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0003.jpg', '/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0000.jpg', '/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/03/image_08012025_01_03_02_404053_0003.jpg
/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0000.jpg
/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327357321","1327357353","1327357356"],"photo_ids_order":["1327357321","1327357353","1327357356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d542dd1d5dd17542929a93b2a9929661.jpg","text":"TemporaryFile(/tmp/multipartBody2369073851227921913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294729888,"filename":"image_08012025_01_03_02_404053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce7bff18f568afc07b71a97921b9148b.jpg","text":"TemporaryFile(/tmp/multipartBody4215327588157890801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294729888,"filename":"image_08012025_01_04_02_948076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c5165f47e0b75bd9145a5e8f7a33eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3930840441635950742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294729888,"filename":"image_08012025_01_04_02_948076_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327357356","file1":"1327357353","file0":"1327357321"},"map_files_photo_id_array":[{"photo_id":"1327357356","filename":"file2"},{"photo_id":"1327357353","filename":"file1"},{"photo_id":"1327357321","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327357321":["hashtag1","hashtag2"]},{"1327357353":["hashtag1","hashtag2"]},{"1327357356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327357321, 1327357353, 1327357356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.7690212726593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:05:03.053774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:05:22.552376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0003.jpg', '/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0000.jpg', '/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/04/image_08012025_01_04_02_948076_0003.jpg
/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0000.jpg
/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327358373","1327358375","1327358371"],"photo_ids_order":["1327358371","1327358373","1327358375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cb536f2b846540241b16929cdaf78f0.jpg","text":"TemporaryFile(/tmp/multipartBody4821204194918379188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294790344,"filename":"image_08012025_01_05_02_473124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef4374f4b12f375891ecbfb87f63e55e.jpg","text":"TemporaryFile(/tmp/multipartBody1290266722495486815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294790344,"filename":"image_08012025_01_05_02_473124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/232c129685b50f62526de1d8df7a7597.jpg","text":"TemporaryFile(/tmp/multipartBody5400467647035321259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294790344,"filename":"image_08012025_01_04_02_948076_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327358375","file1":"1327358373","file0":"1327358371"},"map_files_photo_id_array":[{"photo_id":"1327358375","filename":"file2"},{"photo_id":"1327358373","filename":"file1"},{"photo_id":"1327358371","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327358373":["hashtag1","hashtag2"]},{"1327358375":["hashtag1","hashtag2"]},{"1327358371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327358373, 1327358375, 1327358371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.47694945335388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:06:02.614821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:06:22.234612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0003.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0000.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0001.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0003.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0000.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0001.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.776961326599121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:07:02.418052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0003.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0000.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0001.jpg', '/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/05/image_08012025_01_05_02_473124_0003.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0000.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0001.jpg
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327360170","1327359656","1327360496","1327359967"],"photo_ids_order":["1327359656","1327359967","1327360170","1327360496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0353cba1c1958eb9dc064e0947b09e9e.jpg","text":"TemporaryFile(/tmp/multipartBody1257862138968617713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294892654,"filename":"image_08012025_01_06_02_945125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6905ae0d661a6abd7e6a976249bf8d12.jpg","text":"TemporaryFile(/tmp/multipartBody4807489890951753403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294892654,"filename":"image_08012025_01_05_02_473124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40ac25b1a012716129e02ce4b2469f9b.jpg","text":"TemporaryFile(/tmp/multipartBody5499770791273778826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294892654,"filename":"image_08012025_01_06_02_945125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b5324f6de8d7634e8ae8017a9cc2c26.jpg","text":"TemporaryFile(/tmp/multipartBody793524643656865848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294892654,"filename":"image_08012025_01_06_02_945125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327360170","file1":"1327359967","file0":"1327359656","file3":"1327360496"},"map_files_photo_id_array":[{"photo_id":"1327360170","filename":"file2"},{"photo_id":"1327359967","filename":"file1"},{"photo_id":"1327359656","filename":"file0"},{"photo_id":"1327360496","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327360170":["hashtag1","hashtag2"]},{"1327359656":["hashtag1","hashtag2"]},{"1327360496":["hashtag1","hashtag2"]},{"1327359967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327360170, 1327359656, 1327360496, 1327359967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3290901184082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:08:02.959510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0003.jpg', '/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0000.jpg', '/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0003.jpg
/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0000.jpg
/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.406840562820435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:08:22.495100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0003.jpg', '/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0000.jpg', '/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0002.jpg', '/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0003.jpg', '/home/pi/Desktop/images/08012025/01/08/image_08012025_01_08_02_248874_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/06/image_08012025_01_06_02_945125_0003.jpg
/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0000.jpg
/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0002.jpg
/home/pi/Desktop/images/08012025/01/07/image_08012025_01_07_02_655047_0003.jpg
/home/pi/Desktop/images/08012025/01/08/image_08012025_01_08_02_248874_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327360689","1327360685","1327360696","1327360687","1327360930"],"photo_ids_order":["1327360685","1327360687","1327360689","1327360696","1327360930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/66de4f605da390e7de4b03d5da664644.jpg","text":"TemporaryFile(/tmp/multipartBody6058941079912162459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294975028,"filename":"image_08012025_01_07_02_655047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d7e8651d007a68140f59427bf6618a6.jpg","text":"TemporaryFile(/tmp/multipartBody44268725199349178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294975028,"filename":"image_08012025_01_06_02_945125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a756aa5efe57ad471d4be401085d80b3.jpg","text":"TemporaryFile(/tmp/multipartBody1969207314998486948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294975028,"filename":"image_08012025_01_07_02_655047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d799235e9b7804118314b192590820b4.jpg","text":"TemporaryFile(/tmp/multipartBody1937233996663107870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294975028,"filename":"image_08012025_01_07_02_655047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0d22487c67746f37283cadfa7a62593.jpg","text":"TemporaryFile(/tmp/multipartBody1054687067552251479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736294975028,"filename":"image_08012025_01_08_02_248874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327360689","file1":"1327360687","file0":"1327360685","file4":"1327360930","file3":"1327360696"},"map_files_photo_id_array":[{"photo_id":"1327360689","filename":"file2"},{"photo_id":"1327360930","filename":"file4"},{"photo_id":"1327360687","filename":"file1"},{"photo_id":"1327360685","filename":"file0"},{"photo_id":"1327360696","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327360689":["hashtag1","hashtag2"]},{"1327360685":["hashtag1","hashtag2"]},{"1327360696":["hashtag1","hashtag2"]},{"1327360687":["hashtag1","hashtag2"]},{"1327360930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327360689, 1327360685, 1327360696, 1327360687, 1327360930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.57470369338989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:09:22.019421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/08/image_08012025_01_08_02_248874_0002.jpg', '/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0000.jpg', '/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/08/image_08012025_01_08_02_248874_0002.jpg
/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0000.jpg
/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361237","1327361233","1327361178"],"photo_ids_order":["1327361178","1327361233","1327361237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16f9ab8afae464bd1320475cfa79484c.jpg","text":"TemporaryFile(/tmp/multipartBody7796278000689211225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295029800,"filename":"image_08012025_01_09_02_859204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a20156d6b253faf3310c7735c28a781f.jpg","text":"TemporaryFile(/tmp/multipartBody4361485376788462712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295029800,"filename":"image_08012025_01_09_02_859204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42eddc14af061d8a31271a4a2e9de6ed.jpg","text":"TemporaryFile(/tmp/multipartBody294782860504749742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295029800,"filename":"image_08012025_01_08_02_248874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361237","file1":"1327361233","file0":"1327361178"},"map_files_photo_id_array":[{"photo_id":"1327361237","filename":"file2"},{"photo_id":"1327361233","filename":"file1"},{"photo_id":"1327361178","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361237":["hashtag1","hashtag2"]},{"1327361233":["hashtag1","hashtag2"]},{"1327361178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361237, 1327361233, 1327361178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.232994556427002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:10:02.971748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:10:22.559446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0003.jpg', '/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0000.jpg', '/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0001.jpg', '/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/09/image_08012025_01_09_02_859204_0003.jpg
/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0000.jpg
/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0001.jpg
/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361291","1327361294","1327361288","1327361286"],"photo_ids_order":["1327361286","1327361288","1327361291","1327361294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ca543aabad0da71b1d462cb622b9d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6769926645568527928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295092734,"filename":"image_08012025_01_10_02_399405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16aebbc73d46b6d66382068f32f5cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody1429008826910470640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295092734,"filename":"image_08012025_01_10_02_399405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/09aefe880a8eb13fca66167996f601e5.jpg","text":"TemporaryFile(/tmp/multipartBody7451632118038830723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295092734,"filename":"image_08012025_01_10_02_399405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88d1e77b1e410b6c69eb7726d2f25aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4448872968269875436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295092734,"filename":"image_08012025_01_09_02_859204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361291","file1":"1327361288","file0":"1327361286","file3":"1327361294"},"map_files_photo_id_array":[{"photo_id":"1327361291","filename":"file2"},{"photo_id":"1327361288","filename":"file1"},{"photo_id":"1327361286","filename":"file0"},{"photo_id":"1327361294","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361291":["hashtag1","hashtag2"]},{"1327361294":["hashtag1","hashtag2"]},{"1327361288":["hashtag1","hashtag2"]},{"1327361286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361291, 1327361294, 1327361288, 1327361286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68354082107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:11:22.142083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0003.jpg', '/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0000.jpg', '/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/10/image_08012025_01_10_02_399405_0003.jpg
/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0000.jpg
/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361301","1327361303","1327361305"],"photo_ids_order":["1327361301","1327361303","1327361305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25d8d84f7e2c317261fda3e6ea4ae764.jpg","text":"TemporaryFile(/tmp/multipartBody7864759112483982367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295149937,"filename":"image_08012025_01_10_02_399405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43fcd0a66e42002e3eb9648fccd6e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody3100712550781208416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295149937,"filename":"image_08012025_01_11_02_968792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6214f4ace31e129ec52928c8374d6cf7.jpg","text":"TemporaryFile(/tmp/multipartBody9047895515513322909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295149937,"filename":"image_08012025_01_11_02_968792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361305","file1":"1327361303","file0":"1327361301"},"map_files_photo_id_array":[{"photo_id":"1327361305","filename":"file2"},{"photo_id":"1327361303","filename":"file1"},{"photo_id":"1327361301","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361301":["hashtag1","hashtag2"]},{"1327361303":["hashtag1","hashtag2"]},{"1327361305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361301, 1327361303, 1327361305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.39843249320984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:12:03.124592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:12:22.661634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0002.jpg', '/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0001.jpg', '/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0002.jpg
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0001.jpg
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.374081611633301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:13:02.828801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0002.jpg', '/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0001.jpg', '/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/11/image_08012025_01_11_02_968792_0002.jpg
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0001.jpg
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361360","1327361363","1327361361"],"photo_ids_order":["1327361360","1327361361","1327361363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ba41b2560848c16d878eb5f8231983d.jpg","text":"TemporaryFile(/tmp/multipartBody967720681521614498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295250722,"filename":"image_08012025_01_11_02_968792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f5cd4f3c4a390e3180d18e2974f01c1.jpg","text":"TemporaryFile(/tmp/multipartBody5464248104328082301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295250722,"filename":"image_08012025_01_12_02_512491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f065cacd7204e4fd1be0f2f2ec511bc.jpg","text":"TemporaryFile(/tmp/multipartBody5078212738165798568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295250722,"filename":"image_08012025_01_12_02_512491_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361363","file1":"1327361361","file0":"1327361360"},"map_files_photo_id_array":[{"photo_id":"1327361363","filename":"file2"},{"photo_id":"1327361361","filename":"file1"},{"photo_id":"1327361360","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361360":["hashtag1","hashtag2"]},{"1327361363":["hashtag1","hashtag2"]},{"1327361361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361360, 1327361363, 1327361361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.037449598312378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:14:02.283963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0003.jpg', '/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0000.jpg', '/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0003.jpg
/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0000.jpg
/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.453236818313599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:14:21.719639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0003.jpg', '/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0000.jpg', '/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0002.jpg', '/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0003.jpg', '/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0000.jpg', '/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/12/image_08012025_01_12_02_512491_0003.jpg
/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0000.jpg
/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0002.jpg
/home/pi/Desktop/images/08012025/01/13/image_08012025_01_13_02_968414_0003.jpg
/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0000.jpg
/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361390","1327361384","1327361392","1327361386","1327361394","1327361388"],"photo_ids_order":["1327361384","1327361386","1327361388","1327361390","1327361392","1327361394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14866e50890d1dfd84bb9f906eedcf70.jpg","text":"TemporaryFile(/tmp/multipartBody3480606531832336038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_13_02_968414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/017bef2683038f038d03f0df63f605b4.jpg","text":"TemporaryFile(/tmp/multipartBody8432841474510647653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_12_02_512491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab170f1e07ce4e57d7492b1d0bf13247.jpg","text":"TemporaryFile(/tmp/multipartBody1316800133157283389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_14_02_465959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a46a9155f7d31da34d05b26bf1f7f320.jpg","text":"TemporaryFile(/tmp/multipartBody4805101739767818531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_13_02_968414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a56c3ab0cfe3a7e2da8d865a5714d71.jpg","text":"TemporaryFile(/tmp/multipartBody7760792771830772132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_14_02_465959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3e062c6d245d79558ed3ea47c99450d.jpg","text":"TemporaryFile(/tmp/multipartBody6996932483848155920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295336683,"filename":"image_08012025_01_13_02_968414_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361388","file1":"1327361386","file0":"1327361384","file4":"1327361392","file5":"1327361394","file3":"1327361390"},"map_files_photo_id_array":[{"photo_id":"1327361394","filename":"file5"},{"photo_id":"1327361388","filename":"file2"},{"photo_id":"1327361392","filename":"file4"},{"photo_id":"1327361386","filename":"file1"},{"photo_id":"1327361384","filename":"file0"},{"photo_id":"1327361390","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361390":["hashtag1","hashtag2"]},{"1327361384":["hashtag1","hashtag2"]},{"1327361392":["hashtag1","hashtag2"]},{"1327361386":["hashtag1","hashtag2"]},{"1327361394":["hashtag1","hashtag2"]},{"1327361388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361390, 1327361384, 1327361392, 1327361386, 1327361394, 1327361388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48487663269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:15:22.294613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0002.jpg', '/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0003.jpg', '/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0000.jpg', '/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0001.jpg', '/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0002.jpg
/home/pi/Desktop/images/08012025/01/14/image_08012025_01_14_02_465959_0003.jpg
/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0000.jpg
/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0001.jpg
/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361441","1327361417","1327361432","1327361461","1327361419"],"photo_ids_order":["1327361417","1327361419","1327361432","1327361441","1327361461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae6df937a65475b52624d0d7596d717b.jpg","text":"TemporaryFile(/tmp/multipartBody5304532473130564276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295394865,"filename":"image_08012025_01_15_02_145350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed50ce7cadfdd1011cd4d4cc45c85a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8225598242884470713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295394865,"filename":"image_08012025_01_14_02_465959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9a8eb8b12073f7ee1c33d5d7750b057.jpg","text":"TemporaryFile(/tmp/multipartBody3894386032260186793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295394865,"filename":"image_08012025_01_15_02_145350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7303ba3f148526ec04533769115f6c51.jpg","text":"TemporaryFile(/tmp/multipartBody1392794849937620540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295394865,"filename":"image_08012025_01_15_02_145350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7c19395629ef0cb5e39a007690bdc46.jpg","text":"TemporaryFile(/tmp/multipartBody3512741860017094547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295394865,"filename":"image_08012025_01_14_02_465959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361432","file1":"1327361419","file0":"1327361417","file4":"1327361461","file3":"1327361441"},"map_files_photo_id_array":[{"photo_id":"1327361432","filename":"file2"},{"photo_id":"1327361461","filename":"file4"},{"photo_id":"1327361419","filename":"file1"},{"photo_id":"1327361417","filename":"file0"},{"photo_id":"1327361441","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361441":["hashtag1","hashtag2"]},{"1327361417":["hashtag1","hashtag2"]},{"1327361432":["hashtag1","hashtag2"]},{"1327361461":["hashtag1","hashtag2"]},{"1327361419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361441, 1327361417, 1327361432, 1327361461, 1327361419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.07902956008911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:16:21.894310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0003.jpg', '/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0003.jpg
/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_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.041757822036743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:17:02.952382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0003.jpg', '/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/15/image_08012025_01_15_02_145350_0003.jpg
/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361479","1327361484"],"photo_ids_order":["1327361479","1327361484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20384182bd2642176be9af1c742b144c.jpg","text":"TemporaryFile(/tmp/multipartBody2586727249060127721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295488443,"filename":"image_08012025_01_15_02_145350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b24c98a02a07526425a6d0aca8d5f717.jpg","text":"TemporaryFile(/tmp/multipartBody975512373693425614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295488443,"filename":"image_08012025_01_16_02_714819_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327361484","file0":"1327361479"},"map_files_photo_id_array":[{"photo_id":"1327361484","filename":"file1"},{"photo_id":"1327361479","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361479":["hashtag1","hashtag2"]},{"1327361484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361479, 1327361484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.99094581604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:18:02.504985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0002.jpg', '/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0002.jpg
/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_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.080430269241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:18:22.172880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0002.jpg', '/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_0000.jpg', '/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_0003.jpg', '/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0000.jpg', '/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0001.jpg', '/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/16/image_08012025_01_16_02_714819_0002.jpg
/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_0000.jpg
/home/pi/Desktop/images/08012025/01/17/image_08012025_01_17_02_269537_0003.jpg
/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0000.jpg
/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0001.jpg
/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361498","1327361502","1327361504","1327361507","1327361500","1327361496"],"photo_ids_order":["1327361496","1327361498","1327361500","1327361502","1327361504","1327361507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98c439f7aa229915075e8917869a0b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8954192993158990415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_17_02_269537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0f62286bebe9668486ea3862e50fb64.jpg","text":"TemporaryFile(/tmp/multipartBody4807178306084614095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_18_02_804414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8a4c439474c9f4769b39fe1596b75a0.jpg","text":"TemporaryFile(/tmp/multipartBody6320296324568360139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_18_02_804414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d8621fab312b84f5a162eb062ea7af0.jpg","text":"TemporaryFile(/tmp/multipartBody1840200150089185466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_18_02_804414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/493ff2ed79bd37cf69d76261c0f3a311.jpg","text":"TemporaryFile(/tmp/multipartBody7707128662349027366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_17_02_269537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8036a8e7ff08fb467f0cd1bed7f11683.jpg","text":"TemporaryFile(/tmp/multipartBody3194488506324582505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295577140,"filename":"image_08012025_01_16_02_714819_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361500","file1":"1327361498","file0":"1327361496","file4":"1327361504","file5":"1327361507","file3":"1327361502"},"map_files_photo_id_array":[{"photo_id":"1327361507","filename":"file5"},{"photo_id":"1327361500","filename":"file2"},{"photo_id":"1327361504","filename":"file4"},{"photo_id":"1327361498","filename":"file1"},{"photo_id":"1327361496","filename":"file0"},{"photo_id":"1327361502","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361498":["hashtag1","hashtag2"]},{"1327361502":["hashtag1","hashtag2"]},{"1327361504":["hashtag1","hashtag2"]},{"1327361507":["hashtag1","hashtag2"]},{"1327361500":["hashtag1","hashtag2"]},{"1327361496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361498, 1327361502, 1327361504, 1327361507, 1327361500, 1327361496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05319046974182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:19:22.614053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0003.jpg', '/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0000.jpg', '/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0001.jpg', '/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/18/image_08012025_01_18_02_804414_0003.jpg
/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0000.jpg
/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0001.jpg
/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361588","1327361525","1327361539","1327361527"],"photo_ids_order":["1327361525","1327361527","1327361539","1327361588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b791a70112d47fbaddc9e10db295f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7084696993210014834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295632793,"filename":"image_08012025_01_19_02_481654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3350d1c8083b6e683e369ce7adeea70.jpg","text":"TemporaryFile(/tmp/multipartBody234705560611581442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295632793,"filename":"image_08012025_01_18_02_804414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9aa15276f537a04863bf277ac5826200.jpg","text":"TemporaryFile(/tmp/multipartBody6760836630482994454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295632793,"filename":"image_08012025_01_19_02_481654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dd3eed773ee8d6ea32eba8ecc0ae838.jpg","text":"TemporaryFile(/tmp/multipartBody6931404871813769883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295632793,"filename":"image_08012025_01_19_02_481654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361539","file1":"1327361527","file0":"1327361525","file3":"1327361588"},"map_files_photo_id_array":[{"photo_id":"1327361539","filename":"file2"},{"photo_id":"1327361527","filename":"file1"},{"photo_id":"1327361525","filename":"file0"},{"photo_id":"1327361588","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361588":["hashtag1","hashtag2"]},{"1327361525":["hashtag1","hashtag2"]},{"1327361539":["hashtag1","hashtag2"]},{"1327361527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361588, 1327361525, 1327361539, 1327361527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52332305908203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:20:02.620628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:20:22.137062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0003.jpg', '/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0000.jpg', '/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0001.jpg', '/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/19/image_08012025_01_19_02_481654_0003.jpg
/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0000.jpg
/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0001.jpg
/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361616","1327361654","1327361650","1327361640"],"photo_ids_order":["1327361616","1327361640","1327361650","1327361654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94884c53b7f44c321a50b056d4427f26.jpg","text":"TemporaryFile(/tmp/multipartBody7327225643647923855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295692342,"filename":"image_08012025_01_19_02_481654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae2a6eda5378363a363f503a595ccc1f.jpg","text":"TemporaryFile(/tmp/multipartBody4664317882586531115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295692342,"filename":"image_08012025_01_20_03_012834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1da9671540e74657c985e5281e531b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2366390169768954808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295692342,"filename":"image_08012025_01_20_03_012834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef90956887acc519d743eb4ad9361e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3983483080701087153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295692342,"filename":"image_08012025_01_20_03_012834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361650","file1":"1327361640","file0":"1327361616","file3":"1327361654"},"map_files_photo_id_array":[{"photo_id":"1327361650","filename":"file2"},{"photo_id":"1327361640","filename":"file1"},{"photo_id":"1327361616","filename":"file0"},{"photo_id":"1327361654","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361616":["hashtag1","hashtag2"]},{"1327361654":["hashtag1","hashtag2"]},{"1327361650":["hashtag1","hashtag2"]},{"1327361640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361616, 1327361654, 1327361650, 1327361640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.649073123931885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:21:22.554888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0003.jpg', '/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0000.jpg', '/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/20/image_08012025_01_20_03_012834_0003.jpg
/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0000.jpg
/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361663","1327361666","1327361668"],"photo_ids_order":["1327361663","1327361666","1327361668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a4c5994781f46622520a595f03f393d.jpg","text":"TemporaryFile(/tmp/multipartBody511350641716265954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295750356,"filename":"image_08012025_01_20_03_012834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fea64174f5c1965cb19e4bbbe84ee8c9.jpg","text":"TemporaryFile(/tmp/multipartBody59987951946610549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295750356,"filename":"image_08012025_01_21_02_483931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c814b6559593eddce2fe7ba5454a2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody268239520508149538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295750356,"filename":"image_08012025_01_21_02_483931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327361668","file1":"1327361666","file0":"1327361663"},"map_files_photo_id_array":[{"photo_id":"1327361668","filename":"file2"},{"photo_id":"1327361666","filename":"file1"},{"photo_id":"1327361663","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361663":["hashtag1","hashtag2"]},{"1327361666":["hashtag1","hashtag2"]},{"1327361668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361663, 1327361666, 1327361668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.103382110595703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:22:02.706778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:22:22.174592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0003.jpg', '/home/pi/Desktop/images/08012025/01/22/image_08012025_01_22_03_023682_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/21/image_08012025_01_21_02_483931_0003.jpg
/home/pi/Desktop/images/08012025/01/22/image_08012025_01_22_03_023682_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361709","1327361710"],"photo_ids_order":["1327361709","1327361710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f614917aa7c411b26b8fdf1920a912b.jpg","text":"TemporaryFile(/tmp/multipartBody1279210249781595086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295807596,"filename":"image_08012025_01_21_02_483931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb4a3697b9296875b7717d6589158f2f.jpg","text":"TemporaryFile(/tmp/multipartBody532322865024309773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295807596,"filename":"image_08012025_01_22_03_023682_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327361710","file0":"1327361709"},"map_files_photo_id_array":[{"photo_id":"1327361710","filename":"file1"},{"photo_id":"1327361709","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361709":["hashtag1","hashtag2"]},{"1327361710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361709, 1327361710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.583492517471313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:23:02.381437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:23:21.717493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/22/image_08012025_01_22_03_023682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/22/image_08012025_01_22_03_023682_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361755"],"photo_id":"1327361755","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adac36add88e176380270ebacda93e04.jpg","text":"TemporaryFile(/tmp/multipartBody8507992544811895144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295864760,"filename":"image_08012025_01_22_03_023682_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327361755"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327361755"}],"hashtags":[],"portfolio_id":"19463093","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.668702125549316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:24:02.856768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:24:22.395753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/23/image_08012025_01_23_02_601055_0003.jpg', '/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/23/image_08012025_01_23_02_601055_0003.jpg
/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.022622585296631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:25:02.600628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/23/image_08012025_01_23_02_601055_0003.jpg', '/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/23/image_08012025_01_23_02_601055_0003.jpg
/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327361891","1327361892"],"photo_ids_order":["1327361891","1327361892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/618a04455ee4297e675210a16bad970b.jpg","text":"TemporaryFile(/tmp/multipartBody46409970480799415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295968065,"filename":"image_08012025_01_23_02_601055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1ee6579543f7b54ae71e49b876d1727.jpg","text":"TemporaryFile(/tmp/multipartBody1393455313751505528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736295968065,"filename":"image_08012025_01_24_02_183630_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327361892","file0":"1327361891"},"map_files_photo_id_array":[{"photo_id":"1327361892","filename":"file1"},{"photo_id":"1327361891","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327361891":["hashtag1","hashtag2"]},{"1327361892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327361891, 1327361892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.969285249710083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:26:02.844004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0003.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0000.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0001.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0003.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0000.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0001.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.796622037887573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:26:22.500672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0003.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0000.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0001.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0002.jpg', '/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0003.jpg', '/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/24/image_08012025_01_24_02_183630_0003.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0000.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0001.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0002.jpg
/home/pi/Desktop/images/08012025/01/25/image_08012025_01_25_02_774011_0003.jpg
/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362024","1327362026","1327362020","1327362022","1327362001","1327362015"],"photo_ids_order":["1327362001","1327362015","1327362020","1327362022","1327362024","1327362026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9380b9fa6ac1a05cca91278cb59d1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8475452430290662762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_25_02_774011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1903d8507077430d4408b02631d5e26c.jpg","text":"TemporaryFile(/tmp/multipartBody8198125060177458259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_26_02_262967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c859ed93010178a7eed94613969bb43.jpg","text":"TemporaryFile(/tmp/multipartBody2999288836564761467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_25_02_774011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/093ce97d67ce0fa4e460bcf1323e83f0.jpg","text":"TemporaryFile(/tmp/multipartBody5003985081465970946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_25_02_774011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f13a2ed2ab7c4ea4148c9c819fbb1bb.jpg","text":"TemporaryFile(/tmp/multipartBody6131131484569569827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_24_02_183630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a013d0abfbd22305fcd9cbb0e9dd3564.jpg","text":"TemporaryFile(/tmp/multipartBody2344303310648738205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296057382,"filename":"image_08012025_01_25_02_774011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362020","file1":"1327362015","file0":"1327362001","file4":"1327362024","file5":"1327362026","file3":"1327362022"},"map_files_photo_id_array":[{"photo_id":"1327362026","filename":"file5"},{"photo_id":"1327362020","filename":"file2"},{"photo_id":"1327362024","filename":"file4"},{"photo_id":"1327362015","filename":"file1"},{"photo_id":"1327362001","filename":"file0"},{"photo_id":"1327362022","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362024":["hashtag1","hashtag2"]},{"1327362026":["hashtag1","hashtag2"]},{"1327362020":["hashtag1","hashtag2"]},{"1327362022":["hashtag1","hashtag2"]},{"1327362001":["hashtag1","hashtag2"]},{"1327362015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362024, 1327362026, 1327362020, 1327362022, 1327362001, 1327362015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.6538987159729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:27:22.029973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0001.jpg', '/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0002.jpg', '/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0003.jpg', '/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0000.jpg', '/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0001.jpg
/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0002.jpg
/home/pi/Desktop/images/08012025/01/26/image_08012025_01_26_02_262967_0003.jpg
/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0000.jpg
/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362032","1327362034","1327362037","1327362030","1327362027"],"photo_ids_order":["1327362027","1327362030","1327362032","1327362034","1327362037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b505fc45b9e83a2aee53307da36a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2733641810963513743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296114329,"filename":"image_08012025_01_26_02_262967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d2f4e9f52c396f37ba265fb720502f0.jpg","text":"TemporaryFile(/tmp/multipartBody1826126790870286310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296114329,"filename":"image_08012025_01_27_02_891643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdcca81edddb97099e27a42613315108.jpg","text":"TemporaryFile(/tmp/multipartBody1406050500618485567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296114329,"filename":"image_08012025_01_27_02_891643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/865984b7e5ddd040b9fcb87b98a866f2.jpg","text":"TemporaryFile(/tmp/multipartBody7350048374504769622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296114329,"filename":"image_08012025_01_26_02_262967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb4be0b327d196efe830cc0df65c7c38.jpg","text":"TemporaryFile(/tmp/multipartBody2345256608853020952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296114329,"filename":"image_08012025_01_26_02_262967_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362032","file1":"1327362030","file0":"1327362027","file4":"1327362037","file3":"1327362034"},"map_files_photo_id_array":[{"photo_id":"1327362032","filename":"file2"},{"photo_id":"1327362037","filename":"file4"},{"photo_id":"1327362030","filename":"file1"},{"photo_id":"1327362027","filename":"file0"},{"photo_id":"1327362034","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362032":["hashtag1","hashtag2"]},{"1327362034":["hashtag1","hashtag2"]},{"1327362037":["hashtag1","hashtag2"]},{"1327362030":["hashtag1","hashtag2"]},{"1327362027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362032, 1327362034, 1327362037, 1327362030, 1327362027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.22812867164612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:28:22.572646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0002.jpg', '/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0000.jpg', '/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0001.jpg', '/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/27/image_08012025_01_27_02_891643_0002.jpg
/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0000.jpg
/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0001.jpg
/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362254","1327362176","1327362076","1327362322"],"photo_ids_order":["1327362076","1327362176","1327362254","1327362322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13f521afeec6971f3b3d8f51cb2c3a6f.jpg","text":"TemporaryFile(/tmp/multipartBody792612604286759508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296172625,"filename":"image_08012025_01_28_02_370473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b187a3f635b6a745bc37ebb257e827b.jpg","text":"TemporaryFile(/tmp/multipartBody4481539202779130095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296172625,"filename":"image_08012025_01_28_02_370473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e60b12ffbd2b4265fed62cfd28dea227.jpg","text":"TemporaryFile(/tmp/multipartBody8698463792706789319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296172625,"filename":"image_08012025_01_27_02_891643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eeebe827bfc2deaa4b4d779cde096491.jpg","text":"TemporaryFile(/tmp/multipartBody5295636756007275586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296172625,"filename":"image_08012025_01_28_02_370473_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362254","file1":"1327362176","file0":"1327362076","file3":"1327362322"},"map_files_photo_id_array":[{"photo_id":"1327362254","filename":"file2"},{"photo_id":"1327362176","filename":"file1"},{"photo_id":"1327362076","filename":"file0"},{"photo_id":"1327362322","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362254":["hashtag1","hashtag2"]},{"1327362176":["hashtag1","hashtag2"]},{"1327362076":["hashtag1","hashtag2"]},{"1327362322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362254, 1327362176, 1327362076, 1327362322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38999795913696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:29:21.972052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0003.jpg', '/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0000.jpg', '/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0001.jpg', '/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/28/image_08012025_01_28_02_370473_0003.jpg
/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0000.jpg
/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0001.jpg
/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362398","1327362400","1327362393","1327362396"],"photo_ids_order":["1327362393","1327362396","1327362398","1327362400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e52f5c46a392969a78180adc839c54a2.jpg","text":"TemporaryFile(/tmp/multipartBody2243143793417326309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296232247,"filename":"image_08012025_01_29_02_909242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fc53bf6d6474418c19a6811c0b92c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6159777022781443931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296232247,"filename":"image_08012025_01_29_02_909242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9ee9285bb068b3488f6e6f814df678d.jpg","text":"TemporaryFile(/tmp/multipartBody4193552954247269566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296232247,"filename":"image_08012025_01_28_02_370473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6bae141ba44a2273e7892832e508c61a.jpg","text":"TemporaryFile(/tmp/multipartBody6502574336235031875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296232247,"filename":"image_08012025_01_29_02_909242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362398","file1":"1327362396","file0":"1327362393","file3":"1327362400"},"map_files_photo_id_array":[{"photo_id":"1327362398","filename":"file2"},{"photo_id":"1327362396","filename":"file1"},{"photo_id":"1327362393","filename":"file0"},{"photo_id":"1327362400","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362398":["hashtag1","hashtag2"]},{"1327362400":["hashtag1","hashtag2"]},{"1327362393":["hashtag1","hashtag2"]},{"1327362396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362398, 1327362400, 1327362393, 1327362396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40327978134155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:30:03.007098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:30:22.550215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0003.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0000.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0001.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0003.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0000.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0001.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.76500654220581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:31:02.686241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0003.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0000.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0001.jpg', '/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/29/image_08012025_01_29_02_909242_0003.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0000.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0001.jpg
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362536","1327362535","1327362534","1327362537"],"photo_ids_order":["1327362534","1327362535","1327362536","1327362537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf13d3f77256d26c4b9f2b0adf7d838a.jpg","text":"TemporaryFile(/tmp/multipartBody3365936642807717463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296332922,"filename":"image_08012025_01_30_02_423166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59305480719b58c1db7e2a31d7d525b9.jpg","text":"TemporaryFile(/tmp/multipartBody1124852898679614107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296332922,"filename":"image_08012025_01_30_02_423166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e03d3f9148be21365f47c9b219857e29.jpg","text":"TemporaryFile(/tmp/multipartBody4725363128607165676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296332922,"filename":"image_08012025_01_29_02_909242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd5c5e17b7117406d15b525b4af39b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8900470107790386238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296332922,"filename":"image_08012025_01_30_02_423166_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362536","file1":"1327362535","file0":"1327362534","file3":"1327362537"},"map_files_photo_id_array":[{"photo_id":"1327362536","filename":"file2"},{"photo_id":"1327362535","filename":"file1"},{"photo_id":"1327362534","filename":"file0"},{"photo_id":"1327362537","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362536":["hashtag1","hashtag2"]},{"1327362535":["hashtag1","hashtag2"]},{"1327362534":["hashtag1","hashtag2"]},{"1327362537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362536, 1327362535, 1327362534, 1327362537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.08081650733948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:32:03.177227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0003.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0000.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0001.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0003.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0000.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0001.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.797545194625854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:32:22.684818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0003.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0000.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0001.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0002.jpg', '/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0003.jpg', '/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/30/image_08012025_01_30_02_423166_0003.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0000.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0001.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0002.jpg
/home/pi/Desktop/images/08012025/01/31/image_08012025_01_31_02_922421_0003.jpg
/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_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":["1327362596","1327362599","1327362601","1327362591","1327362594","1327362603"],"photo_ids_order":["1327362591","1327362594","1327362596","1327362599","1327362601","1327362603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07140790080ede2eb3b5cc261885e941.jpg","text":"TemporaryFile(/tmp/multipartBody4769455186291406579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_31_02_922421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7488990264ad7de303163af2e8395fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1805336724641127561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_31_02_922421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d940a0aa04574e83b40e057e9b1060b.jpg","text":"TemporaryFile(/tmp/multipartBody579139274417684827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_31_02_922421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8b33235f10dba206ba34aac4dfe30ad.jpg","text":"TemporaryFile(/tmp/multipartBody6964367395222383993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_30_02_423166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/656223976a3a889cc340aad27f2175b5.jpg","text":"TemporaryFile(/tmp/multipartBody8328354073322711555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_31_02_922421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaba4675a65aa5fc99a778727c1ce768.jpg","text":"TemporaryFile(/tmp/multipartBody6562922951288078375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296417688,"filename":"image_08012025_01_32_02_423931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362596","file1":"1327362594","file0":"1327362591","file4":"1327362601","file5":"1327362603","file3":"1327362599"},"map_files_photo_id_array":[{"photo_id":"1327362603","filename":"file5"},{"photo_id":"1327362596","filename":"file2"},{"photo_id":"1327362601","filename":"file4"},{"photo_id":"1327362594","filename":"file1"},{"photo_id":"1327362591","filename":"file0"},{"photo_id":"1327362599","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362596":["hashtag1","hashtag2"]},{"1327362599":["hashtag1","hashtag2"]},{"1327362601":["hashtag1","hashtag2"]},{"1327362591":["hashtag1","hashtag2"]},{"1327362594":["hashtag1","hashtag2"]},{"1327362603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362596, 1327362599, 1327362601, 1327362591, 1327362594, 1327362603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.815821409225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:34:03.237989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0001.jpg', '/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0002.jpg', '/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0003.jpg', '/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0000.jpg', '/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0001.jpg', '/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0001.jpg
/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0002.jpg
/home/pi/Desktop/images/08012025/01/32/image_08012025_01_32_02_423931_0003.jpg
/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0000.jpg
/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0001.jpg
/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362644","1327362641","1327362640","1327362643","1327362657","1327362639"],"photo_ids_order":["1327362639","1327362640","1327362641","1327362643","1327362644","1327362657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f48b73670e91ca5adff6b9e55a5df8ff.jpg","text":"TemporaryFile(/tmp/multipartBody1165235262075474841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_33_03_059225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f29f6ff835d97624b288676f5d2180e.jpg","text":"TemporaryFile(/tmp/multipartBody2487368983063358144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_32_02_423931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3884ad9d3cbe749df160f0ef91eed1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8335583939584226241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_32_02_423931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e04257b96e025e7c43d22ffcd10509ba.jpg","text":"TemporaryFile(/tmp/multipartBody3242062444778291589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_33_03_059225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0fc8104d83c192d17c761e37d34979aa.jpg","text":"TemporaryFile(/tmp/multipartBody2179573273100610671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_33_03_059225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3200b10b709a129b3fef5a8cce7f5812.jpg","text":"TemporaryFile(/tmp/multipartBody8786070088093863904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296518265,"filename":"image_08012025_01_32_02_423931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362641","file1":"1327362640","file0":"1327362639","file4":"1327362644","file5":"1327362657","file3":"1327362643"},"map_files_photo_id_array":[{"photo_id":"1327362657","filename":"file5"},{"photo_id":"1327362641","filename":"file2"},{"photo_id":"1327362644","filename":"file4"},{"photo_id":"1327362640","filename":"file1"},{"photo_id":"1327362639","filename":"file0"},{"photo_id":"1327362643","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362644":["hashtag1","hashtag2"]},{"1327362641":["hashtag1","hashtag2"]},{"1327362640":["hashtag1","hashtag2"]},{"1327362643":["hashtag1","hashtag2"]},{"1327362657":["hashtag1","hashtag2"]},{"1327362639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362644, 1327362641, 1327362640, 1327362643, 1327362657, 1327362639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.263221740722656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:35:22.322848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0003.jpg', '/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0000.jpg', '/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0001.jpg', '/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0002.jpg', '/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0003.jpg', '/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/33/image_08012025_01_33_03_059225_0003.jpg
/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0000.jpg
/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0001.jpg
/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0002.jpg
/home/pi/Desktop/images/08012025/01/34/image_08012025_01_34_02_596783_0003.jpg
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_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":["1327362698","1327362731","1327362733","1327362700","1327362729","1327362702"],"photo_ids_order":["1327362698","1327362700","1327362702","1327362729","1327362731","1327362733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32a978945d6628c575cecbbeec7e484f.jpg","text":"TemporaryFile(/tmp/multipartBody4335958356807642617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_33_03_059225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7889ae1413f5cca2cc033919f64acafa.jpg","text":"TemporaryFile(/tmp/multipartBody7349928068913884802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_34_02_596783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4bd49bd1008250588c8a6c229be3613.jpg","text":"TemporaryFile(/tmp/multipartBody8830967608696654301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_35_03_179834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27f846f95d6ce4466d973f4c471fa148.jpg","text":"TemporaryFile(/tmp/multipartBody3949009630945770031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_34_02_596783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e052537a7312e7a5402a43e65436201b.jpg","text":"TemporaryFile(/tmp/multipartBody3396084964450728390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_34_02_596783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64ec295676b8877c9765675a0d4d88f1.jpg","text":"TemporaryFile(/tmp/multipartBody8121057768792356865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296597127,"filename":"image_08012025_01_34_02_596783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362702","file1":"1327362700","file0":"1327362698","file4":"1327362731","file5":"1327362733","file3":"1327362729"},"map_files_photo_id_array":[{"photo_id":"1327362733","filename":"file5"},{"photo_id":"1327362702","filename":"file2"},{"photo_id":"1327362731","filename":"file4"},{"photo_id":"1327362700","filename":"file1"},{"photo_id":"1327362698","filename":"file0"},{"photo_id":"1327362729","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362698":["hashtag1","hashtag2"]},{"1327362731":["hashtag1","hashtag2"]},{"1327362733":["hashtag1","hashtag2"]},{"1327362700":["hashtag1","hashtag2"]},{"1327362729":["hashtag1","hashtag2"]},{"1327362702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362698, 1327362731, 1327362733, 1327362700, 1327362729, 1327362702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.83282518386841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:37:02.990074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0001.jpg', '/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0002.jpg', '/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0003.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0000.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0001.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0001.jpg
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0002.jpg
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0003.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0000.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0001.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.73774766921997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:37:22.359283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0001.jpg', '/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0002.jpg', '/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0003.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0000.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0001.jpg', '/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0001.jpg
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0002.jpg
/home/pi/Desktop/images/08012025/01/35/image_08012025_01_35_03_179834_0003.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0000.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0001.jpg
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362810","1327362797","1327362814","1327362795","1327362792","1327362816"],"photo_ids_order":["1327362792","1327362795","1327362797","1327362810","1327362814","1327362816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fca8fe460337da47071c83f57e45bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody6468830901338175893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_36_02_735740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fff66357984ecf395e79f73fead03eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2393225464021567204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_35_03_179834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a22c8aed3c2cfcbf1064ad51ca9ab84e.jpg","text":"TemporaryFile(/tmp/multipartBody4534055495719209094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_36_02_735740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7335f0417faa98805b3789459f7cda3.jpg","text":"TemporaryFile(/tmp/multipartBody3479949501919554638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_35_03_179834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49f10303528cc1064a6539aae8244f51.jpg","text":"TemporaryFile(/tmp/multipartBody2279024276303918929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_35_03_179834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/472c483c5f3d4d68b9e254f0fd77614a.jpg","text":"TemporaryFile(/tmp/multipartBody1874070915541469446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296717453,"filename":"image_08012025_01_36_02_735740_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362797","file1":"1327362795","file0":"1327362792","file4":"1327362814","file5":"1327362816","file3":"1327362810"},"map_files_photo_id_array":[{"photo_id":"1327362816","filename":"file5"},{"photo_id":"1327362797","filename":"file2"},{"photo_id":"1327362814","filename":"file4"},{"photo_id":"1327362795","filename":"file1"},{"photo_id":"1327362792","filename":"file0"},{"photo_id":"1327362810","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362810":["hashtag1","hashtag2"]},{"1327362797":["hashtag1","hashtag2"]},{"1327362814":["hashtag1","hashtag2"]},{"1327362795":["hashtag1","hashtag2"]},{"1327362792":["hashtag1","hashtag2"]},{"1327362816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362810, 1327362797, 1327362814, 1327362795, 1327362792, 1327362816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.790642738342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:38:22.065751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0003.jpg', '/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0000.jpg', '/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0001.jpg', '/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0002.jpg', '/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0003.jpg', '/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/36/image_08012025_01_36_02_735740_0003.jpg
/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0000.jpg
/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0001.jpg
/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0002.jpg
/home/pi/Desktop/images/08012025/01/37/image_08012025_01_37_02_282140_0003.jpg
/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327362827","1327362868","1327362843","1327362846","1327362840","1327362834"],"photo_ids_order":["1327362827","1327362834","1327362840","1327362843","1327362846","1327362868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db4005e66a0caf9e3fb7662e1bfb15c5.jpg","text":"TemporaryFile(/tmp/multipartBody5400038826218947469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_36_02_735740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c40f640f6a772e8c88567d2e6e0bc53d.jpg","text":"TemporaryFile(/tmp/multipartBody8644379512492402548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_38_02_769710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/352886b5c22c0c80063cbd20084f15b8.jpg","text":"TemporaryFile(/tmp/multipartBody1436933308775198101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_37_02_282140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40e74294a058d946b03782326261fe39.jpg","text":"TemporaryFile(/tmp/multipartBody3903815476152003367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_37_02_282140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86cfa30f5b8bd0a767a61734a472a47c.jpg","text":"TemporaryFile(/tmp/multipartBody3611941769501881028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_37_02_282140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a10ae63441c6a4b5069426f261ebbc21.jpg","text":"TemporaryFile(/tmp/multipartBody6154924925139702171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296777219,"filename":"image_08012025_01_37_02_282140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362840","file1":"1327362834","file0":"1327362827","file4":"1327362846","file5":"1327362868","file3":"1327362843"},"map_files_photo_id_array":[{"photo_id":"1327362868","filename":"file5"},{"photo_id":"1327362840","filename":"file2"},{"photo_id":"1327362846","filename":"file4"},{"photo_id":"1327362834","filename":"file1"},{"photo_id":"1327362827","filename":"file0"},{"photo_id":"1327362843","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327362827":["hashtag1","hashtag2"]},{"1327362868":["hashtag1","hashtag2"]},{"1327362843":["hashtag1","hashtag2"]},{"1327362846":["hashtag1","hashtag2"]},{"1327362840":["hashtag1","hashtag2"]},{"1327362834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327362827, 1327362868, 1327362843, 1327362846, 1327362840, 1327362834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64692759513855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:39:22.591879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0001.jpg', '/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0002.jpg', '/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0003.jpg', '/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0000.jpg', '/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0001.jpg', '/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0001.jpg
/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0002.jpg
/home/pi/Desktop/images/08012025/01/38/image_08012025_01_38_02_769710_0003.jpg
/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0000.jpg
/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0001.jpg
/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363063","1327362911","1327363069","1327363071","1327362913","1327362915"],"photo_ids_order":["1327362911","1327362913","1327362915","1327363063","1327363069","1327363071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec23a49e6093f9b7480069a4caeee969.jpg","text":"TemporaryFile(/tmp/multipartBody6631814324717482098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_39_02_435956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6cd42414bded153d3f93938b786aada1.jpg","text":"TemporaryFile(/tmp/multipartBody6569111233118367994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_38_02_769710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da411635a8752ebca05afdac5378884e.jpg","text":"TemporaryFile(/tmp/multipartBody4735013920541923620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_39_02_435956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b100430a274bd1587f32a6258eefb962.jpg","text":"TemporaryFile(/tmp/multipartBody1213814635980446432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_39_02_435956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d70ed9bd9686e1620d6838da36e9ee3.jpg","text":"TemporaryFile(/tmp/multipartBody3820155658777863481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_38_02_769710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c74723465b9046ffd3eb00301f4e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3534526689780590367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296837712,"filename":"image_08012025_01_38_02_769710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327362915","file1":"1327362913","file0":"1327362911","file4":"1327363069","file5":"1327363071","file3":"1327363063"},"map_files_photo_id_array":[{"photo_id":"1327363071","filename":"file5"},{"photo_id":"1327362915","filename":"file2"},{"photo_id":"1327363069","filename":"file4"},{"photo_id":"1327362913","filename":"file1"},{"photo_id":"1327362911","filename":"file0"},{"photo_id":"1327363063","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363063":["hashtag1","hashtag2"]},{"1327362911":["hashtag1","hashtag2"]},{"1327363069":["hashtag1","hashtag2"]},{"1327363071":["hashtag1","hashtag2"]},{"1327362913":["hashtag1","hashtag2"]},{"1327362915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363063, 1327362911, 1327363069, 1327363071, 1327362913, 1327362915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.130478620529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:40:22.203877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0003.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0000.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0001.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0003.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0000.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0001.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.239388942718506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:41:03.237503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0003.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0000.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0001.jpg', '/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/39/image_08012025_01_39_02_435956_0003.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0000.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0001.jpg
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363109","1327363084","1327363083","1327363082"],"photo_ids_order":["1327363082","1327363083","1327363084","1327363109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7484b760282cd106453706eebb43fafd.jpg","text":"TemporaryFile(/tmp/multipartBody3356295306600189899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296933932,"filename":"image_08012025_01_40_03_024427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/130fa95915bd2e38954324d2d916b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody1942516877047152252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296933932,"filename":"image_08012025_01_40_03_024427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a653bf08f2710dde49f503f26de0210.jpg","text":"TemporaryFile(/tmp/multipartBody605163353619785696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296933932,"filename":"image_08012025_01_40_03_024427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b014c62cde2b2ea3f893546b659111cf.jpg","text":"TemporaryFile(/tmp/multipartBody4897473898838803463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736296933932,"filename":"image_08012025_01_39_02_435956_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363084","file1":"1327363083","file0":"1327363082","file3":"1327363109"},"map_files_photo_id_array":[{"photo_id":"1327363084","filename":"file2"},{"photo_id":"1327363083","filename":"file1"},{"photo_id":"1327363082","filename":"file0"},{"photo_id":"1327363109","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363109":["hashtag1","hashtag2"]},{"1327363084":["hashtag1","hashtag2"]},{"1327363083":["hashtag1","hashtag2"]},{"1327363082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363109, 1327363084, 1327363083, 1327363082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73915362358093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:42:02.773356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0003.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0000.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0001.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0003.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0000.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0001.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.065479040145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:42:22.253269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0003.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0000.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0001.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0002.jpg', '/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0003.jpg', '/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/40/image_08012025_01_40_03_024427_0003.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0000.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0001.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0002.jpg
/home/pi/Desktop/images/08012025/01/41/image_08012025_01_41_02_509419_0003.jpg
/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363232","1327363235","1327363186","1327363243","1327363188","1327363227"],"photo_ids_order":["1327363186","1327363188","1327363227","1327363232","1327363235","1327363243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c1930090405991104b19343bf7fc50e.jpg","text":"TemporaryFile(/tmp/multipartBody7835563171168860250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_41_02_509419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/24efd9d5cb5ea8c2236ea329d329a22e.jpg","text":"TemporaryFile(/tmp/multipartBody6428125733219731956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_41_02_509419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/524a5a70f4c0e1752d82414173edeb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5089553171532558018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_40_03_024427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ee20080096582bf87dcd61362d8b915.jpg","text":"TemporaryFile(/tmp/multipartBody160313823690071720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_42_03_023717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a726b09174514e75dba56e5c717b6566.jpg","text":"TemporaryFile(/tmp/multipartBody6147467559326233155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_41_02_509419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6aeb1683665252cf148ca00d78143e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2844826855783576286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297017574,"filename":"image_08012025_01_41_02_509419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363227","file1":"1327363188","file0":"1327363186","file4":"1327363235","file5":"1327363243","file3":"1327363232"},"map_files_photo_id_array":[{"photo_id":"1327363243","filename":"file5"},{"photo_id":"1327363227","filename":"file2"},{"photo_id":"1327363235","filename":"file4"},{"photo_id":"1327363188","filename":"file1"},{"photo_id":"1327363186","filename":"file0"},{"photo_id":"1327363232","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363232":["hashtag1","hashtag2"]},{"1327363235":["hashtag1","hashtag2"]},{"1327363186":["hashtag1","hashtag2"]},{"1327363243":["hashtag1","hashtag2"]},{"1327363188":["hashtag1","hashtag2"]},{"1327363227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363232, 1327363235, 1327363186, 1327363243, 1327363188, 1327363227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.377684354782104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:43:21.765427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0001.jpg', '/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0002.jpg', '/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0003.jpg', '/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0000.jpg', '/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0001.jpg', '/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0001.jpg
/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0002.jpg
/home/pi/Desktop/images/08012025/01/42/image_08012025_01_42_03_023717_0003.jpg
/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0000.jpg
/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0001.jpg
/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363514","1327363366","1327363360","1327363417","1327363368","1327363364"],"photo_ids_order":["1327363360","1327363364","1327363366","1327363368","1327363417","1327363514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30e373a5c5a20cb2814f23c9d7ffebc1.jpg","text":"TemporaryFile(/tmp/multipartBody2072373282582076670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_43_02_643379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecb06c412d080c7dfef75ed52df868d1.jpg","text":"TemporaryFile(/tmp/multipartBody1798191606979057605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_42_03_023717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b1b010d8b3c767ba0baa39e1e5bd03d.jpg","text":"TemporaryFile(/tmp/multipartBody8438307956395480052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_42_03_023717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9d5d6d8e22b0437be205f7fc862c1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1020056717950890745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_43_02_643379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dda2434e92361fcd649f66c4f506865d.jpg","text":"TemporaryFile(/tmp/multipartBody3903684330640383939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_43_02_643379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d015654d9864217e376a35234ce055f.jpg","text":"TemporaryFile(/tmp/multipartBody1733959559269890955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297076950,"filename":"image_08012025_01_42_03_023717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363366","file1":"1327363364","file0":"1327363360","file4":"1327363417","file5":"1327363514","file3":"1327363368"},"map_files_photo_id_array":[{"photo_id":"1327363514","filename":"file5"},{"photo_id":"1327363366","filename":"file2"},{"photo_id":"1327363417","filename":"file4"},{"photo_id":"1327363364","filename":"file1"},{"photo_id":"1327363360","filename":"file0"},{"photo_id":"1327363368","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363514":["hashtag1","hashtag2"]},{"1327363366":["hashtag1","hashtag2"]},{"1327363360":["hashtag1","hashtag2"]},{"1327363417":["hashtag1","hashtag2"]},{"1327363368":["hashtag1","hashtag2"]},{"1327363364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363514, 1327363366, 1327363360, 1327363417, 1327363368, 1327363364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.45336389541626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:44:22.347652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0003.jpg', '/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0000.jpg', '/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0001.jpg', '/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/43/image_08012025_01_43_02_643379_0003.jpg
/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0000.jpg
/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0001.jpg
/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363529","1327363531","1327363533","1327363527"],"photo_ids_order":["1327363527","1327363529","1327363531","1327363533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e9433ee3170dc0a842a38c0b2ff08c3.jpg","text":"TemporaryFile(/tmp/multipartBody8841081105371174370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297132581,"filename":"image_08012025_01_44_02_174919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22217e90ee9099822160c05541357d53.jpg","text":"TemporaryFile(/tmp/multipartBody6684831200432405497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297132581,"filename":"image_08012025_01_44_02_174919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/493e2cc005fd2d2e0520330cd402d29b.jpg","text":"TemporaryFile(/tmp/multipartBody3821872244823398011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297132581,"filename":"image_08012025_01_44_02_174919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57f37653bdef7887c5af05cb792501cd.jpg","text":"TemporaryFile(/tmp/multipartBody3444541774701704057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297132581,"filename":"image_08012025_01_43_02_643379_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363531","file1":"1327363529","file0":"1327363527","file3":"1327363533"},"map_files_photo_id_array":[{"photo_id":"1327363531","filename":"file2"},{"photo_id":"1327363529","filename":"file1"},{"photo_id":"1327363527","filename":"file0"},{"photo_id":"1327363533","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363529":["hashtag1","hashtag2"]},{"1327363531":["hashtag1","hashtag2"]},{"1327363533":["hashtag1","hashtag2"]},{"1327363527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363529, 1327363531, 1327363533, 1327363527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.678051710128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:45:21.822013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0003.jpg', '/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0000.jpg', '/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0001.jpg', '/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/44/image_08012025_01_44_02_174919_0003.jpg
/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0000.jpg
/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0001.jpg
/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363550","1327363548","1327363553","1327363556"],"photo_ids_order":["1327363548","1327363550","1327363553","1327363556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98f14e07720751fe00485d80f6bd4a14.jpg","text":"TemporaryFile(/tmp/multipartBody3950716117294470324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297192104,"filename":"image_08012025_01_45_02_682771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dd127390f1ea4c667590557d1cd1c89.jpg","text":"TemporaryFile(/tmp/multipartBody2914186563948667349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297192104,"filename":"image_08012025_01_44_02_174919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e657241c878c9a64961b879e98a1490.jpg","text":"TemporaryFile(/tmp/multipartBody5233423443679513859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297192104,"filename":"image_08012025_01_45_02_682771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/665e0919dbff042e941175551f628781.jpg","text":"TemporaryFile(/tmp/multipartBody8122480426587315500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297192104,"filename":"image_08012025_01_45_02_682771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363553","file1":"1327363550","file0":"1327363548","file3":"1327363556"},"map_files_photo_id_array":[{"photo_id":"1327363553","filename":"file2"},{"photo_id":"1327363550","filename":"file1"},{"photo_id":"1327363548","filename":"file0"},{"photo_id":"1327363556","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363550":["hashtag1","hashtag2"]},{"1327363548":["hashtag1","hashtag2"]},{"1327363553":["hashtag1","hashtag2"]},{"1327363556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363550, 1327363548, 1327363553, 1327363556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14621829986572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:46:22.318555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0003.jpg', '/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0000.jpg', '/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0001.jpg', '/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/45/image_08012025_01_45_02_682771_0003.jpg
/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0000.jpg
/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0001.jpg
/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363618","1327363569","1327363620","1327363571"],"photo_ids_order":["1327363569","1327363571","1327363618","1327363620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1f0be327d8c231d0c4de0182be7b717.jpg","text":"TemporaryFile(/tmp/multipartBody2864028586414080182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297252669,"filename":"image_08012025_01_46_02_180440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f12ae7345e665c40839f29d7f5bb7b6.jpg","text":"TemporaryFile(/tmp/multipartBody371025956977142407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297252669,"filename":"image_08012025_01_45_02_682771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7b48eb311b478b318a6cdf2f434825b.jpg","text":"TemporaryFile(/tmp/multipartBody8696575975120402947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297252669,"filename":"image_08012025_01_46_02_180440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e3276040e7806144cd09169461f2608.jpg","text":"TemporaryFile(/tmp/multipartBody6624574001794403555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297252669,"filename":"image_08012025_01_46_02_180440_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363618","file1":"1327363571","file0":"1327363569","file3":"1327363620"},"map_files_photo_id_array":[{"photo_id":"1327363618","filename":"file2"},{"photo_id":"1327363571","filename":"file1"},{"photo_id":"1327363569","filename":"file0"},{"photo_id":"1327363620","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363618":["hashtag1","hashtag2"]},{"1327363569":["hashtag1","hashtag2"]},{"1327363620":["hashtag1","hashtag2"]},{"1327363571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363618, 1327363569, 1327363620, 1327363571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.29826784133911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:47:21.970004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0003.jpg', '/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0000.jpg', '/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0001.jpg', '/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/46/image_08012025_01_46_02_180440_0003.jpg
/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0000.jpg
/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0001.jpg
/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363651","1327363645","1327363647","1327363649"],"photo_ids_order":["1327363645","1327363647","1327363649","1327363651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a673235c0633b7c64da84e9add6a98a.jpg","text":"TemporaryFile(/tmp/multipartBody7771700164785799040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297312337,"filename":"image_08012025_01_47_02_678770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d0d9084151550b09614db04d45a6e32.jpg","text":"TemporaryFile(/tmp/multipartBody1423457585894745502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297312337,"filename":"image_08012025_01_46_02_180440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61b5b6114ad1a96d87de9686fa81f35d.jpg","text":"TemporaryFile(/tmp/multipartBody7592952103643883307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297312337,"filename":"image_08012025_01_47_02_678770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8648bd9f300d5119033a844f6f28ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7134020650281390667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297312337,"filename":"image_08012025_01_47_02_678770_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363649","file1":"1327363647","file0":"1327363645","file3":"1327363651"},"map_files_photo_id_array":[{"photo_id":"1327363649","filename":"file2"},{"photo_id":"1327363647","filename":"file1"},{"photo_id":"1327363645","filename":"file0"},{"photo_id":"1327363651","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363651":["hashtag1","hashtag2"]},{"1327363645":["hashtag1","hashtag2"]},{"1327363647":["hashtag1","hashtag2"]},{"1327363649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363651, 1327363645, 1327363647, 1327363649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.989707469940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:48:02.960186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:48:22.445881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0003.jpg', '/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0000.jpg', '/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/47/image_08012025_01_47_02_678770_0003.jpg
/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0000.jpg
/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363759","1327363761","1327363758"],"photo_ids_order":["1327363758","1327363759","1327363761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b47a074d3cf039c37c73a137b2b36013.jpg","text":"TemporaryFile(/tmp/multipartBody3634366751897279760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297370302,"filename":"image_08012025_01_48_02_338726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ddbcdeafc02a1d4281c88deeee8b2220.jpg","text":"TemporaryFile(/tmp/multipartBody808361885389820314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297370302,"filename":"image_08012025_01_48_02_338726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a868badb306ac0283a9626424dc0420.jpg","text":"TemporaryFile(/tmp/multipartBody5713970238127478481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297370302,"filename":"image_08012025_01_47_02_678770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363761","file1":"1327363759","file0":"1327363758"},"map_files_photo_id_array":[{"photo_id":"1327363761","filename":"file2"},{"photo_id":"1327363759","filename":"file1"},{"photo_id":"1327363758","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363759":["hashtag1","hashtag2"]},{"1327363761":["hashtag1","hashtag2"]},{"1327363758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363759, 1327363761, 1327363758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.639006853103638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:49:02.679921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:49:22.023136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0002.jpg', '/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0000.jpg', '/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0001.jpg', '/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/48/image_08012025_01_48_02_338726_0002.jpg
/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0000.jpg
/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0001.jpg
/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363838","1327363840","1327363834","1327363836"],"photo_ids_order":["1327363834","1327363836","1327363838","1327363840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0c8f6515693fb281649d84c78266d88.jpg","text":"TemporaryFile(/tmp/multipartBody7494556573144055002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297432303,"filename":"image_08012025_01_49_02_857570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2c4d33278ee2f58dc73320568ff4a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6398168675123130754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297432303,"filename":"image_08012025_01_49_02_857570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b349a79ab8e438ea40c16f111b3e4382.jpg","text":"TemporaryFile(/tmp/multipartBody1986821100041906730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297432303,"filename":"image_08012025_01_48_02_338726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dd22c9ba38c6aa5bb75b647fc5f11dd.jpg","text":"TemporaryFile(/tmp/multipartBody2491611874031699025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297432303,"filename":"image_08012025_01_49_02_857570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363838","file1":"1327363836","file0":"1327363834","file3":"1327363840"},"map_files_photo_id_array":[{"photo_id":"1327363838","filename":"file2"},{"photo_id":"1327363836","filename":"file1"},{"photo_id":"1327363834","filename":"file0"},{"photo_id":"1327363840","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363838":["hashtag1","hashtag2"]},{"1327363840":["hashtag1","hashtag2"]},{"1327363834":["hashtag1","hashtag2"]},{"1327363836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363838, 1327363840, 1327363834, 1327363836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.696683168411255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:50:03.019666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:50:22.567036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0003.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0000.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0001.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0003.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0000.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0001.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.903674125671387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:51:02.787206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0003.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0000.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0001.jpg', '/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/49/image_08012025_01_49_02_857570_0003.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0000.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0001.jpg
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327363856","1327363857","1327363871","1327363859"],"photo_ids_order":["1327363856","1327363857","1327363859","1327363871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc50979bd50d811c38cd9e3eca028ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3150658567469263764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297533126,"filename":"image_08012025_01_49_02_857570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a2c742336934944091da38d354d7c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7987619574891439624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297533126,"filename":"image_08012025_01_50_02_426817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59a5e7dc540baad16cfcbe72ee78a93d.jpg","text":"TemporaryFile(/tmp/multipartBody7185679192516842949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297533126,"filename":"image_08012025_01_50_02_426817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1bd8a0aa2ade7c091b1cb60cbbe5c2de.jpg","text":"TemporaryFile(/tmp/multipartBody6296956913558700086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297533126,"filename":"image_08012025_01_50_02_426817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327363859","file1":"1327363857","file0":"1327363856","file3":"1327363871"},"map_files_photo_id_array":[{"photo_id":"1327363859","filename":"file2"},{"photo_id":"1327363857","filename":"file1"},{"photo_id":"1327363856","filename":"file0"},{"photo_id":"1327363871","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327363856":["hashtag1","hashtag2"]},{"1327363857":["hashtag1","hashtag2"]},{"1327363871":["hashtag1","hashtag2"]},{"1327363859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327363856, 1327363857, 1327363871, 1327363859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.594083070755005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:52:02.241014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0003.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0000.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0001.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0003.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0000.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0001.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.005883693695068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:52:21.777500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0003.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0000.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0001.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0002.jpg', '/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0003.jpg', '/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/50/image_08012025_01_50_02_426817_0003.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0000.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0001.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0002.jpg
/home/pi/Desktop/images/08012025/01/51/image_08012025_01_51_02_965352_0003.jpg
/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364024","1327364026","1327364028","1327364022","1327364030","1327364033"],"photo_ids_order":["1327364022","1327364024","1327364026","1327364028","1327364030","1327364033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce6dce62bff1d0d6b56804bfacbb9ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2499654508118784671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_51_02_965352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce3bc8ad3d8ed6be54f9a4c40c1bd6aa.jpg","text":"TemporaryFile(/tmp/multipartBody1554088159823450241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_51_02_965352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83d59ba647eeb63e93de99218d28a08d.jpg","text":"TemporaryFile(/tmp/multipartBody1039956723664105628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_51_02_965352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73b5d10f64b862a3d6f217efc6d57489.jpg","text":"TemporaryFile(/tmp/multipartBody5449967502937487993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_50_02_426817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7fd99fd096cf707fdbcfc04065bc6e82.jpg","text":"TemporaryFile(/tmp/multipartBody7295753861451878294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_51_02_965352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35340d5c998f8abb07f7ab72a8752e55.jpg","text":"TemporaryFile(/tmp/multipartBody2465790262596332294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297616991,"filename":"image_08012025_01_52_02_455632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364026","file1":"1327364024","file0":"1327364022","file4":"1327364030","file5":"1327364033","file3":"1327364028"},"map_files_photo_id_array":[{"photo_id":"1327364033","filename":"file5"},{"photo_id":"1327364026","filename":"file2"},{"photo_id":"1327364030","filename":"file4"},{"photo_id":"1327364024","filename":"file1"},{"photo_id":"1327364022","filename":"file0"},{"photo_id":"1327364028","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364024":["hashtag1","hashtag2"]},{"1327364026":["hashtag1","hashtag2"]},{"1327364028":["hashtag1","hashtag2"]},{"1327364022":["hashtag1","hashtag2"]},{"1327364030":["hashtag1","hashtag2"]},{"1327364033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364024, 1327364026, 1327364028, 1327364022, 1327364030, 1327364033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.05159902572632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:53:22.353234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0001.jpg', '/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0002.jpg', '/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0003.jpg', '/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0000.jpg', '/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0001.jpg', '/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0001.jpg
/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0002.jpg
/home/pi/Desktop/images/08012025/01/52/image_08012025_01_52_02_455632_0003.jpg
/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0000.jpg
/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0001.jpg
/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364044","1327364046","1327364037","1327364039","1327364042","1327364036"],"photo_ids_order":["1327364036","1327364037","1327364039","1327364042","1327364044","1327364046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a50b3d0772517fe564d04988c3917b9.jpg","text":"TemporaryFile(/tmp/multipartBody6868783145224411639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_53_02_158947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ced50416b3e529b349ca94c99b2efdb0.jpg","text":"TemporaryFile(/tmp/multipartBody6696997904606792377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_53_02_158947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69bd87ddb175a3bffa5e5cc759acf721.jpg","text":"TemporaryFile(/tmp/multipartBody2994037936991968356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_52_02_455632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ec69bd5966db833ea6791ff5d367fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3758176612571143915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_52_02_455632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/774b905ed02ee4478d7e3c63a7bc1f11.jpg","text":"TemporaryFile(/tmp/multipartBody7267652526708527748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_53_02_158947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7568faf409d6f08ab198d0752d288b76.jpg","text":"TemporaryFile(/tmp/multipartBody5445244791457532801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297677485,"filename":"image_08012025_01_52_02_455632_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364039","file1":"1327364037","file0":"1327364036","file4":"1327364044","file5":"1327364046","file3":"1327364042"},"map_files_photo_id_array":[{"photo_id":"1327364046","filename":"file5"},{"photo_id":"1327364039","filename":"file2"},{"photo_id":"1327364044","filename":"file4"},{"photo_id":"1327364037","filename":"file1"},{"photo_id":"1327364036","filename":"file0"},{"photo_id":"1327364042","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364044":["hashtag1","hashtag2"]},{"1327364046":["hashtag1","hashtag2"]},{"1327364037":["hashtag1","hashtag2"]},{"1327364039":["hashtag1","hashtag2"]},{"1327364042":["hashtag1","hashtag2"]},{"1327364036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364044, 1327364046, 1327364037, 1327364039, 1327364042, 1327364036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.061232566833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:54:21.847878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0003.jpg', '/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0000.jpg', '/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0001.jpg', '/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/53/image_08012025_01_53_02_158947_0003.jpg
/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0000.jpg
/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0001.jpg
/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364053","1327364050","1327364057","1327364048"],"photo_ids_order":["1327364048","1327364050","1327364053","1327364057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/996c74f7ee5e6edb2f242d4170de4c10.jpg","text":"TemporaryFile(/tmp/multipartBody5899673984894825680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297732184,"filename":"image_08012025_01_54_02_689694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e614f67005320fc178ed03e55c544488.jpg","text":"TemporaryFile(/tmp/multipartBody953906763039747868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297732184,"filename":"image_08012025_01_54_02_689694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51eaf960a171254832cae2687eaea37d.jpg","text":"TemporaryFile(/tmp/multipartBody6565174690496293221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297732184,"filename":"image_08012025_01_54_02_689694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b18cce6642451c233095efa30749d56.jpg","text":"TemporaryFile(/tmp/multipartBody4479000637186385150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297732184,"filename":"image_08012025_01_53_02_158947_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364053","file1":"1327364050","file0":"1327364048","file3":"1327364057"},"map_files_photo_id_array":[{"photo_id":"1327364053","filename":"file2"},{"photo_id":"1327364050","filename":"file1"},{"photo_id":"1327364048","filename":"file0"},{"photo_id":"1327364057","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364053":["hashtag1","hashtag2"]},{"1327364050":["hashtag1","hashtag2"]},{"1327364057":["hashtag1","hashtag2"]},{"1327364048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364053, 1327364050, 1327364057, 1327364048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.49858379364014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:55:22.414016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0003.jpg', '/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0000.jpg', '/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0001.jpg', '/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/54/image_08012025_01_54_02_689694_0003.jpg
/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0000.jpg
/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0001.jpg
/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364102","1327364100","1327364105","1327364108"],"photo_ids_order":["1327364100","1327364102","1327364105","1327364108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3f68db342915c0acb0d2862ae0696b4.jpg","text":"TemporaryFile(/tmp/multipartBody2561973563318299525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297792753,"filename":"image_08012025_01_55_02_259215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/66c19f39a757cece53fccfae798d01e1.jpg","text":"TemporaryFile(/tmp/multipartBody2352542331899151263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297792753,"filename":"image_08012025_01_54_02_689694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/249862bc7213aa1864caa4fc8169063d.jpg","text":"TemporaryFile(/tmp/multipartBody6690432178172092718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297792753,"filename":"image_08012025_01_55_02_259215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9d73c8369ee8d12ac1bd4e3d42e8609.jpg","text":"TemporaryFile(/tmp/multipartBody5232644426187223070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297792753,"filename":"image_08012025_01_55_02_259215_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364105","file1":"1327364102","file0":"1327364100","file3":"1327364108"},"map_files_photo_id_array":[{"photo_id":"1327364105","filename":"file2"},{"photo_id":"1327364102","filename":"file1"},{"photo_id":"1327364100","filename":"file0"},{"photo_id":"1327364108","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364102":["hashtag1","hashtag2"]},{"1327364100":["hashtag1","hashtag2"]},{"1327364105":["hashtag1","hashtag2"]},{"1327364108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364102, 1327364100, 1327364105, 1327364108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56775236129761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:56:22.052742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0003.jpg', '/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0000.jpg', '/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0001.jpg', '/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/55/image_08012025_01_55_02_259215_0003.jpg
/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0000.jpg
/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0001.jpg
/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364122","1327364116","1327364119","1327364114"],"photo_ids_order":["1327364114","1327364116","1327364119","1327364122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d832ea8df11d9e64895709035dbd5fa.jpg","text":"TemporaryFile(/tmp/multipartBody1136271526432350030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297852301,"filename":"image_08012025_01_56_02_864687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ddfd3ac63d27dc08937c7dce161223d.jpg","text":"TemporaryFile(/tmp/multipartBody2493444207151626273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297852301,"filename":"image_08012025_01_56_02_864687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f8933357c1c03e70f6ab5b785e9fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1103114361575809823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297852301,"filename":"image_08012025_01_56_02_864687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/064c6898d2c7c40addfa479ad663a99e.jpg","text":"TemporaryFile(/tmp/multipartBody6409488329599455671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736297852301,"filename":"image_08012025_01_55_02_259215_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364119","file1":"1327364116","file0":"1327364114","file3":"1327364122"},"map_files_photo_id_array":[{"photo_id":"1327364119","filename":"file2"},{"photo_id":"1327364116","filename":"file1"},{"photo_id":"1327364114","filename":"file0"},{"photo_id":"1327364122","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364122":["hashtag1","hashtag2"]},{"1327364116":["hashtag1","hashtag2"]},{"1327364119":["hashtag1","hashtag2"]},{"1327364114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364122, 1327364116, 1327364119, 1327364114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.612380504608154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 01:57:03.223330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 01:57:22.621506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0003.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0000.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0001.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0003.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0000.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0001.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_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-08 01:59:03.000744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0003.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0000.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0001.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0002.jpg', '/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0003.jpg', '/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/56/image_08012025_01_56_02_864687_0003.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0000.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0001.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0002.jpg
/home/pi/Desktop/images/08012025/01/57/image_08012025_01_57_02_434388_0003.jpg
/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364257","1327364256","1327364250","1327364253","1327364240","1327364246"],"photo_ids_order":["1327364240","1327364246","1327364250","1327364253","1327364256","1327364257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13ccbcf361ecf872b5c2282eb38fd913.jpg","text":"TemporaryFile(/tmp/multipartBody4135648499717634134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_58_02_925649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2fcad7a7a1b82c0f1dafa7d4eb742f66.jpg","text":"TemporaryFile(/tmp/multipartBody9214131055611815109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_57_02_434388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/860afb93416e7d3d7844ae4f1ddc5bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5301023263800898834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_57_02_434388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21d1954ca734adffc45f23282df12e13.jpg","text":"TemporaryFile(/tmp/multipartBody675527074985934404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_57_02_434388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31cea96e147e3266f098ed058f5ba684.jpg","text":"TemporaryFile(/tmp/multipartBody873085624212595751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_56_02_864687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f99f515b77bc12bec66246d484ba9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2966285637565694890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298018224,"filename":"image_08012025_01_57_02_434388_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364250","file1":"1327364246","file0":"1327364240","file4":"1327364256","file5":"1327364257","file3":"1327364253"},"map_files_photo_id_array":[{"photo_id":"1327364257","filename":"file5"},{"photo_id":"1327364250","filename":"file2"},{"photo_id":"1327364256","filename":"file4"},{"photo_id":"1327364246","filename":"file1"},{"photo_id":"1327364240","filename":"file0"},{"photo_id":"1327364253","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364257":["hashtag1","hashtag2"]},{"1327364256":["hashtag1","hashtag2"]},{"1327364250":["hashtag1","hashtag2"]},{"1327364253":["hashtag1","hashtag2"]},{"1327364240":["hashtag1","hashtag2"]},{"1327364246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364257, 1327364256, 1327364250, 1327364253, 1327364240, 1327364246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.307902812957764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:00:02.452044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0001.jpg', '/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0002.jpg', '/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0003.jpg', '/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0000.jpg', '/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0001.jpg', '/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0001.jpg
/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0002.jpg
/home/pi/Desktop/images/08012025/01/58/image_08012025_01_58_02_925649_0003.jpg
/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0000.jpg
/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0001.jpg
/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327364284","1327364793","1327364286","1327364282","1327364528","1327364363"],"photo_ids_order":["1327364282","1327364284","1327364286","1327364363","1327364528","1327364793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f78b6a94caa9ab8070db62e4cc8f1add.jpg","text":"TemporaryFile(/tmp/multipartBody4123433647765774281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_58_02_925649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a4d608ff1a17617a224e7693a43a6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3019259875043072638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_59_02_624804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ffa7ce65910905ded2bdef9a187ae71.jpg","text":"TemporaryFile(/tmp/multipartBody8954192378838143741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_58_02_925649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5dd60f73445beff3dfc535d92664ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4071685180269643678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_58_02_925649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4204d779cdda7aa484a1209a5b6cccd0.jpg","text":"TemporaryFile(/tmp/multipartBody6527746294453189991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_59_02_624804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfd1b94e3c1f469bcfc8b4510595e65d.jpg","text":"TemporaryFile(/tmp/multipartBody8326038512105565616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298077665,"filename":"image_08012025_01_59_02_624804_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327364286","file1":"1327364284","file0":"1327364282","file4":"1327364528","file5":"1327364793","file3":"1327364363"},"map_files_photo_id_array":[{"photo_id":"1327364793","filename":"file5"},{"photo_id":"1327364286","filename":"file2"},{"photo_id":"1327364528","filename":"file4"},{"photo_id":"1327364284","filename":"file1"},{"photo_id":"1327364282","filename":"file0"},{"photo_id":"1327364363","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327364284":["hashtag1","hashtag2"]},{"1327364793":["hashtag1","hashtag2"]},{"1327364286":["hashtag1","hashtag2"]},{"1327364282":["hashtag1","hashtag2"]},{"1327364528":["hashtag1","hashtag2"]},{"1327364363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327364284, 1327364793, 1327364286, 1327364282, 1327364528, 1327364363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.85148072242737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:01:03.265361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0003.jpg', '/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0000.jpg', '/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0001.jpg', '/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/01/59/image_08012025_01_59_02_624804_0003.jpg
/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0000.jpg
/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0001.jpg
/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327365544","1327365543","1327365587","1327365545"],"photo_ids_order":["1327365543","1327365544","1327365545","1327365587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab3b28f3eadb4856ce8f86add1bb3254.jpg","text":"TemporaryFile(/tmp/multipartBody5565042343159939274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298133585,"filename":"image_08012025_02_00_02_841486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11d431613bbe2ce8afbf04249b205204.jpg","text":"TemporaryFile(/tmp/multipartBody3677478483146619464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298133585,"filename":"image_08012025_01_59_02_624804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e078f75a751f6481cc6ab0a709de8de.jpg","text":"TemporaryFile(/tmp/multipartBody255213064821715836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298133585,"filename":"image_08012025_02_00_02_841486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/635e6a38d4eb65948aabad9de6abf876.jpg","text":"TemporaryFile(/tmp/multipartBody4973739064300639232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298133585,"filename":"image_08012025_02_00_02_841486_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327365545","file1":"1327365544","file0":"1327365543","file3":"1327365587"},"map_files_photo_id_array":[{"photo_id":"1327365545","filename":"file2"},{"photo_id":"1327365544","filename":"file1"},{"photo_id":"1327365543","filename":"file0"},{"photo_id":"1327365587","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327365544":["hashtag1","hashtag2"]},{"1327365543":["hashtag1","hashtag2"]},{"1327365587":["hashtag1","hashtag2"]},{"1327365545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327365544, 1327365543, 1327365587, 1327365545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.571656942367554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:02:02.776599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0003.jpg', '/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0000.jpg', '/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0001.jpg', '/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/00/image_08012025_02_00_02_841486_0003.jpg
/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0000.jpg
/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0001.jpg
/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327365804","1327366022","1327365638","1327366042"],"photo_ids_order":["1327365638","1327365804","1327366022","1327366042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df9fc1d0b6a6e65a280cfcf970c878dd.jpg","text":"TemporaryFile(/tmp/multipartBody1159538704017151298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298192952,"filename":"image_08012025_02_01_02_534458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18a851d99f59764c60ef8cafd0376b23.jpg","text":"TemporaryFile(/tmp/multipartBody8053544510900013461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298192952,"filename":"image_08012025_02_01_02_534458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1385ea95e521276bd901b8a9af04ff00.jpg","text":"TemporaryFile(/tmp/multipartBody5508043442742058649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298192952,"filename":"image_08012025_02_00_02_841486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5606217b8585b447d41a88fdfeeeae89.jpg","text":"TemporaryFile(/tmp/multipartBody3065386994009307131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298192952,"filename":"image_08012025_02_01_02_534458_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327366022","file1":"1327365804","file0":"1327365638","file3":"1327366042"},"map_files_photo_id_array":[{"photo_id":"1327366022","filename":"file2"},{"photo_id":"1327365804","filename":"file1"},{"photo_id":"1327365638","filename":"file0"},{"photo_id":"1327366042","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327365804":["hashtag1","hashtag2"]},{"1327366022":["hashtag1","hashtag2"]},{"1327365638":["hashtag1","hashtag2"]},{"1327366042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327365804, 1327366022, 1327365638, 1327366042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.160958766937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:03:02.349251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0003.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0000.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0001.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0003.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0000.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0001.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.988898754119873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:03:21.744398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0003.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0000.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0001.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0002.jpg', '/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0003.jpg', '/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/01/image_08012025_02_01_02_534458_0003.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0000.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0001.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0002.jpg
/home/pi/Desktop/images/08012025/02/02/image_08012025_02_02_03_040048_0003.jpg
/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327366170","1327366164","1327366166","1327366169","1327366160","1327366162"],"photo_ids_order":["1327366160","1327366162","1327366164","1327366166","1327366169","1327366170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/354ac4aa651ea4fd2e102fafe0649ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1437510583514423276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_03_02_675780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e4cd957cbebc9f5257bfa11841d074f.jpg","text":"TemporaryFile(/tmp/multipartBody2134861397508758677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_02_03_040048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56e8f5422f166968c884cb499dfbaa36.jpg","text":"TemporaryFile(/tmp/multipartBody3967694393529374211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_02_03_040048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee65cb8fe2446ea1b089fe3bac92408b.jpg","text":"TemporaryFile(/tmp/multipartBody5265820769943675962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_02_03_040048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95a5a1be884f9e6178c724e5d9bbbfab.jpg","text":"TemporaryFile(/tmp/multipartBody8527468400517848126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_01_02_534458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8416ffa35a65ad2d42df0f0bfb205396.jpg","text":"TemporaryFile(/tmp/multipartBody5119756781750351349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298276942,"filename":"image_08012025_02_02_03_040048_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327366164","file1":"1327366162","file0":"1327366160","file4":"1327366169","file5":"1327366170","file3":"1327366166"},"map_files_photo_id_array":[{"photo_id":"1327366170","filename":"file5"},{"photo_id":"1327366164","filename":"file2"},{"photo_id":"1327366169","filename":"file4"},{"photo_id":"1327366162","filename":"file1"},{"photo_id":"1327366160","filename":"file0"},{"photo_id":"1327366166","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327366170":["hashtag1","hashtag2"]},{"1327366164":["hashtag1","hashtag2"]},{"1327366166":["hashtag1","hashtag2"]},{"1327366169":["hashtag1","hashtag2"]},{"1327366160":["hashtag1","hashtag2"]},{"1327366162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327366170, 1327366164, 1327366166, 1327366169, 1327366160, 1327366162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.02846670150757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:04:22.476320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0001.jpg', '/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0002.jpg', '/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0003.jpg', '/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0000.jpg', '/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0001.jpg', '/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0001.jpg
/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0002.jpg
/home/pi/Desktop/images/08012025/02/03/image_08012025_02_03_02_675780_0003.jpg
/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0000.jpg
/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0001.jpg
/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327367170","1327367164","1327367173","1327367176","1327367178","1327367166"],"photo_ids_order":["1327367164","1327367166","1327367170","1327367173","1327367176","1327367178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3081b16fe351a2b8d78a72a2252dd6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6486369404915097786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_03_02_675780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdc7f431a286d287084540c1ab843fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4860110188304488787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_03_02_675780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ba8cde17e3dd572de7e2d19d59b3ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4365636711373049188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_04_02_217589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab360b05253d948682fe7cd7171c176d.jpg","text":"TemporaryFile(/tmp/multipartBody3883712765637833327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_04_02_217589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/058f887773f213225e981f0c3142978a.jpg","text":"TemporaryFile(/tmp/multipartBody1062405098544640982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_04_02_217589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab14d0193b9dd6d7fa3c38914f4c26db.jpg","text":"TemporaryFile(/tmp/multipartBody1100886242487086972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298337442,"filename":"image_08012025_02_03_02_675780_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327367170","file1":"1327367166","file0":"1327367164","file4":"1327367176","file5":"1327367178","file3":"1327367173"},"map_files_photo_id_array":[{"photo_id":"1327367178","filename":"file5"},{"photo_id":"1327367170","filename":"file2"},{"photo_id":"1327367176","filename":"file4"},{"photo_id":"1327367166","filename":"file1"},{"photo_id":"1327367164","filename":"file0"},{"photo_id":"1327367173","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327367170":["hashtag1","hashtag2"]},{"1327367164":["hashtag1","hashtag2"]},{"1327367173":["hashtag1","hashtag2"]},{"1327367176":["hashtag1","hashtag2"]},{"1327367178":["hashtag1","hashtag2"]},{"1327367166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327367170, 1327367164, 1327367173, 1327367176, 1327367178, 1327367166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12122392654419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:05:22.006336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0003.jpg', '/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0000.jpg', '/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0001.jpg', '/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/04/image_08012025_02_04_02_217589_0003.jpg
/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0000.jpg
/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0001.jpg
/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327367412","1327367336","1327367402","1327367410"],"photo_ids_order":["1327367336","1327367402","1327367410","1327367412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a528e3c77e12b59a984c223d7847ce5.jpg","text":"TemporaryFile(/tmp/multipartBody7557764152825669828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298392239,"filename":"image_08012025_02_05_02_846349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17e22e4d6e49e80e355234232440c6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5027174973324498128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298392239,"filename":"image_08012025_02_04_02_217589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65455b9281102037a6249dbf70d1d305.jpg","text":"TemporaryFile(/tmp/multipartBody134461919653833054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298392239,"filename":"image_08012025_02_05_02_846349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28907ac05e5b2e1c14256cbc42fc1c60.jpg","text":"TemporaryFile(/tmp/multipartBody3426050875052614864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298392239,"filename":"image_08012025_02_05_02_846349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327367410","file1":"1327367402","file0":"1327367336","file3":"1327367412"},"map_files_photo_id_array":[{"photo_id":"1327367410","filename":"file2"},{"photo_id":"1327367402","filename":"file1"},{"photo_id":"1327367336","filename":"file0"},{"photo_id":"1327367412","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327367412":["hashtag1","hashtag2"]},{"1327367336":["hashtag1","hashtag2"]},{"1327367402":["hashtag1","hashtag2"]},{"1327367410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327367412, 1327367336, 1327367402, 1327367410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.907872915267944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:06:02.954965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:06:22.528975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0003.jpg', '/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0000.jpg', '/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0001.jpg', '/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/05/image_08012025_02_05_02_846349_0003.jpg
/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0000.jpg
/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0001.jpg
/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327369492","1327369482","1327369490","1327369484"],"photo_ids_order":["1327369482","1327369484","1327369490","1327369492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbf5d01ce03f73e76e82915e8aad7717.jpg","text":"TemporaryFile(/tmp/multipartBody156435628882191867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298452965,"filename":"image_08012025_02_06_02_349835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a6db40fe5a3c0e066b5692a6f94ddaf.jpg","text":"TemporaryFile(/tmp/multipartBody3434994450844928528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298452965,"filename":"image_08012025_02_05_02_846349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6461912b2cf0f6ebc316c31be10673ac.jpg","text":"TemporaryFile(/tmp/multipartBody8530198725220887689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298452965,"filename":"image_08012025_02_06_02_349835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6dd1c94c260359d9944c8712b5a7ede9.jpg","text":"TemporaryFile(/tmp/multipartBody7291216798008248162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298452965,"filename":"image_08012025_02_06_02_349835_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327369490","file1":"1327369484","file0":"1327369482","file3":"1327369492"},"map_files_photo_id_array":[{"photo_id":"1327369490","filename":"file2"},{"photo_id":"1327369484","filename":"file1"},{"photo_id":"1327369482","filename":"file0"},{"photo_id":"1327369492","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327369492":["hashtag1","hashtag2"]},{"1327369482":["hashtag1","hashtag2"]},{"1327369490":["hashtag1","hashtag2"]},{"1327369484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327369492, 1327369482, 1327369490, 1327369484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.098482847213745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:07:02.527835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:07:21.982703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0003.jpg', '/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0000.jpg', '/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0001.jpg', '/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/06/image_08012025_02_06_02_349835_0003.jpg
/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0000.jpg
/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0001.jpg
/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327370140","1327370014","1327369824","1327370145"],"photo_ids_order":["1327369824","1327370014","1327370140","1327370145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5040d18e363b1687bac2338137b5249e.jpg","text":"TemporaryFile(/tmp/multipartBody5789360288467449175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298512254,"filename":"image_08012025_02_07_02_863021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e13752516a706c796bf00fb6c6f88b3.jpg","text":"TemporaryFile(/tmp/multipartBody5796264189878516511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298512254,"filename":"image_08012025_02_07_02_863021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a19d8e6084d13988764983d72f2a6442.jpg","text":"TemporaryFile(/tmp/multipartBody4942216428512018550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298512254,"filename":"image_08012025_02_06_02_349835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42dca2920ae11bb322c32be7474481d5.jpg","text":"TemporaryFile(/tmp/multipartBody6913590606123120070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298512254,"filename":"image_08012025_02_07_02_863021_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327370140","file1":"1327370014","file0":"1327369824","file3":"1327370145"},"map_files_photo_id_array":[{"photo_id":"1327370140","filename":"file2"},{"photo_id":"1327370014","filename":"file1"},{"photo_id":"1327369824","filename":"file0"},{"photo_id":"1327370145","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327370140":["hashtag1","hashtag2"]},{"1327370014":["hashtag1","hashtag2"]},{"1327369824":["hashtag1","hashtag2"]},{"1327370145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327370140, 1327370014, 1327369824, 1327370145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.110840797424316 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-08 02:08:22.702200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0003.jpg', '/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0000.jpg', '/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0001.jpg', '/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/07/image_08012025_02_07_02_863021_0003.jpg
/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0000.jpg
/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0001.jpg
/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327370714","1327370234","1327370269","1327370448"],"photo_ids_order":["1327370234","1327370269","1327370448","1327370714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a02721daa9a85c5d17615028349caf4.jpg","text":"TemporaryFile(/tmp/multipartBody3225139011767053169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298573041,"filename":"image_08012025_02_08_02_319676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31ea6f5384458e756846c28a45bbf3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8524918611366496044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298573041,"filename":"image_08012025_02_07_02_863021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f29690c9dce0adcff5e3ecb6f9a7993f.jpg","text":"TemporaryFile(/tmp/multipartBody7134947546814610887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298573041,"filename":"image_08012025_02_08_02_319676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2591516f92207a5073309f49ddffecb.jpg","text":"TemporaryFile(/tmp/multipartBody7052198428398543272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298573041,"filename":"image_08012025_02_08_02_319676_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327370448","file1":"1327370269","file0":"1327370234","file3":"1327370714"},"map_files_photo_id_array":[{"photo_id":"1327370448","filename":"file2"},{"photo_id":"1327370269","filename":"file1"},{"photo_id":"1327370234","filename":"file0"},{"photo_id":"1327370714","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327370714":["hashtag1","hashtag2"]},{"1327370234":["hashtag1","hashtag2"]},{"1327370269":["hashtag1","hashtag2"]},{"1327370448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327370714, 1327370234, 1327370269, 1327370448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60303854942322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:09:22.187534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0003.jpg', '/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0000.jpg', '/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0001.jpg', '/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/08/image_08012025_02_08_02_319676_0003.jpg
/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0000.jpg
/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0001.jpg
/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327371413","1327371415","1327371417","1327371411"],"photo_ids_order":["1327371411","1327371413","1327371415","1327371417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72f9fdbf1d9821147c199e3a97699532.jpg","text":"TemporaryFile(/tmp/multipartBody122706234642529155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298632495,"filename":"image_08012025_02_09_03_102806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aeda867352df1b2c475252ff86d0de41.jpg","text":"TemporaryFile(/tmp/multipartBody2578108854476538241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298632495,"filename":"image_08012025_02_09_03_102806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/410be37ae2a6a79af008ee9d78b08e27.jpg","text":"TemporaryFile(/tmp/multipartBody8578603197098222202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298632495,"filename":"image_08012025_02_09_03_102806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50cbf4ea56b66c12c95f60ea5fa270b3.jpg","text":"TemporaryFile(/tmp/multipartBody3436106950990090081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298632495,"filename":"image_08012025_02_08_02_319676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327371415","file1":"1327371413","file0":"1327371411","file3":"1327371417"},"map_files_photo_id_array":[{"photo_id":"1327371415","filename":"file2"},{"photo_id":"1327371413","filename":"file1"},{"photo_id":"1327371411","filename":"file0"},{"photo_id":"1327371417","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327371413":["hashtag1","hashtag2"]},{"1327371415":["hashtag1","hashtag2"]},{"1327371417":["hashtag1","hashtag2"]},{"1327371411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327371413, 1327371415, 1327371417, 1327371411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40970849990845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:10:21.829763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0003.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0000.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0001.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0003.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0000.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0001.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.893511533737183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:11:02.955835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0003.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0000.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0001.jpg', '/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/09/image_08012025_02_09_03_102806_0003.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0000.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0001.jpg
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327372007","1327372006","1327372005","1327372004"],"photo_ids_order":["1327372004","1327372005","1327372006","1327372007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1e3c44dd59c7802265df007855d199b.jpg","text":"TemporaryFile(/tmp/multipartBody3801953596228614758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298733297,"filename":"image_08012025_02_10_02_649007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c908e51b9e71e8f8b819f13049b54117.jpg","text":"TemporaryFile(/tmp/multipartBody830416665885338235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298733297,"filename":"image_08012025_02_10_02_649007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ccfdaf0b125496a1981f5dce64826df4.jpg","text":"TemporaryFile(/tmp/multipartBody4419743468348976151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298733297,"filename":"image_08012025_02_10_02_649007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec7be9412f95728ab386659cc870b995.jpg","text":"TemporaryFile(/tmp/multipartBody2421933557828863331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298733297,"filename":"image_08012025_02_09_03_102806_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327372006","file1":"1327372005","file0":"1327372004","file3":"1327372007"},"map_files_photo_id_array":[{"photo_id":"1327372006","filename":"file2"},{"photo_id":"1327372005","filename":"file1"},{"photo_id":"1327372004","filename":"file0"},{"photo_id":"1327372007","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327372007":["hashtag1","hashtag2"]},{"1327372006":["hashtag1","hashtag2"]},{"1327372005":["hashtag1","hashtag2"]},{"1327372004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327372007, 1327372006, 1327372005, 1327372004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92750263214111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:12:02.351641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0003.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0000.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0001.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0003.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0000.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0001.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.933973789215088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:12:21.973806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0003.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0000.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0001.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0002.jpg', '/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0003.jpg', '/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/10/image_08012025_02_10_02_649007_0003.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0000.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0001.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0002.jpg
/home/pi/Desktop/images/08012025/02/11/image_08012025_02_11_02_182283_0003.jpg
/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327372024","1327372018","1327372027","1327372020","1327372022","1327372025"],"photo_ids_order":["1327372018","1327372020","1327372022","1327372024","1327372025","1327372027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16831436b6504861e6bb1d73bb512b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3624788498501795575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_11_02_182283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5542b98ef630008639565fea057e9a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1698801220827110445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_10_02_649007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9221f3bb353fa8b98532ecddd4c7eeff.jpg","text":"TemporaryFile(/tmp/multipartBody2832041032783151342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_12_02_705810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4749c67d7ee80d44c4fc9877daf81752.jpg","text":"TemporaryFile(/tmp/multipartBody3390290341767636748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_11_02_182283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c98210a39bd268f6129bd55d2825775e.jpg","text":"TemporaryFile(/tmp/multipartBody7347401752894930927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_11_02_182283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59c7e503bfe88ebdda8a4ed4236eff4f.jpg","text":"TemporaryFile(/tmp/multipartBody4170277343147935775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298817089,"filename":"image_08012025_02_11_02_182283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327372022","file1":"1327372020","file0":"1327372018","file4":"1327372025","file5":"1327372027","file3":"1327372024"},"map_files_photo_id_array":[{"photo_id":"1327372027","filename":"file5"},{"photo_id":"1327372022","filename":"file2"},{"photo_id":"1327372025","filename":"file4"},{"photo_id":"1327372020","filename":"file1"},{"photo_id":"1327372018","filename":"file0"},{"photo_id":"1327372024","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327372024":["hashtag1","hashtag2"]},{"1327372018":["hashtag1","hashtag2"]},{"1327372027":["hashtag1","hashtag2"]},{"1327372020":["hashtag1","hashtag2"]},{"1327372022":["hashtag1","hashtag2"]},{"1327372025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327372024, 1327372018, 1327372027, 1327372020, 1327372022, 1327372025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.495171546936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:13:22.557279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0001.jpg', '/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0002.jpg', '/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0003.jpg', '/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0000.jpg', '/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0001.jpg', '/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0001.jpg
/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0002.jpg
/home/pi/Desktop/images/08012025/02/12/image_08012025_02_12_02_705810_0003.jpg
/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0000.jpg
/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0001.jpg
/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327373487","1327372860","1327373582","1327373159","1327372589","1327372313"],"photo_ids_order":["1327372313","1327372589","1327372860","1327373159","1327373487","1327373582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3615d0da991f1b94e54dab1a47ce4d87.jpg","text":"TemporaryFile(/tmp/multipartBody327282517268921224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_13_02_397926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48fe0e32994f1156f264ad2b94a079cf.jpg","text":"TemporaryFile(/tmp/multipartBody3517125770656049807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_12_02_705810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8333289879327a2c6c043f6ee214206f.jpg","text":"TemporaryFile(/tmp/multipartBody1833680102881457884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_13_02_397926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ea8a3e15f55a392f96c8c8fcf424c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5658769398424730954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_13_02_397926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2951507dbf01228b3569b040c8acd1d0.jpg","text":"TemporaryFile(/tmp/multipartBody6419986278287918786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_12_02_705810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b765fcc2380ffc7667ca45b7fcfb132e.jpg","text":"TemporaryFile(/tmp/multipartBody7156648159064494095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298877697,"filename":"image_08012025_02_12_02_705810_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327372860","file1":"1327372589","file0":"1327372313","file4":"1327373487","file5":"1327373582","file3":"1327373159"},"map_files_photo_id_array":[{"photo_id":"1327373582","filename":"file5"},{"photo_id":"1327372860","filename":"file2"},{"photo_id":"1327373487","filename":"file4"},{"photo_id":"1327372589","filename":"file1"},{"photo_id":"1327372313","filename":"file0"},{"photo_id":"1327373159","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327373487":["hashtag1","hashtag2"]},{"1327372860":["hashtag1","hashtag2"]},{"1327373582":["hashtag1","hashtag2"]},{"1327373159":["hashtag1","hashtag2"]},{"1327372589":["hashtag1","hashtag2"]},{"1327372313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327373487, 1327372860, 1327373582, 1327373159, 1327372589, 1327372313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.52537775039673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:14:22.098780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0003.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0000.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0001.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0003.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0000.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0001.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.856106996536255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:15:03.168997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0003.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0000.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0001.jpg', '/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/13/image_08012025_02_13_02_397926_0003.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0000.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0001.jpg
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327373713","1327373661","1327373660","1327373662"],"photo_ids_order":["1327373660","1327373661","1327373662","1327373713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/415bf1a43b24bcae165b20bd206d41bc.jpg","text":"TemporaryFile(/tmp/multipartBody1375638499472307474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298973497,"filename":"image_08012025_02_14_02_964594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da50cfae7d5176c80fd9d59048e6e03a.jpg","text":"TemporaryFile(/tmp/multipartBody5192611974744937061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298973497,"filename":"image_08012025_02_14_02_964594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16c45b77bd696f6bb50deff520d97ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2710568983879401368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298973497,"filename":"image_08012025_02_13_02_397926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/344905bb09de0cb4c909bb4c5b801687.jpg","text":"TemporaryFile(/tmp/multipartBody1087456589781470021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736298973497,"filename":"image_08012025_02_14_02_964594_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327373662","file1":"1327373661","file0":"1327373660","file3":"1327373713"},"map_files_photo_id_array":[{"photo_id":"1327373662","filename":"file2"},{"photo_id":"1327373661","filename":"file1"},{"photo_id":"1327373660","filename":"file0"},{"photo_id":"1327373713","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327373713":["hashtag1","hashtag2"]},{"1327373661":["hashtag1","hashtag2"]},{"1327373660":["hashtag1","hashtag2"]},{"1327373662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327373713, 1327373661, 1327373660, 1327373662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14532208442688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:16:02.781113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0003.jpg', '/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0000.jpg', '/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0001.jpg', '/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/14/image_08012025_02_14_02_964594_0003.jpg
/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0000.jpg
/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0001.jpg
/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374234","1327374269","1327374268","1327374235"],"photo_ids_order":["1327374234","1327374235","1327374268","1327374269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/342f7038176f68953f75ed7a0dd6ae95.jpg","text":"TemporaryFile(/tmp/multipartBody6262432055564578809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299033102,"filename":"image_08012025_02_14_02_964594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/271d6270c54eff830ad056dce3898cac.jpg","text":"TemporaryFile(/tmp/multipartBody7793536431965379813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299033102,"filename":"image_08012025_02_15_02_502757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cff78b09f41052fb7a36ebb5152943d.jpg","text":"TemporaryFile(/tmp/multipartBody319056443219761944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299033102,"filename":"image_08012025_02_15_02_502757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dfd579b694375179dc698ed8204fab7.jpg","text":"TemporaryFile(/tmp/multipartBody8278660699732917235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299033102,"filename":"image_08012025_02_15_02_502757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374268","file1":"1327374235","file0":"1327374234","file3":"1327374269"},"map_files_photo_id_array":[{"photo_id":"1327374268","filename":"file2"},{"photo_id":"1327374235","filename":"file1"},{"photo_id":"1327374234","filename":"file0"},{"photo_id":"1327374269","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374234":["hashtag1","hashtag2"]},{"1327374269":["hashtag1","hashtag2"]},{"1327374268":["hashtag1","hashtag2"]},{"1327374235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374234, 1327374269, 1327374268, 1327374235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68287205696106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:17:02.407930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0003.jpg', '/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0000.jpg', '/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0001.jpg', '/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/15/image_08012025_02_15_02_502757_0003.jpg
/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0000.jpg
/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0001.jpg
/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374276","1327374280","1327374277","1327374279"],"photo_ids_order":["1327374276","1327374277","1327374279","1327374280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67bddae7d412f93793c6232fd20de5b3.jpg","text":"TemporaryFile(/tmp/multipartBody6637355525660634276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299092645,"filename":"image_08012025_02_15_02_502757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/017e83184d1e8016931e0c10702b72c3.jpg","text":"TemporaryFile(/tmp/multipartBody877844679894239403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299092645,"filename":"image_08012025_02_16_03_065370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5995a585e545bcc671325c735b1ca8e1.jpg","text":"TemporaryFile(/tmp/multipartBody3745159201878158041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299092645,"filename":"image_08012025_02_16_03_065370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e56f51b990865ad173c7ac6959ad607.jpg","text":"TemporaryFile(/tmp/multipartBody6192415725462841351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299092645,"filename":"image_08012025_02_16_03_065370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374279","file1":"1327374277","file0":"1327374276","file3":"1327374280"},"map_files_photo_id_array":[{"photo_id":"1327374279","filename":"file2"},{"photo_id":"1327374277","filename":"file1"},{"photo_id":"1327374276","filename":"file0"},{"photo_id":"1327374280","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374276":["hashtag1","hashtag2"]},{"1327374280":["hashtag1","hashtag2"]},{"1327374277":["hashtag1","hashtag2"]},{"1327374279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374276, 1327374280, 1327374277, 1327374279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.238043785095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:18:03.001566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0003.jpg', '/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0000.jpg', '/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0001.jpg', '/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/16/image_08012025_02_16_03_065370_0003.jpg
/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0000.jpg
/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0001.jpg
/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374293","1327374296","1327374290","1327374291"],"photo_ids_order":["1327374290","1327374291","1327374293","1327374296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c820b8ee225584ea2ce3cbbbc06b6878.jpg","text":"TemporaryFile(/tmp/multipartBody8030198937944414357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299153361,"filename":"image_08012025_02_17_02_691020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/382df7e1b20930c59d98bb1f9dcf869b.jpg","text":"TemporaryFile(/tmp/multipartBody2995510674665872777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299153361,"filename":"image_08012025_02_17_02_691020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/059ae7131b6841e3253a035df4e95202.jpg","text":"TemporaryFile(/tmp/multipartBody2184367429007943334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299153361,"filename":"image_08012025_02_16_03_065370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f27e6fd8f5aa6dcb46c3035b8b8b902.jpg","text":"TemporaryFile(/tmp/multipartBody6008106445379351624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299153361,"filename":"image_08012025_02_17_02_691020_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374293","file1":"1327374291","file0":"1327374290","file3":"1327374296"},"map_files_photo_id_array":[{"photo_id":"1327374293","filename":"file2"},{"photo_id":"1327374291","filename":"file1"},{"photo_id":"1327374290","filename":"file0"},{"photo_id":"1327374296","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374293":["hashtag1","hashtag2"]},{"1327374296":["hashtag1","hashtag2"]},{"1327374290":["hashtag1","hashtag2"]},{"1327374291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374293, 1327374296, 1327374290, 1327374291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25875115394592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:19:02.635810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0003.jpg', '/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0000.jpg', '/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0001.jpg', '/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/17/image_08012025_02_17_02_691020_0003.jpg
/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0000.jpg
/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0001.jpg
/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374303","1327374312","1327374306","1327374304"],"photo_ids_order":["1327374303","1327374304","1327374306","1327374312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02456882dad068ad7362e75820a176ea.jpg","text":"TemporaryFile(/tmp/multipartBody520533053346344984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299213025,"filename":"image_08012025_02_17_02_691020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efa1d7f60048a34bb05c1d58dd1467f9.jpg","text":"TemporaryFile(/tmp/multipartBody2807185181774329797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299213025,"filename":"image_08012025_02_18_02_262174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05a0f891aec365364121f0314b47b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody971279980017238432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299213025,"filename":"image_08012025_02_18_02_262174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dad99815127e4f8080b27e208e6df378.jpg","text":"TemporaryFile(/tmp/multipartBody2542354290623500069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299213025,"filename":"image_08012025_02_18_02_262174_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374306","file1":"1327374304","file0":"1327374303","file3":"1327374312"},"map_files_photo_id_array":[{"photo_id":"1327374306","filename":"file2"},{"photo_id":"1327374304","filename":"file1"},{"photo_id":"1327374303","filename":"file0"},{"photo_id":"1327374312","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374303":["hashtag1","hashtag2"]},{"1327374312":["hashtag1","hashtag2"]},{"1327374306":["hashtag1","hashtag2"]},{"1327374304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374303, 1327374312, 1327374306, 1327374304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.113471031188965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:20:03.124484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0003.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0000.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0001.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0003.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0000.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0001.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.873701333999634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:20:22.658947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0003.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0000.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0001.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0002.jpg', '/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0003.jpg', '/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/18/image_08012025_02_18_02_262174_0003.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0000.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0001.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0002.jpg
/home/pi/Desktop/images/08012025/02/19/image_08012025_02_19_02_893279_0003.jpg
/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374375","1327374369","1327374377","1327374371","1327374373","1327374367"],"photo_ids_order":["1327374367","1327374369","1327374371","1327374373","1327374375","1327374377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7af508534d46bb29884b5b771391f4d.jpg","text":"TemporaryFile(/tmp/multipartBody9018878415339883860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_19_02_893279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e0dfcac3c4c3ec6e6529a7912a61ece.jpg","text":"TemporaryFile(/tmp/multipartBody260791634725898342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_19_02_893279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3b3d84f1a6893436d8a5c5f23b52bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1239694786279419335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_20_02_410253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1a802ca0050817603c988c7a653d2b6.jpg","text":"TemporaryFile(/tmp/multipartBody9114723732073794982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_19_02_893279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61d16024e35d524cd08beeb5d81a9e75.jpg","text":"TemporaryFile(/tmp/multipartBody7956595483257056366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_19_02_893279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae5ca75cb2042158315e57f56c7b6486.jpg","text":"TemporaryFile(/tmp/multipartBody980104696655709884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299297740,"filename":"image_08012025_02_18_02_262174_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374371","file1":"1327374369","file0":"1327374367","file4":"1327374375","file5":"1327374377","file3":"1327374373"},"map_files_photo_id_array":[{"photo_id":"1327374377","filename":"file5"},{"photo_id":"1327374371","filename":"file2"},{"photo_id":"1327374375","filename":"file4"},{"photo_id":"1327374369","filename":"file1"},{"photo_id":"1327374367","filename":"file0"},{"photo_id":"1327374373","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374375":["hashtag1","hashtag2"]},{"1327374369":["hashtag1","hashtag2"]},{"1327374377":["hashtag1","hashtag2"]},{"1327374371":["hashtag1","hashtag2"]},{"1327374373":["hashtag1","hashtag2"]},{"1327374367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374375, 1327374369, 1327374377, 1327374371, 1327374373, 1327374367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34788393974304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:21:22.136039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0001.jpg', '/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0002.jpg', '/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0003.jpg', '/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0000.jpg', '/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0001.jpg', '/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0001.jpg
/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0002.jpg
/home/pi/Desktop/images/08012025/02/20/image_08012025_02_20_02_410253_0003.jpg
/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0000.jpg
/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0001.jpg
/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374417","1327374380","1327374383","1327374413","1327374416","1327374385"],"photo_ids_order":["1327374380","1327374383","1327374385","1327374413","1327374416","1327374417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a2ed1a3b0b28ef038f02bc0a38d449a.jpg","text":"TemporaryFile(/tmp/multipartBody7711570785100505875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_21_03_046280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/047c628b91fc6c428ff73a3e36a4da2b.jpg","text":"TemporaryFile(/tmp/multipartBody5576987122548022671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_20_02_410253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22be168d5a67d76666303ee3b66d63ba.jpg","text":"TemporaryFile(/tmp/multipartBody2770055399188713353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_20_02_410253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/827337d9345d634dc42cf8c55bbd6bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6615829347280360366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_21_03_046280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec63142b79681c77e499a3d18443faef.jpg","text":"TemporaryFile(/tmp/multipartBody4765381433862423061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_21_03_046280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8da2cae77ad1b08a3d2ec3d9f5beec7b.jpg","text":"TemporaryFile(/tmp/multipartBody8912593517095583485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299357350,"filename":"image_08012025_02_20_02_410253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374385","file1":"1327374383","file0":"1327374380","file4":"1327374416","file5":"1327374417","file3":"1327374413"},"map_files_photo_id_array":[{"photo_id":"1327374417","filename":"file5"},{"photo_id":"1327374385","filename":"file2"},{"photo_id":"1327374416","filename":"file4"},{"photo_id":"1327374383","filename":"file1"},{"photo_id":"1327374380","filename":"file0"},{"photo_id":"1327374413","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374417":["hashtag1","hashtag2"]},{"1327374380":["hashtag1","hashtag2"]},{"1327374383":["hashtag1","hashtag2"]},{"1327374413":["hashtag1","hashtag2"]},{"1327374416":["hashtag1","hashtag2"]},{"1327374385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374417, 1327374380, 1327374383, 1327374413, 1327374416, 1327374385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.6729691028595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:23:02.829387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0003.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0000.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0001.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0003.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0000.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0001.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.938467979431152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:23:22.227668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0003.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0000.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0001.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0002.jpg', '/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0003.jpg', '/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/21/image_08012025_02_21_03_046280_0003.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0000.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0001.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0002.jpg
/home/pi/Desktop/images/08012025/02/22/image_08012025_02_22_02_544877_0003.jpg
/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374513","1327374530","1327374506","1327374496","1327374511","1327374508"],"photo_ids_order":["1327374496","1327374506","1327374508","1327374511","1327374513","1327374530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad4335463cef339e8c572498aa7e233d.jpg","text":"TemporaryFile(/tmp/multipartBody777074136020839571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_22_02_544877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/195bb34a37c4667d072178e9c1326dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7588612396931834209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_23_03_053747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/748d07fb20ae53582655d0ed47c722f8.jpg","text":"TemporaryFile(/tmp/multipartBody4930692298733007002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_22_02_544877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b04e4687c4b9098b0576182b9e9be076.jpg","text":"TemporaryFile(/tmp/multipartBody1004113869981249425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_21_03_046280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/09e7cf4122537b1bf3b72b87e57dc2ed.jpg","text":"TemporaryFile(/tmp/multipartBody2878156573945402458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_22_02_544877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5916cf8a352cc9a2cf7e9b02f0243f53.jpg","text":"TemporaryFile(/tmp/multipartBody6465135305321093202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299477301,"filename":"image_08012025_02_22_02_544877_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374508","file1":"1327374506","file0":"1327374496","file4":"1327374513","file5":"1327374530","file3":"1327374511"},"map_files_photo_id_array":[{"photo_id":"1327374530","filename":"file5"},{"photo_id":"1327374508","filename":"file2"},{"photo_id":"1327374513","filename":"file4"},{"photo_id":"1327374506","filename":"file1"},{"photo_id":"1327374496","filename":"file0"},{"photo_id":"1327374511","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374513":["hashtag1","hashtag2"]},{"1327374530":["hashtag1","hashtag2"]},{"1327374506":["hashtag1","hashtag2"]},{"1327374496":["hashtag1","hashtag2"]},{"1327374511":["hashtag1","hashtag2"]},{"1327374508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374513, 1327374530, 1327374506, 1327374496, 1327374511, 1327374508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.72865962982178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:24:22.779729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0001.jpg', '/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0002.jpg', '/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0003.jpg', '/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0000.jpg', '/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0001.jpg', '/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0001.jpg
/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0002.jpg
/home/pi/Desktop/images/08012025/02/23/image_08012025_02_23_03_053747_0003.jpg
/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0000.jpg
/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0001.jpg
/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374621","1327374590","1327374593","1327374596","1327374584","1327374586"],"photo_ids_order":["1327374584","1327374586","1327374590","1327374593","1327374596","1327374621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56545c1509d69cf5984c31ab934ad9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3462137325939988893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_24_02_567302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae6154de1c8f715deca848edd229a522.jpg","text":"TemporaryFile(/tmp/multipartBody8522993622244674171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_23_03_053747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bc8b6452f58914b93e186c111fad726.jpg","text":"TemporaryFile(/tmp/multipartBody8873467047136061113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_24_02_567302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc0a17587e00f5b2975f7804f0999d06.jpg","text":"TemporaryFile(/tmp/multipartBody3547367677775158889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_24_02_567302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b89761cbf456705323b86b332b621b2.jpg","text":"TemporaryFile(/tmp/multipartBody1210636316229293773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_23_03_053747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/710d8ee29cedcc5922d274e2b68f7f1a.jpg","text":"TemporaryFile(/tmp/multipartBody348647490525176441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299537906,"filename":"image_08012025_02_23_03_053747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374590","file1":"1327374586","file0":"1327374584","file4":"1327374596","file5":"1327374621","file3":"1327374593"},"map_files_photo_id_array":[{"photo_id":"1327374621","filename":"file5"},{"photo_id":"1327374590","filename":"file2"},{"photo_id":"1327374596","filename":"file4"},{"photo_id":"1327374586","filename":"file1"},{"photo_id":"1327374584","filename":"file0"},{"photo_id":"1327374593","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374621":["hashtag1","hashtag2"]},{"1327374590":["hashtag1","hashtag2"]},{"1327374593":["hashtag1","hashtag2"]},{"1327374596":["hashtag1","hashtag2"]},{"1327374584":["hashtag1","hashtag2"]},{"1327374586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374621, 1327374590, 1327374593, 1327374596, 1327374584, 1327374586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56118631362915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:25:22.259098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0003.jpg', '/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0000.jpg', '/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0001.jpg', '/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/24/image_08012025_02_24_02_567302_0003.jpg
/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0000.jpg
/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0001.jpg
/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374654","1327374656","1327374659","1327374661"],"photo_ids_order":["1327374654","1327374656","1327374659","1327374661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd01a45068899b0fb9cc9e56cdbb01e3.jpg","text":"TemporaryFile(/tmp/multipartBody7642347802087500747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299592414,"filename":"image_08012025_02_24_02_567302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bd0280ecf45d1fa2dbfc5d7d8cad636.jpg","text":"TemporaryFile(/tmp/multipartBody3581711747457573333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299592414,"filename":"image_08012025_02_25_03_072878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5268e93c43064e4df62e0f935c9e0bf4.jpg","text":"TemporaryFile(/tmp/multipartBody21670783887823188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299592414,"filename":"image_08012025_02_25_03_072878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6e5f4452d20ef6e86af1bdee1e29e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6400281511256674047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299592414,"filename":"image_08012025_02_25_03_072878_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374659","file1":"1327374656","file0":"1327374654","file3":"1327374661"},"map_files_photo_id_array":[{"photo_id":"1327374659","filename":"file2"},{"photo_id":"1327374656","filename":"file1"},{"photo_id":"1327374654","filename":"file0"},{"photo_id":"1327374661","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374654":["hashtag1","hashtag2"]},{"1327374656":["hashtag1","hashtag2"]},{"1327374659":["hashtag1","hashtag2"]},{"1327374661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374654, 1327374656, 1327374659, 1327374661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64587378501892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:26:03.242108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:26:22.779948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0003.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0000.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0001.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0003.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0000.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0001.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.75555944442749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:27:02.779213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0003.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0000.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0001.jpg', '/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/25/image_08012025_02_25_03_072878_0003.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0000.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0001.jpg
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374683","1327374686","1327374679","1327374681"],"photo_ids_order":["1327374679","1327374681","1327374683","1327374686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/172ab0d070d2dc7f5b3710ac8325c4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1752994738664682270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299692979,"filename":"image_08012025_02_26_02_566746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12d29380ce761d6ad31a3301867878e4.jpg","text":"TemporaryFile(/tmp/multipartBody1089173918750518939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299692979,"filename":"image_08012025_02_26_02_566746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75d65572beb551dbbd0fa07712fa77ee.jpg","text":"TemporaryFile(/tmp/multipartBody4700790880879205451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299692979,"filename":"image_08012025_02_25_03_072878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f012bbd5f6ca54e06501f0df434820f.jpg","text":"TemporaryFile(/tmp/multipartBody8893683119816221067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299692979,"filename":"image_08012025_02_26_02_566746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374683","file1":"1327374681","file0":"1327374679","file3":"1327374686"},"map_files_photo_id_array":[{"photo_id":"1327374683","filename":"file2"},{"photo_id":"1327374681","filename":"file1"},{"photo_id":"1327374679","filename":"file0"},{"photo_id":"1327374686","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374683":["hashtag1","hashtag2"]},{"1327374686":["hashtag1","hashtag2"]},{"1327374679":["hashtag1","hashtag2"]},{"1327374681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374683, 1327374686, 1327374679, 1327374681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.91624331474304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:28:02.171326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0003.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0000.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0001.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0003.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0000.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0001.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.832326412200928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:28:21.818905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0003.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0000.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0001.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0002.jpg', '/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0003.jpg', '/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/26/image_08012025_02_26_02_566746_0003.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0000.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0001.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0002.jpg
/home/pi/Desktop/images/08012025/02/27/image_08012025_02_27_03_033773_0003.jpg
/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374762","1327374771","1327374764","1327374760","1327374748","1327374768"],"photo_ids_order":["1327374748","1327374760","1327374762","1327374764","1327374768","1327374771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27bb954a6dec93827495493ee5cabb9e.jpg","text":"TemporaryFile(/tmp/multipartBody4257960705549870684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_27_03_033773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64b3a4507f68f4fc2c368827964ef5de.jpg","text":"TemporaryFile(/tmp/multipartBody3392286839230398705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_28_02_542412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2278d0b89eaa0fb79c6348b1db840e80.jpg","text":"TemporaryFile(/tmp/multipartBody6737614165439626951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_27_03_033773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd152ed39ee7726666033bbb3b9c3f62.jpg","text":"TemporaryFile(/tmp/multipartBody7558973395322818460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_27_03_033773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40719164da9975313d9650f984eb155a.jpg","text":"TemporaryFile(/tmp/multipartBody4478952730329387148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_26_02_566746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f5ce74aeee0b482454aef1052aa929e.jpg","text":"TemporaryFile(/tmp/multipartBody24249200306149712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299776844,"filename":"image_08012025_02_27_03_033773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374762","file1":"1327374760","file0":"1327374748","file4":"1327374768","file5":"1327374771","file3":"1327374764"},"map_files_photo_id_array":[{"photo_id":"1327374771","filename":"file5"},{"photo_id":"1327374762","filename":"file2"},{"photo_id":"1327374768","filename":"file4"},{"photo_id":"1327374760","filename":"file1"},{"photo_id":"1327374748","filename":"file0"},{"photo_id":"1327374764","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374762":["hashtag1","hashtag2"]},{"1327374771":["hashtag1","hashtag2"]},{"1327374764":["hashtag1","hashtag2"]},{"1327374760":["hashtag1","hashtag2"]},{"1327374748":["hashtag1","hashtag2"]},{"1327374768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374762, 1327374771, 1327374764, 1327374760, 1327374748, 1327374768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.60117816925049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:29:22.300874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0001.jpg', '/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0002.jpg', '/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0003.jpg', '/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0000.jpg', '/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0001.jpg', '/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0001.jpg
/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0002.jpg
/home/pi/Desktop/images/08012025/02/28/image_08012025_02_28_02_542412_0003.jpg
/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0000.jpg
/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0001.jpg
/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374777","1327374791","1327374779","1327374781","1327374784","1327374787"],"photo_ids_order":["1327374777","1327374779","1327374781","1327374784","1327374787","1327374791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aab2862ce4f1ce36a475836b5c741461.jpg","text":"TemporaryFile(/tmp/multipartBody6107962807975165957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_28_02_542412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b42c3ae91b33404b2b9b0484f5125c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5217350049466272383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_29_02_211862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c115c64bce5dbca5e4843a9c8bfa73f.jpg","text":"TemporaryFile(/tmp/multipartBody1827835416068624842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_28_02_542412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0487445d22b2f00b9c5579f181fe9a93.jpg","text":"TemporaryFile(/tmp/multipartBody5651678194895612229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_28_02_542412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc2121169acdbb362eb59d3b0ab314de.jpg","text":"TemporaryFile(/tmp/multipartBody3113314644868795151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_29_02_211862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c054c252694104cb30b2dd0199f0063.jpg","text":"TemporaryFile(/tmp/multipartBody8815820875966729389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299837314,"filename":"image_08012025_02_29_02_211862_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374781","file1":"1327374779","file0":"1327374777","file4":"1327374787","file5":"1327374791","file3":"1327374784"},"map_files_photo_id_array":[{"photo_id":"1327374791","filename":"file5"},{"photo_id":"1327374781","filename":"file2"},{"photo_id":"1327374787","filename":"file4"},{"photo_id":"1327374779","filename":"file1"},{"photo_id":"1327374777","filename":"file0"},{"photo_id":"1327374784","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374777":["hashtag1","hashtag2"]},{"1327374791":["hashtag1","hashtag2"]},{"1327374779":["hashtag1","hashtag2"]},{"1327374781":["hashtag1","hashtag2"]},{"1327374784":["hashtag1","hashtag2"]},{"1327374787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374777, 1327374791, 1327374779, 1327374781, 1327374784, 1327374787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.120047092437744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:30:21.961217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0003.jpg', '/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0000.jpg', '/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0001.jpg', '/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/29/image_08012025_02_29_02_211862_0003.jpg
/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0000.jpg
/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0001.jpg
/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374812","1327374798","1327374802","1327374795"],"photo_ids_order":["1327374795","1327374798","1327374802","1327374812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8c220ca663315e2965b635d28269c84.jpg","text":"TemporaryFile(/tmp/multipartBody4490347470730807178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299892226,"filename":"image_08012025_02_30_02_744441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c32b0cb4c316f5d1bcfa09c99f5051fa.jpg","text":"TemporaryFile(/tmp/multipartBody7733854232443695729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299892226,"filename":"image_08012025_02_30_02_744441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4be82cad4a5245a09755df5e50c237d.jpg","text":"TemporaryFile(/tmp/multipartBody4460315093381516328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299892226,"filename":"image_08012025_02_30_02_744441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4bdc7b77dfcb3cc65adcc97a85d90330.jpg","text":"TemporaryFile(/tmp/multipartBody4531891960869699394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299892226,"filename":"image_08012025_02_29_02_211862_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374802","file1":"1327374798","file0":"1327374795","file3":"1327374812"},"map_files_photo_id_array":[{"photo_id":"1327374802","filename":"file2"},{"photo_id":"1327374798","filename":"file1"},{"photo_id":"1327374795","filename":"file0"},{"photo_id":"1327374812","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374812":["hashtag1","hashtag2"]},{"1327374798":["hashtag1","hashtag2"]},{"1327374802":["hashtag1","hashtag2"]},{"1327374795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374812, 1327374798, 1327374802, 1327374795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13479137420654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:31:03.053858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:31:22.346179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0003.jpg', '/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0000.jpg', '/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0001.jpg', '/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/30/image_08012025_02_30_02_744441_0003.jpg
/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0000.jpg
/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0001.jpg
/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374869","1327374871","1327374873","1327374867"],"photo_ids_order":["1327374867","1327374869","1327374871","1327374873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95ac2d53b9896db09ece680ccecee61f.jpg","text":"TemporaryFile(/tmp/multipartBody2677475135510865235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299952489,"filename":"image_08012025_02_31_02_273437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/191fce6385189f3cde13a989a24027b7.jpg","text":"TemporaryFile(/tmp/multipartBody3617146818303314665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299952489,"filename":"image_08012025_02_31_02_273437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0367524d74b9b611366e1d22db62d75a.jpg","text":"TemporaryFile(/tmp/multipartBody9021525814225101586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299952489,"filename":"image_08012025_02_31_02_273437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2511ec5c1a1b3f11bf57c642bad04db.jpg","text":"TemporaryFile(/tmp/multipartBody9068463121757135905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736299952489,"filename":"image_08012025_02_30_02_744441_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374871","file1":"1327374869","file0":"1327374867","file3":"1327374873"},"map_files_photo_id_array":[{"photo_id":"1327374871","filename":"file2"},{"photo_id":"1327374869","filename":"file1"},{"photo_id":"1327374867","filename":"file0"},{"photo_id":"1327374873","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374869":["hashtag1","hashtag2"]},{"1327374871":["hashtag1","hashtag2"]},{"1327374873":["hashtag1","hashtag2"]},{"1327374867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374869, 1327374871, 1327374873, 1327374867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75451636314392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:32:22.026882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0003.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0000.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0001.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0003.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0000.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0001.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.826954364776611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:33:03.218584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0003.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0000.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0001.jpg', '/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/31/image_08012025_02_31_02_273437_0003.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0000.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0001.jpg
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374887","1327374889","1327374886","1327374888"],"photo_ids_order":["1327374886","1327374887","1327374888","1327374889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f9c61e26f71ae52926ba8f62424ba84.jpg","text":"TemporaryFile(/tmp/multipartBody1868858070726812951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300053453,"filename":"image_08012025_02_32_02_759849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82b42110051db3ffd108c515974ecee3.jpg","text":"TemporaryFile(/tmp/multipartBody6672452746895671191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300053453,"filename":"image_08012025_02_32_02_759849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d07dfa1b6c38043eadb52bea63cf86a1.jpg","text":"TemporaryFile(/tmp/multipartBody4897719755627076609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300053453,"filename":"image_08012025_02_31_02_273437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88447a90a9c51208de32b832e8ca05d5.jpg","text":"TemporaryFile(/tmp/multipartBody1763904918757221873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300053453,"filename":"image_08012025_02_32_02_759849_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374888","file1":"1327374887","file0":"1327374886","file3":"1327374889"},"map_files_photo_id_array":[{"photo_id":"1327374888","filename":"file2"},{"photo_id":"1327374887","filename":"file1"},{"photo_id":"1327374886","filename":"file0"},{"photo_id":"1327374889","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374887":["hashtag1","hashtag2"]},{"1327374889":["hashtag1","hashtag2"]},{"1327374886":["hashtag1","hashtag2"]},{"1327374888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374887, 1327374889, 1327374886, 1327374888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.518436431884766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:34:02.662427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0003.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0000.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0001.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0003.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0000.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0001.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.911601543426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:34:22.213080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0003.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0000.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0001.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0002.jpg', '/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0003.jpg', '/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/32/image_08012025_02_32_02_759849_0003.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0000.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0001.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0002.jpg
/home/pi/Desktop/images/08012025/02/33/image_08012025_02_33_02_378114_0003.jpg
/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374954","1327374948","1327374942","1327374945","1327374950","1327374952"],"photo_ids_order":["1327374942","1327374945","1327374948","1327374950","1327374952","1327374954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6c529ecef05a921f7e8618b5430ab90.jpg","text":"TemporaryFile(/tmp/multipartBody6866892987291797459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_34_02_873390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e243223153424e0783e57c44ee994d45.jpg","text":"TemporaryFile(/tmp/multipartBody2543259133583526534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_33_02_378114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b85de5298385adc5d9fb1f765403236d.jpg","text":"TemporaryFile(/tmp/multipartBody3721922634558486178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_32_02_759849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14da2c2f6d52f543f3d5b2e5df546e63.jpg","text":"TemporaryFile(/tmp/multipartBody847123072058862033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_33_02_378114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b55b7f5decfe17ec4949ed47ed2650f8.jpg","text":"TemporaryFile(/tmp/multipartBody406869409016228577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_33_02_378114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f943b7fffd98eaae9eddf135265a35f.jpg","text":"TemporaryFile(/tmp/multipartBody7142689502559297261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300137251,"filename":"image_08012025_02_33_02_378114_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374948","file1":"1327374945","file0":"1327374942","file4":"1327374952","file5":"1327374954","file3":"1327374950"},"map_files_photo_id_array":[{"photo_id":"1327374954","filename":"file5"},{"photo_id":"1327374948","filename":"file2"},{"photo_id":"1327374952","filename":"file4"},{"photo_id":"1327374945","filename":"file1"},{"photo_id":"1327374942","filename":"file0"},{"photo_id":"1327374950","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374954":["hashtag1","hashtag2"]},{"1327374948":["hashtag1","hashtag2"]},{"1327374942":["hashtag1","hashtag2"]},{"1327374945":["hashtag1","hashtag2"]},{"1327374950":["hashtag1","hashtag2"]},{"1327374952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374954, 1327374948, 1327374942, 1327374945, 1327374950, 1327374952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.082645893096924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:35:21.739178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0001.jpg', '/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0002.jpg', '/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0003.jpg', '/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0000.jpg', '/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0001.jpg', '/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0001.jpg
/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0002.jpg
/home/pi/Desktop/images/08012025/02/34/image_08012025_02_34_02_873390_0003.jpg
/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0000.jpg
/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0001.jpg
/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327374980","1327374986","1327374982","1327374984","1327374978","1327374987"],"photo_ids_order":["1327374978","1327374980","1327374982","1327374984","1327374986","1327374987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4d26779171ea1f0c46f458f5b567ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8225233872505827620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_34_02_873390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cba885b4ab284951b8e5f869074dc568.jpg","text":"TemporaryFile(/tmp/multipartBody974839080067984892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_35_02_603844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a770e414e4fe4e8d76a3f10cbd82068d.jpg","text":"TemporaryFile(/tmp/multipartBody7275447790204889392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_34_02_873390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/244321e8eeecaffb04c50849b88d0cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6846940679538690017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_35_02_603844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b78b48ca6100040c052dd877cb8dbcb8.jpg","text":"TemporaryFile(/tmp/multipartBody8782225594196969907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_34_02_873390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/896b634681792f10d5c388a534d8508c.jpg","text":"TemporaryFile(/tmp/multipartBody1051583868795242919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300196830,"filename":"image_08012025_02_35_02_603844_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327374982","file1":"1327374980","file0":"1327374978","file4":"1327374986","file5":"1327374987","file3":"1327374984"},"map_files_photo_id_array":[{"photo_id":"1327374987","filename":"file5"},{"photo_id":"1327374982","filename":"file2"},{"photo_id":"1327374986","filename":"file4"},{"photo_id":"1327374980","filename":"file1"},{"photo_id":"1327374978","filename":"file0"},{"photo_id":"1327374984","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327374980":["hashtag1","hashtag2"]},{"1327374986":["hashtag1","hashtag2"]},{"1327374982":["hashtag1","hashtag2"]},{"1327374984":["hashtag1","hashtag2"]},{"1327374978":["hashtag1","hashtag2"]},{"1327374987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327374980, 1327374986, 1327374982, 1327374984, 1327374978, 1327374987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.551488399505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:36:22.273151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0003.jpg', '/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0000.jpg', '/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0001.jpg', '/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/35/image_08012025_02_35_02_603844_0003.jpg
/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0000.jpg
/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0001.jpg
/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375139","1327375054","1327375146","1327374990"],"photo_ids_order":["1327374990","1327375054","1327375139","1327375146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9741626504084376394a1e61240f5347.jpg","text":"TemporaryFile(/tmp/multipartBody7216513536023659360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300252596,"filename":"image_08012025_02_36_02_139955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98b716a4701ada67ee3bd376c4eecef3.jpg","text":"TemporaryFile(/tmp/multipartBody6168765991072919117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300252596,"filename":"image_08012025_02_36_02_139955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed4f9d5e4cdfb51c91e16eb0eaa740a3.jpg","text":"TemporaryFile(/tmp/multipartBody109625189725874138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300252596,"filename":"image_08012025_02_36_02_139955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a2c83a6de0463c26a50f19c7c32937f.jpg","text":"TemporaryFile(/tmp/multipartBody2500575708775675829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300252596,"filename":"image_08012025_02_35_02_603844_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375139","file1":"1327375054","file0":"1327374990","file3":"1327375146"},"map_files_photo_id_array":[{"photo_id":"1327375139","filename":"file2"},{"photo_id":"1327375054","filename":"file1"},{"photo_id":"1327374990","filename":"file0"},{"photo_id":"1327375146","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375139":["hashtag1","hashtag2"]},{"1327375054":["hashtag1","hashtag2"]},{"1327375146":["hashtag1","hashtag2"]},{"1327374990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375139, 1327375054, 1327375146, 1327374990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.693172216415405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:37:21.786177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0003.jpg', '/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0000.jpg', '/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0001.jpg', '/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/36/image_08012025_02_36_02_139955_0003.jpg
/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0000.jpg
/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0001.jpg
/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375169","1327375171","1327375165","1327375167"],"photo_ids_order":["1327375165","1327375167","1327375169","1327375171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eeecb9859937deb3a0f52c971a7c6fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2329619556872448187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300311946,"filename":"image_08012025_02_37_02_623072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba040915e9d8997707faaea015b7eaec.jpg","text":"TemporaryFile(/tmp/multipartBody8031275755652733715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300311946,"filename":"image_08012025_02_37_02_623072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e8e24d8ebb858f2177e8d207898e747.jpg","text":"TemporaryFile(/tmp/multipartBody5473856383834684717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300311946,"filename":"image_08012025_02_36_02_139955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/854f1edca5891ff0935e8bd3c24aa3e9.jpg","text":"TemporaryFile(/tmp/multipartBody3793460139507426517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300311946,"filename":"image_08012025_02_37_02_623072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375169","file1":"1327375167","file0":"1327375165","file3":"1327375171"},"map_files_photo_id_array":[{"photo_id":"1327375169","filename":"file2"},{"photo_id":"1327375167","filename":"file1"},{"photo_id":"1327375165","filename":"file0"},{"photo_id":"1327375171","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375169":["hashtag1","hashtag2"]},{"1327375171":["hashtag1","hashtag2"]},{"1327375165":["hashtag1","hashtag2"]},{"1327375167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375169, 1327375171, 1327375165, 1327375167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60543155670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:38:02.620785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:38:22.242259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0003.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0000.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0001.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0003.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0000.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0001.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90332818031311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:39:02.443754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0003.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0000.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0001.jpg', '/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/37/image_08012025_02_37_02_623072_0003.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0000.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0001.jpg
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375221","1327375218","1327375220","1327375222"],"photo_ids_order":["1327375218","1327375220","1327375221","1327375222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8e1eecef0a7f044201d69acb48d3265.jpg","text":"TemporaryFile(/tmp/multipartBody251241395575152826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300412800,"filename":"image_08012025_02_38_02_093776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d4fc96bf6b08d27fcd8c70f301f0f7b.jpg","text":"TemporaryFile(/tmp/multipartBody481775384833402124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300412800,"filename":"image_08012025_02_37_02_623072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a26dd4885c69de6fae44482282d3f71.jpg","text":"TemporaryFile(/tmp/multipartBody4332022632084244268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300412800,"filename":"image_08012025_02_38_02_093776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb4a09a50c4daf2c3912948f4e4cf554.jpg","text":"TemporaryFile(/tmp/multipartBody2769574502613532720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300412800,"filename":"image_08012025_02_38_02_093776_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375221","file1":"1327375220","file0":"1327375218","file3":"1327375222"},"map_files_photo_id_array":[{"photo_id":"1327375221","filename":"file2"},{"photo_id":"1327375220","filename":"file1"},{"photo_id":"1327375218","filename":"file0"},{"photo_id":"1327375222","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375221":["hashtag1","hashtag2"]},{"1327375218":["hashtag1","hashtag2"]},{"1327375220":["hashtag1","hashtag2"]},{"1327375222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375221, 1327375218, 1327375220, 1327375222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.16517376899719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:40:02.803146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0003.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0000.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0001.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0003.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0000.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0001.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.887235164642334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:40:22.323743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0003.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0000.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0001.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0002.jpg', '/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0003.jpg', '/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/38/image_08012025_02_38_02_093776_0003.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0000.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0001.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0002.jpg
/home/pi/Desktop/images/08012025/02/39/image_08012025_02_39_02_616329_0003.jpg
/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375280","1327375274","1327375282","1327375276","1327375278","1327375272"],"photo_ids_order":["1327375272","1327375274","1327375276","1327375278","1327375280","1327375282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9fad882fa305ea8c9f0a6abdaf90f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1594301575566556496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_39_02_616329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/accf3eb3dd8d944db76e0aed9135476c.jpg","text":"TemporaryFile(/tmp/multipartBody7731346999589370651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_39_02_616329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a44016170bb6e176e4f93fa09860353b.jpg","text":"TemporaryFile(/tmp/multipartBody8202263852350502887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_40_02_146024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd7b5d8635ebda373bd7e9990aff2c26.jpg","text":"TemporaryFile(/tmp/multipartBody1121553785564438957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_39_02_616329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de64aef1684be98aeb56d2f4ba1e2e86.jpg","text":"TemporaryFile(/tmp/multipartBody8690383524592414049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_39_02_616329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31752aa048d06758b94a4227034299bd.jpg","text":"TemporaryFile(/tmp/multipartBody2487977859530077802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300497382,"filename":"image_08012025_02_38_02_093776_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375276","file1":"1327375274","file0":"1327375272","file4":"1327375280","file5":"1327375282","file3":"1327375278"},"map_files_photo_id_array":[{"photo_id":"1327375282","filename":"file5"},{"photo_id":"1327375276","filename":"file2"},{"photo_id":"1327375280","filename":"file4"},{"photo_id":"1327375274","filename":"file1"},{"photo_id":"1327375272","filename":"file0"},{"photo_id":"1327375278","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375280":["hashtag1","hashtag2"]},{"1327375274":["hashtag1","hashtag2"]},{"1327375282":["hashtag1","hashtag2"]},{"1327375276":["hashtag1","hashtag2"]},{"1327375278":["hashtag1","hashtag2"]},{"1327375272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375280, 1327375274, 1327375282, 1327375276, 1327375278, 1327375272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73074293136597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:41:21.878879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0001.jpg', '/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0002.jpg', '/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0003.jpg', '/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0000.jpg', '/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0001.jpg', '/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0001.jpg
/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0002.jpg
/home/pi/Desktop/images/08012025/02/40/image_08012025_02_40_02_146024_0003.jpg
/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0000.jpg
/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0001.jpg
/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375295","1327375289","1327375291","1327375285","1327375293","1327375287"],"photo_ids_order":["1327375285","1327375287","1327375289","1327375291","1327375293","1327375295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89b84ce3bc6603019625e512751a2299.jpg","text":"TemporaryFile(/tmp/multipartBody2723136085173035864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_41_02_721877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f9fb2e8c79d1864182f9cecc12d0f81.jpg","text":"TemporaryFile(/tmp/multipartBody5148763861300289054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_40_02_146024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36339d38e25810ea164fe0313951375b.jpg","text":"TemporaryFile(/tmp/multipartBody8831386246288040169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_41_02_721877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85b1bf096327ebe29fb7984924a0b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody245634804991689509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_40_02_146024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c44e665ab3d5d5855a06b8bf19aa318a.jpg","text":"TemporaryFile(/tmp/multipartBody4485828135134273207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_41_02_721877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b40898ea7b133d6ec2817efa27227561.jpg","text":"TemporaryFile(/tmp/multipartBody2222349794499228994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300556997,"filename":"image_08012025_02_40_02_146024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375289","file1":"1327375287","file0":"1327375285","file4":"1327375293","file5":"1327375295","file3":"1327375291"},"map_files_photo_id_array":[{"photo_id":"1327375295","filename":"file5"},{"photo_id":"1327375289","filename":"file2"},{"photo_id":"1327375293","filename":"file4"},{"photo_id":"1327375287","filename":"file1"},{"photo_id":"1327375285","filename":"file0"},{"photo_id":"1327375291","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375295":["hashtag1","hashtag2"]},{"1327375289":["hashtag1","hashtag2"]},{"1327375291":["hashtag1","hashtag2"]},{"1327375285":["hashtag1","hashtag2"]},{"1327375293":["hashtag1","hashtag2"]},{"1327375287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375295, 1327375289, 1327375291, 1327375285, 1327375293, 1327375287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89046859741211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:42:22.422787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0003.jpg', '/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0000.jpg', '/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0001.jpg', '/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/41/image_08012025_02_41_02_721877_0003.jpg
/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0000.jpg
/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0001.jpg
/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375298","1327375316","1327375312","1327375306"],"photo_ids_order":["1327375298","1327375306","1327375312","1327375316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3315f81fd2790d6f38328f98d2cf6f6.jpg","text":"TemporaryFile(/tmp/multipartBody2888210335507282454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300612702,"filename":"image_08012025_02_41_02_721877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd7d751e29478d89e48421fba5339c24.jpg","text":"TemporaryFile(/tmp/multipartBody5414713767833407143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300612702,"filename":"image_08012025_02_42_02_258717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9dbf243f75d22cfb79acb76c519afc5.jpg","text":"TemporaryFile(/tmp/multipartBody2762178422076681557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300612702,"filename":"image_08012025_02_42_02_258717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab0933ba7a4ab5b00d6411d39065c688.jpg","text":"TemporaryFile(/tmp/multipartBody6238490679612568517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300612702,"filename":"image_08012025_02_42_02_258717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375312","file1":"1327375306","file0":"1327375298","file3":"1327375316"},"map_files_photo_id_array":[{"photo_id":"1327375312","filename":"file2"},{"photo_id":"1327375306","filename":"file1"},{"photo_id":"1327375298","filename":"file0"},{"photo_id":"1327375316","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375298":["hashtag1","hashtag2"]},{"1327375316":["hashtag1","hashtag2"]},{"1327375312":["hashtag1","hashtag2"]},{"1327375306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375298, 1327375316, 1327375312, 1327375306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.359055519104004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:43:21.913588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0003.jpg', '/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0000.jpg', '/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0001.jpg', '/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/42/image_08012025_02_42_02_258717_0003.jpg
/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0000.jpg
/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0001.jpg
/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375434","1327375436","1327375432","1327375438"],"photo_ids_order":["1327375432","1327375434","1327375436","1327375438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ba3436f7108dd648f52ca3c048be809.jpg","text":"TemporaryFile(/tmp/multipartBody5081359046853336400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300672135,"filename":"image_08012025_02_43_02_746030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/022f84261be5f0fbbb02cfd79518e30d.jpg","text":"TemporaryFile(/tmp/multipartBody2257976728488276071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300672135,"filename":"image_08012025_02_43_02_746030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/001b22806febcef2256f4055571cd3fe.jpg","text":"TemporaryFile(/tmp/multipartBody2282265252757187229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300672135,"filename":"image_08012025_02_42_02_258717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fb37c3080aea1f98af6b596977166f1.jpg","text":"TemporaryFile(/tmp/multipartBody3921878119474617080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300672135,"filename":"image_08012025_02_43_02_746030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375436","file1":"1327375434","file0":"1327375432","file3":"1327375438"},"map_files_photo_id_array":[{"photo_id":"1327375436","filename":"file2"},{"photo_id":"1327375434","filename":"file1"},{"photo_id":"1327375432","filename":"file0"},{"photo_id":"1327375438","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375434":["hashtag1","hashtag2"]},{"1327375436":["hashtag1","hashtag2"]},{"1327375432":["hashtag1","hashtag2"]},{"1327375438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375434, 1327375436, 1327375432, 1327375438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.501526832580566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:44:22.442200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0003.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0000.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0001.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0003.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0000.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0001.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.847272157669067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:45:02.598504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0003.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0000.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0001.jpg', '/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/43/image_08012025_02_43_02_746030_0003.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0000.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0001.jpg
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375655","1327375640","1327375653","1327375641"],"photo_ids_order":["1327375640","1327375641","1327375653","1327375655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80353e06c85e3b19a9b949ec35493c14.jpg","text":"TemporaryFile(/tmp/multipartBody5882444118685111251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300772893,"filename":"image_08012025_02_44_02_297176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b328a423e08b7e5b8903f8ee7878c1fa.jpg","text":"TemporaryFile(/tmp/multipartBody7161548363794539052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300772893,"filename":"image_08012025_02_43_02_746030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4630a7f5c921b6dc8f96594e01e3c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody8784501832455061329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300772893,"filename":"image_08012025_02_44_02_297176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dba0a6d8160b3e237d8ab11cb4d1caa7.jpg","text":"TemporaryFile(/tmp/multipartBody3960621213295723692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300772893,"filename":"image_08012025_02_44_02_297176_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375653","file1":"1327375641","file0":"1327375640","file3":"1327375655"},"map_files_photo_id_array":[{"photo_id":"1327375653","filename":"file2"},{"photo_id":"1327375641","filename":"file1"},{"photo_id":"1327375640","filename":"file0"},{"photo_id":"1327375655","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375655":["hashtag1","hashtag2"]},{"1327375640":["hashtag1","hashtag2"]},{"1327375653":["hashtag1","hashtag2"]},{"1327375641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375655, 1327375640, 1327375653, 1327375641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.457958936691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:46:03.051948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0003.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0000.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0001.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0003.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0000.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0001.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.767550230026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:46:22.634278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0003.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0000.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0001.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0002.jpg', '/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0003.jpg', '/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/44/image_08012025_02_44_02_297176_0003.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0000.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0001.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0002.jpg
/home/pi/Desktop/images/08012025/02/45/image_08012025_02_45_02_859701_0003.jpg
/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375673","1327375667","1327375675","1327375669","1327375671","1327375677"],"photo_ids_order":["1327375667","1327375669","1327375671","1327375673","1327375675","1327375677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7b2e7f34de2284034f184c2553e2f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1960010702011576185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_45_02_859701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/399a17e923bfa350444156fb3460716c.jpg","text":"TemporaryFile(/tmp/multipartBody7546465681170793300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_44_02_297176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1bdc04bca845452109512769e9ae788.jpg","text":"TemporaryFile(/tmp/multipartBody9019449806460099643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_45_02_859701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/556e1a5ae4f90b0dffc6b651387c5009.jpg","text":"TemporaryFile(/tmp/multipartBody7451598661610329709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_45_02_859701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb84f354c0811493fac149b737fdab90.jpg","text":"TemporaryFile(/tmp/multipartBody1017697222711424504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_45_02_859701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d645b49c6d2223a0b8138fd8601cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody74778808265959966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300857554,"filename":"image_08012025_02_46_02_362487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375671","file1":"1327375669","file0":"1327375667","file4":"1327375675","file5":"1327375677","file3":"1327375673"},"map_files_photo_id_array":[{"photo_id":"1327375677","filename":"file5"},{"photo_id":"1327375671","filename":"file2"},{"photo_id":"1327375675","filename":"file4"},{"photo_id":"1327375669","filename":"file1"},{"photo_id":"1327375667","filename":"file0"},{"photo_id":"1327375673","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375673":["hashtag1","hashtag2"]},{"1327375667":["hashtag1","hashtag2"]},{"1327375675":["hashtag1","hashtag2"]},{"1327375669":["hashtag1","hashtag2"]},{"1327375671":["hashtag1","hashtag2"]},{"1327375677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375673, 1327375667, 1327375675, 1327375669, 1327375671, 1327375677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61245083808899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:47:22.263323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0001.jpg', '/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0002.jpg', '/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0003.jpg', '/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0000.jpg', '/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0001.jpg', '/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0001.jpg
/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0002.jpg
/home/pi/Desktop/images/08012025/02/46/image_08012025_02_46_02_362487_0003.jpg
/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0000.jpg
/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0001.jpg
/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375682","1327375688","1327375687","1327375690","1327375684","1327375680"],"photo_ids_order":["1327375680","1327375682","1327375684","1327375687","1327375688","1327375690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0867ace00429766fe669396d77bd1f6.jpg","text":"TemporaryFile(/tmp/multipartBody801405692844927515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_46_02_362487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ef5c8eb90b4f80e55235a782ea971fa.jpg","text":"TemporaryFile(/tmp/multipartBody1808448271839305711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_47_03_095076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf2ad2851135682961e2248c5e462d4e.jpg","text":"TemporaryFile(/tmp/multipartBody1242598770444966816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_47_03_095076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/517fd40e331f2c6d730daf2e8618890e.jpg","text":"TemporaryFile(/tmp/multipartBody3746467161027651415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_47_03_095076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39ef5ed85bb09bd2406612456587be4f.jpg","text":"TemporaryFile(/tmp/multipartBody500344584852546937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_46_02_362487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b4911861829c59eea6bd26281c0599a.jpg","text":"TemporaryFile(/tmp/multipartBody3617861670918200690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736300917227,"filename":"image_08012025_02_46_02_362487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375684","file1":"1327375682","file0":"1327375680","file4":"1327375688","file5":"1327375690","file3":"1327375687"},"map_files_photo_id_array":[{"photo_id":"1327375690","filename":"file5"},{"photo_id":"1327375684","filename":"file2"},{"photo_id":"1327375688","filename":"file4"},{"photo_id":"1327375682","filename":"file1"},{"photo_id":"1327375680","filename":"file0"},{"photo_id":"1327375687","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375682":["hashtag1","hashtag2"]},{"1327375688":["hashtag1","hashtag2"]},{"1327375687":["hashtag1","hashtag2"]},{"1327375690":["hashtag1","hashtag2"]},{"1327375684":["hashtag1","hashtag2"]},{"1327375680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375682, 1327375688, 1327375687, 1327375690, 1327375684, 1327375680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.66338109970093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:49:02.936419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0003.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0000.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0001.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0003.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0000.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0001.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.795959234237671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:49:22.308758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0003.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0000.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0001.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0002.jpg', '/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0003.jpg', '/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/47/image_08012025_02_47_03_095076_0003.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0000.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0001.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0002.jpg
/home/pi/Desktop/images/08012025/02/48/image_08012025_02_48_02_653870_0003.jpg
/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375760","1327375754","1327375756","1327375750","1327375752","1327375758"],"photo_ids_order":["1327375750","1327375752","1327375754","1327375756","1327375758","1327375760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/138c2b440e8eb87350ff26a9a880bc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3349316838163063659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_49_02_163629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7be208cd844493d0a38db367520edcc.jpg","text":"TemporaryFile(/tmp/multipartBody3275221255876000251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_48_02_653870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f919094aa28dbb6fd47b3df2d65d378.jpg","text":"TemporaryFile(/tmp/multipartBody8001503694269701946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_48_02_653870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d998482da9eabcc460346329427858e3.jpg","text":"TemporaryFile(/tmp/multipartBody8688273816318657948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_47_03_095076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffe3de840c4118a04eced13551975e39.jpg","text":"TemporaryFile(/tmp/multipartBody7914347109897764360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_48_02_653870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebd89ac7a80f91045324005167393947.jpg","text":"TemporaryFile(/tmp/multipartBody6798692564023232739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301037194,"filename":"image_08012025_02_48_02_653870_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375754","file1":"1327375752","file0":"1327375750","file4":"1327375758","file5":"1327375760","file3":"1327375756"},"map_files_photo_id_array":[{"photo_id":"1327375760","filename":"file5"},{"photo_id":"1327375754","filename":"file2"},{"photo_id":"1327375758","filename":"file4"},{"photo_id":"1327375752","filename":"file1"},{"photo_id":"1327375750","filename":"file0"},{"photo_id":"1327375756","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375760":["hashtag1","hashtag2"]},{"1327375754":["hashtag1","hashtag2"]},{"1327375756":["hashtag1","hashtag2"]},{"1327375750":["hashtag1","hashtag2"]},{"1327375752":["hashtag1","hashtag2"]},{"1327375758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375760, 1327375754, 1327375756, 1327375750, 1327375752, 1327375758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.243443727493286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:50:21.917905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0001.jpg', '/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0002.jpg', '/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0003.jpg', '/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0000.jpg', '/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0001.jpg', '/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0001.jpg
/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0002.jpg
/home/pi/Desktop/images/08012025/02/49/image_08012025_02_49_02_163629_0003.jpg
/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0000.jpg
/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0001.jpg
/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375778","1327375763","1327375769","1327375773","1327375767","1327375776"],"photo_ids_order":["1327375763","1327375767","1327375769","1327375773","1327375776","1327375778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff1b6dc2ad07b5a22135f054955f804f.jpg","text":"TemporaryFile(/tmp/multipartBody1959421934511371551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_50_02_708110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6f7038ebb317172ddce5236abd57b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7780934056898130161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_49_02_163629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74a9840566182a6e3d0748c02a705db4.jpg","text":"TemporaryFile(/tmp/multipartBody7603532256536399360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_49_02_163629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d9cb5ba1d7e0b76c828419d9b5d46d2.jpg","text":"TemporaryFile(/tmp/multipartBody7852713289310413535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_50_02_708110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa8f2794334f62118c5f698210d9234b.jpg","text":"TemporaryFile(/tmp/multipartBody1597239776388837407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_49_02_163629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2313b2041e79fc5cbddceabf2277143d.jpg","text":"TemporaryFile(/tmp/multipartBody7862646297910828108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301097099,"filename":"image_08012025_02_50_02_708110_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375769","file1":"1327375767","file0":"1327375763","file4":"1327375776","file5":"1327375778","file3":"1327375773"},"map_files_photo_id_array":[{"photo_id":"1327375778","filename":"file5"},{"photo_id":"1327375769","filename":"file2"},{"photo_id":"1327375776","filename":"file4"},{"photo_id":"1327375767","filename":"file1"},{"photo_id":"1327375763","filename":"file0"},{"photo_id":"1327375773","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375778":["hashtag1","hashtag2"]},{"1327375763":["hashtag1","hashtag2"]},{"1327375769":["hashtag1","hashtag2"]},{"1327375773":["hashtag1","hashtag2"]},{"1327375767":["hashtag1","hashtag2"]},{"1327375776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375778, 1327375763, 1327375769, 1327375773, 1327375767, 1327375776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77108836174011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:51:22.483885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0003.jpg', '/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0000.jpg', '/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0001.jpg', '/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/50/image_08012025_02_50_02_708110_0003.jpg
/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0000.jpg
/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0001.jpg
/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375803","1327375838","1327375792","1327375810"],"photo_ids_order":["1327375792","1327375803","1327375810","1327375838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56e864139b3b9c8175a9a866137b188f.jpg","text":"TemporaryFile(/tmp/multipartBody5888478717040374769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301152824,"filename":"image_08012025_02_51_02_345352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec3fbc2ad5c056bcddec2b4bdfb6a093.jpg","text":"TemporaryFile(/tmp/multipartBody2192686882101652289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301152824,"filename":"image_08012025_02_51_02_345352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87cbc9fa1a4c9d9f6a5ad21929891c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5394179684211643104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301152824,"filename":"image_08012025_02_50_02_708110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e33e16ee14486c5c6217773e1c58b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody8532723250101178392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301152824,"filename":"image_08012025_02_51_02_345352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375810","file1":"1327375803","file0":"1327375792","file3":"1327375838"},"map_files_photo_id_array":[{"photo_id":"1327375810","filename":"file2"},{"photo_id":"1327375803","filename":"file1"},{"photo_id":"1327375792","filename":"file0"},{"photo_id":"1327375838","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375803":["hashtag1","hashtag2"]},{"1327375838":["hashtag1","hashtag2"]},{"1327375792":["hashtag1","hashtag2"]},{"1327375810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375803, 1327375838, 1327375792, 1327375810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.41631507873535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:52:22.092068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0003.jpg', '/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0000.jpg', '/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0001.jpg', '/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/51/image_08012025_02_51_02_345352_0003.jpg
/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0000.jpg
/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0001.jpg
/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375928","1327375933","1327375936","1327375930"],"photo_ids_order":["1327375928","1327375930","1327375933","1327375936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd71917468a85b5c370d5c94ceeb636f.jpg","text":"TemporaryFile(/tmp/multipartBody6825516144737138036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301212510,"filename":"image_08012025_02_51_02_345352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73ee96c1ddda8f7421d715cd6dfd4657.jpg","text":"TemporaryFile(/tmp/multipartBody2983137137127270107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301212510,"filename":"image_08012025_02_52_02_907401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e8b96a7a89c1fcd3aa2b424e2285228.jpg","text":"TemporaryFile(/tmp/multipartBody477104757960358850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301212510,"filename":"image_08012025_02_52_02_907401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9303412e9ece0757a19f7063b983e57b.jpg","text":"TemporaryFile(/tmp/multipartBody8055421223417783665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301212510,"filename":"image_08012025_02_52_02_907401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375933","file1":"1327375930","file0":"1327375928","file3":"1327375936"},"map_files_photo_id_array":[{"photo_id":"1327375933","filename":"file2"},{"photo_id":"1327375930","filename":"file1"},{"photo_id":"1327375928","filename":"file0"},{"photo_id":"1327375936","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375928":["hashtag1","hashtag2"]},{"1327375933":["hashtag1","hashtag2"]},{"1327375936":["hashtag1","hashtag2"]},{"1327375930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375928, 1327375933, 1327375936, 1327375930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.15115141868591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:53:22.654743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0003.jpg', '/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0000.jpg', '/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0001.jpg', '/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/52/image_08012025_02_52_02_907401_0003.jpg
/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0000.jpg
/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0001.jpg
/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327375949","1327375943","1327375945","1327375947"],"photo_ids_order":["1327375943","1327375945","1327375947","1327375949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a4dceb16399f4133922d2b847935b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5771115689086314444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301272898,"filename":"image_08012025_02_53_02_422225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b869b267368b47436afd16825f6accdb.jpg","text":"TemporaryFile(/tmp/multipartBody2969886117465456240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301272898,"filename":"image_08012025_02_52_02_907401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5fe1b07210fccbb06d040473b0e0093e.jpg","text":"TemporaryFile(/tmp/multipartBody3308574864052435912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301272898,"filename":"image_08012025_02_53_02_422225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4e6e9373f3da8813eead7d90fd41385.jpg","text":"TemporaryFile(/tmp/multipartBody3638507117464291388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301272898,"filename":"image_08012025_02_53_02_422225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327375947","file1":"1327375945","file0":"1327375943","file3":"1327375949"},"map_files_photo_id_array":[{"photo_id":"1327375947","filename":"file2"},{"photo_id":"1327375945","filename":"file1"},{"photo_id":"1327375943","filename":"file0"},{"photo_id":"1327375949","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327375949":["hashtag1","hashtag2"]},{"1327375943":["hashtag1","hashtag2"]},{"1327375945":["hashtag1","hashtag2"]},{"1327375947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327375949, 1327375943, 1327375945, 1327375947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.738539695739746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:54:22.176134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0003.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0000.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0001.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0003.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0000.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0001.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.887140274047852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:55:03.263002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0003.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0000.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0001.jpg', '/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/53/image_08012025_02_53_02_422225_0003.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0000.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0001.jpg
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327376147","1327376149","1327376151","1327376148"],"photo_ids_order":["1327376147","1327376148","1327376149","1327376151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d6d6a09a0b9775d5a8c65fdb7f89f2d.jpg","text":"TemporaryFile(/tmp/multipartBody731898403275564106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301373600,"filename":"image_08012025_02_53_02_422225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ad6345caddd53d5463576aafd9875db.jpg","text":"TemporaryFile(/tmp/multipartBody7468907008039748043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301373600,"filename":"image_08012025_02_54_02_989391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/268ae617acba5b2af74bb634a7e742b4.jpg","text":"TemporaryFile(/tmp/multipartBody1012921137778778737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301373600,"filename":"image_08012025_02_54_02_989391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f18290170682dd9b89714c4ac06fce5.jpg","text":"TemporaryFile(/tmp/multipartBody9038439396846320535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301373600,"filename":"image_08012025_02_54_02_989391_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327376149","file1":"1327376148","file0":"1327376147","file3":"1327376151"},"map_files_photo_id_array":[{"photo_id":"1327376149","filename":"file2"},{"photo_id":"1327376148","filename":"file1"},{"photo_id":"1327376147","filename":"file0"},{"photo_id":"1327376151","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327376147":["hashtag1","hashtag2"]},{"1327376149":["hashtag1","hashtag2"]},{"1327376151":["hashtag1","hashtag2"]},{"1327376148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327376147, 1327376149, 1327376151, 1327376148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.83452653884888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 02:56:02.658669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0003.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0000.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0001.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0003.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0000.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0001.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.841251850128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:56:22.274838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0003.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0000.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0001.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0002.jpg', '/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0003.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/54/image_08012025_02_54_02_989391_0003.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0000.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0001.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0002.jpg
/home/pi/Desktop/images/08012025/02/55/image_08012025_02_55_02_528439_0003.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327376173","1327376167","1327376169","1327376163","1327376171","1327376165"],"photo_ids_order":["1327376163","1327376165","1327376167","1327376169","1327376171","1327376173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57515fd0b7c8760c2bd856f6ba7809ec.jpg","text":"TemporaryFile(/tmp/multipartBody3762576785371520255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_56_03_044310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a581fa7546954ede6515b95e873279c.jpg","text":"TemporaryFile(/tmp/multipartBody6365427787975739097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_55_02_528439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b8e3e40b5345e013c6125a21c827d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8183778623806940710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_55_02_528439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a80f721930d13948ebe9008e6baf6cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8352658455029437847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_54_02_989391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1119579deb68f214260785b6ab883a61.jpg","text":"TemporaryFile(/tmp/multipartBody2819412748376106586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_55_02_528439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b141c34b30987ffbad6d6ae418d9d602.jpg","text":"TemporaryFile(/tmp/multipartBody7225077112299753630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301457308,"filename":"image_08012025_02_55_02_528439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327376167","file1":"1327376165","file0":"1327376163","file4":"1327376171","file5":"1327376173","file3":"1327376169"},"map_files_photo_id_array":[{"photo_id":"1327376173","filename":"file5"},{"photo_id":"1327376167","filename":"file2"},{"photo_id":"1327376171","filename":"file4"},{"photo_id":"1327376165","filename":"file1"},{"photo_id":"1327376163","filename":"file0"},{"photo_id":"1327376169","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327376173":["hashtag1","hashtag2"]},{"1327376167":["hashtag1","hashtag2"]},{"1327376169":["hashtag1","hashtag2"]},{"1327376163":["hashtag1","hashtag2"]},{"1327376171":["hashtag1","hashtag2"]},{"1327376165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327376173, 1327376167, 1327376169, 1327376163, 1327376171, 1327376165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.817343950271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:57:21.905937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_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-08 02:59:03.134195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.886413812637329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 02:59:22.626225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg', '/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg', '/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0001.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0002.jpg
/home/pi/Desktop/images/08012025/02/56/image_08012025_02_56_03_044310_0003.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0000.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0001.jpg
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327377017","1327377011","1327377013","1327377012","1327377015","1327377009"],"photo_ids_order":["1327377009","1327377011","1327377012","1327377013","1327377015","1327377017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34be14ea913a04ad7118ab982296d7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7258310695768657193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_57_02_692770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43eb7d36916dd61847de697e8dae68e8.jpg","text":"TemporaryFile(/tmp/multipartBody5275751092123972347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_56_03_044310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e1ba0c4a9a75dc043b951a5dff6072a.jpg","text":"TemporaryFile(/tmp/multipartBody6705258921578186474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_57_02_692770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dad329e9085dd706ba711e9cf0062553.jpg","text":"TemporaryFile(/tmp/multipartBody7898025388512314778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_56_03_044310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a07728364c8805ec29b2c185d93a7b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1976351780638989303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_57_02_692770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5806690899d72e71e0764f2b236ea52a.jpg","text":"TemporaryFile(/tmp/multipartBody743848703088649184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301637840,"filename":"image_08012025_02_56_03_044310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327377012","file1":"1327377011","file0":"1327377009","file4":"1327377015","file5":"1327377017","file3":"1327377013"},"map_files_photo_id_array":[{"photo_id":"1327377017","filename":"file5"},{"photo_id":"1327377012","filename":"file2"},{"photo_id":"1327377015","filename":"file4"},{"photo_id":"1327377011","filename":"file1"},{"photo_id":"1327377009","filename":"file0"},{"photo_id":"1327377013","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327377017":["hashtag1","hashtag2"]},{"1327377011":["hashtag1","hashtag2"]},{"1327377013":["hashtag1","hashtag2"]},{"1327377012":["hashtag1","hashtag2"]},{"1327377015":["hashtag1","hashtag2"]},{"1327377009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327377017, 1327377011, 1327377013, 1327377012, 1327377015, 1327377009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.816046476364136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:00:22.334246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0003.jpg', '/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0000.jpg', '/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0001.jpg', '/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0002.jpg', '/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0003.jpg', '/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/57/image_08012025_02_57_02_692770_0003.jpg
/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0000.jpg
/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0001.jpg
/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0002.jpg
/home/pi/Desktop/images/08012025/02/58/image_08012025_02_58_02_243092_0003.jpg
/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327378057","1327377718","1327377406","1327377066","1327377557","1327377230"],"photo_ids_order":["1327377066","1327377230","1327377406","1327377557","1327377718","1327378057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9074505d29cf6eedb6d26ffd25ca0eea.jpg","text":"TemporaryFile(/tmp/multipartBody4701545665656083066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_59_02_808907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4a4e2767e41b714da8d392c2ac00eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4355506021982152909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_58_02_243092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/327c51b101ffe318d93052d9c9608d26.jpg","text":"TemporaryFile(/tmp/multipartBody7886723468504026856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_58_02_243092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1e2dbcd72b4de26c59be838afd088cd.jpg","text":"TemporaryFile(/tmp/multipartBody1058102813126814791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_57_02_692770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d22502f7cc91276b8c015b844078d23f.jpg","text":"TemporaryFile(/tmp/multipartBody1346487619262314425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_58_02_243092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93b85cf875088a2504e40e8bc5e9e14d.jpg","text":"TemporaryFile(/tmp/multipartBody796046204321374412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301697500,"filename":"image_08012025_02_58_02_243092_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327377406","file1":"1327377230","file0":"1327377066","file4":"1327377718","file5":"1327378057","file3":"1327377557"},"map_files_photo_id_array":[{"photo_id":"1327378057","filename":"file5"},{"photo_id":"1327377406","filename":"file2"},{"photo_id":"1327377718","filename":"file4"},{"photo_id":"1327377230","filename":"file1"},{"photo_id":"1327377066","filename":"file0"},{"photo_id":"1327377557","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327378057":["hashtag1","hashtag2"]},{"1327377718":["hashtag1","hashtag2"]},{"1327377406":["hashtag1","hashtag2"]},{"1327377066":["hashtag1","hashtag2"]},{"1327377557":["hashtag1","hashtag2"]},{"1327377230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327378057, 1327377718, 1327377406, 1327377066, 1327377557, 1327377230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.574482917785645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:01:21.817813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0001.jpg', '/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0002.jpg', '/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0003.jpg', '/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0000.jpg', '/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0001.jpg', '/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0001.jpg
/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0002.jpg
/home/pi/Desktop/images/08012025/02/59/image_08012025_02_59_02_808907_0003.jpg
/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0000.jpg
/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0001.jpg
/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327379298","1327379302","1327379330","1327379309","1327379299","1327379305"],"photo_ids_order":["1327379298","1327379299","1327379302","1327379305","1327379309","1327379330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c1e7ddc03fb2bf40c6aaf3cd042ced6.jpg","text":"TemporaryFile(/tmp/multipartBody7711036981399108107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_02_59_02_808907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71535e490bbd8f37ad1ede7c41928db0.jpg","text":"TemporaryFile(/tmp/multipartBody5797640089662568401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_02_59_02_808907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a365d46aa45ac0f4feea2364fbf51a0.jpg","text":"TemporaryFile(/tmp/multipartBody7444757841690331323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_03_00_03_022005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abfd7580a005278a5af13935f86bc626.jpg","text":"TemporaryFile(/tmp/multipartBody2451448643315692713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_03_00_03_022005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90c723bdf3ca0aaa152fd417ce779d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8361884915299288728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_02_59_02_808907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6c74f67a4da5635008f7010753bcc07.jpg","text":"TemporaryFile(/tmp/multipartBody8224150363659935831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301757011,"filename":"image_08012025_03_00_03_022005_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327379302","file1":"1327379299","file0":"1327379298","file4":"1327379309","file5":"1327379330","file3":"1327379305"},"map_files_photo_id_array":[{"photo_id":"1327379330","filename":"file5"},{"photo_id":"1327379302","filename":"file2"},{"photo_id":"1327379309","filename":"file4"},{"photo_id":"1327379299","filename":"file1"},{"photo_id":"1327379298","filename":"file0"},{"photo_id":"1327379305","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327379298":["hashtag1","hashtag2"]},{"1327379302":["hashtag1","hashtag2"]},{"1327379330":["hashtag1","hashtag2"]},{"1327379309":["hashtag1","hashtag2"]},{"1327379299":["hashtag1","hashtag2"]},{"1327379305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327379298, 1327379302, 1327379330, 1327379309, 1327379299, 1327379305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.514196157455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:02:22.473759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0003.jpg', '/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0000.jpg', '/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0001.jpg', '/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0002.jpg', '/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0003.jpg', '/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/00/image_08012025_03_00_03_022005_0003.jpg
/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0000.jpg
/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0001.jpg
/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0002.jpg
/home/pi/Desktop/images/08012025/03/01/image_08012025_03_01_02_725928_0003.jpg
/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_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":["1327380085","1327380217","1327380151","1327380176","1327380000","1327379959"],"photo_ids_order":["1327379959","1327380000","1327380085","1327380151","1327380176","1327380217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e5d92567f2243ef5adb4fac8d19ab7a.jpg","text":"TemporaryFile(/tmp/multipartBody4394059777425549553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_01_02_725928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4fc8d1de0cf2551edac9db95176fceb.jpg","text":"TemporaryFile(/tmp/multipartBody6542509429870160815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_02_02_298502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6b4fe36d70f999621350c04e920d219.jpg","text":"TemporaryFile(/tmp/multipartBody3890885187113320043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_01_02_725928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b1e0f8d5de0ef4bd34d46469d1379d3.jpg","text":"TemporaryFile(/tmp/multipartBody1007123343866271996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_01_02_725928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46308b4ba69ebb9d32c14cecf59e726c.jpg","text":"TemporaryFile(/tmp/multipartBody1783475291682782573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_01_02_725928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea709dbaa5923fe57751ca29ec5a8c0d.jpg","text":"TemporaryFile(/tmp/multipartBody523114376284777430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301817648,"filename":"image_08012025_03_00_03_022005_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327380085","file1":"1327380000","file0":"1327379959","file4":"1327380176","file5":"1327380217","file3":"1327380151"},"map_files_photo_id_array":[{"photo_id":"1327380217","filename":"file5"},{"photo_id":"1327380085","filename":"file2"},{"photo_id":"1327380176","filename":"file4"},{"photo_id":"1327380000","filename":"file1"},{"photo_id":"1327379959","filename":"file0"},{"photo_id":"1327380151","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327380085":["hashtag1","hashtag2"]},{"1327380217":["hashtag1","hashtag2"]},{"1327380151":["hashtag1","hashtag2"]},{"1327380176":["hashtag1","hashtag2"]},{"1327380000":["hashtag1","hashtag2"]},{"1327379959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327380085, 1327380217, 1327380151, 1327380176, 1327380000, 1327379959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.37367177009583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:04:02.987796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0001.jpg', '/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0002.jpg', '/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0003.jpg', '/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0000.jpg', '/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0001.jpg', '/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0001.jpg
/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0002.jpg
/home/pi/Desktop/images/08012025/03/02/image_08012025_03_02_02_298502_0003.jpg
/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0000.jpg
/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0001.jpg
/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327380687","1327380756","1327380759","1327380866","1327380845","1327380758"],"photo_ids_order":["1327380687","1327380756","1327380758","1327380759","1327380845","1327380866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b24bfb1f00c631b862df1daeb891f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody3145678693313985695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_02_02_298502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b449e1e984d99ec43d4d870123837aa.jpg","text":"TemporaryFile(/tmp/multipartBody9075364291420946840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_02_02_298502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7763191946a00c19f6974b62c00ce7c7.jpg","text":"TemporaryFile(/tmp/multipartBody8745525028741788515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_03_02_810806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f4d1258b6f5ce5dc83e044811835883.jpg","text":"TemporaryFile(/tmp/multipartBody1522585307717387235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_03_02_810806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0884384fe70603ace936fc17556c67c.jpg","text":"TemporaryFile(/tmp/multipartBody2061495704077708575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_03_02_810806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/508ca9d1dc904bb15eec578625a5e938.jpg","text":"TemporaryFile(/tmp/multipartBody419766857650707592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301917893,"filename":"image_08012025_03_02_02_298502_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327380758","file1":"1327380756","file0":"1327380687","file4":"1327380845","file5":"1327380866","file3":"1327380759"},"map_files_photo_id_array":[{"photo_id":"1327380866","filename":"file5"},{"photo_id":"1327380758","filename":"file2"},{"photo_id":"1327380845","filename":"file4"},{"photo_id":"1327380756","filename":"file1"},{"photo_id":"1327380687","filename":"file0"},{"photo_id":"1327380759","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327380687":["hashtag1","hashtag2"]},{"1327380756":["hashtag1","hashtag2"]},{"1327380759":["hashtag1","hashtag2"]},{"1327380866":["hashtag1","hashtag2"]},{"1327380845":["hashtag1","hashtag2"]},{"1327380758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327380687, 1327380756, 1327380759, 1327380866, 1327380845, 1327380758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78663372993469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:05:02.640202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0003.jpg', '/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0000.jpg', '/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0003.jpg
/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0000.jpg
/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_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.369872093200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:05:22.017915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0003.jpg', '/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0000.jpg', '/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0001.jpg', '/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0002.jpg', '/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0000.jpg', '/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/03/image_08012025_03_03_02_810806_0003.jpg
/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0000.jpg
/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0001.jpg
/home/pi/Desktop/images/08012025/03/04/image_08012025_03_04_02_424169_0002.jpg
/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0000.jpg
/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381095","1327381176","1327381056","1327381097","1327381090","1327381093"],"photo_ids_order":["1327381056","1327381090","1327381093","1327381095","1327381097","1327381176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38463dea926182af5bcc3b049b1bce1e.jpg","text":"TemporaryFile(/tmp/multipartBody766111994292482154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_04_02_424169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae647cb3cb05cce8f37bd91d2c97b9de.jpg","text":"TemporaryFile(/tmp/multipartBody8083546460359459996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_05_02_946199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61e8c23ee9c66a19d86e80106eec6254.jpg","text":"TemporaryFile(/tmp/multipartBody5807083197030520813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_03_02_810806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03f027396ccbc54efb661464ead5ab25.jpg","text":"TemporaryFile(/tmp/multipartBody3313687067271244129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_05_02_946199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c64ad69be54359bce5221238e5c98421.jpg","text":"TemporaryFile(/tmp/multipartBody3436690526225685589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_04_02_424169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ada9280c0ccda5ee8093ab8872d63dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6261388300911720930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736301996781,"filename":"image_08012025_03_04_02_424169_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381093","file1":"1327381090","file0":"1327381056","file4":"1327381097","file5":"1327381176","file3":"1327381095"},"map_files_photo_id_array":[{"photo_id":"1327381176","filename":"file5"},{"photo_id":"1327381093","filename":"file2"},{"photo_id":"1327381097","filename":"file4"},{"photo_id":"1327381090","filename":"file1"},{"photo_id":"1327381056","filename":"file0"},{"photo_id":"1327381095","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381095":["hashtag1","hashtag2"]},{"1327381176":["hashtag1","hashtag2"]},{"1327381056":["hashtag1","hashtag2"]},{"1327381097":["hashtag1","hashtag2"]},{"1327381090":["hashtag1","hashtag2"]},{"1327381093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381095, 1327381176, 1327381056, 1327381097, 1327381090, 1327381093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.908698081970215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:06:22.590974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0002.jpg', '/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0003.jpg', '/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0000.jpg', '/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0001.jpg', '/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0002.jpg
/home/pi/Desktop/images/08012025/03/05/image_08012025_03_05_02_946199_0003.jpg
/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0000.jpg
/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0001.jpg
/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381293","1327381296","1327381365","1327381361","1327381291"],"photo_ids_order":["1327381291","1327381293","1327381296","1327381361","1327381365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4c7e5b914e0e9cff6801716350b0b39.jpg","text":"TemporaryFile(/tmp/multipartBody3167557750712591027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302055233,"filename":"image_08012025_03_05_02_946199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c0a28a9591e7b9d323c725ebf156238.jpg","text":"TemporaryFile(/tmp/multipartBody8301891309093844431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302055233,"filename":"image_08012025_03_06_02_440408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3851e03f8b8b4b58a6d000ae70990041.jpg","text":"TemporaryFile(/tmp/multipartBody1625769711059068153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302055233,"filename":"image_08012025_03_06_02_440408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dabdd5b299d42ecc27fb0b60c1474dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4848371698451851253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302055233,"filename":"image_08012025_03_06_02_440408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f8e4fa663c8ea2284a4101803e504c4.jpg","text":"TemporaryFile(/tmp/multipartBody6574099326984193237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302055233,"filename":"image_08012025_03_05_02_946199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381296","file1":"1327381293","file0":"1327381291","file4":"1327381365","file3":"1327381361"},"map_files_photo_id_array":[{"photo_id":"1327381296","filename":"file2"},{"photo_id":"1327381365","filename":"file4"},{"photo_id":"1327381293","filename":"file1"},{"photo_id":"1327381291","filename":"file0"},{"photo_id":"1327381361","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381293":["hashtag1","hashtag2"]},{"1327381296":["hashtag1","hashtag2"]},{"1327381365":["hashtag1","hashtag2"]},{"1327381361":["hashtag1","hashtag2"]},{"1327381291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381293, 1327381296, 1327381365, 1327381361, 1327381291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.325966119766235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:07:22.042380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0003.jpg', '/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0000.jpg', '/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0001.jpg', '/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/06/image_08012025_03_06_02_440408_0003.jpg
/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0000.jpg
/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0001.jpg
/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381476","1327381478","1327381439","1327381480"],"photo_ids_order":["1327381439","1327381476","1327381478","1327381480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31dafcd9b3bdc0ba93ff85c4a43fe798.jpg","text":"TemporaryFile(/tmp/multipartBody3119812202722937237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302112348,"filename":"image_08012025_03_07_02_946961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b3df74b14394cccad72b78d33e0742a.jpg","text":"TemporaryFile(/tmp/multipartBody9146660416885772409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302112348,"filename":"image_08012025_03_07_02_946961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/434b6497521c5a9317ba1828d14c7a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1174808494006088017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302112348,"filename":"image_08012025_03_06_02_440408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a177b8938e6301a76f16d3de5ae759d.jpg","text":"TemporaryFile(/tmp/multipartBody8122313437662411132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302112348,"filename":"image_08012025_03_07_02_946961_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381478","file1":"1327381476","file0":"1327381439","file3":"1327381480"},"map_files_photo_id_array":[{"photo_id":"1327381478","filename":"file2"},{"photo_id":"1327381476","filename":"file1"},{"photo_id":"1327381439","filename":"file0"},{"photo_id":"1327381480","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381476":["hashtag1","hashtag2"]},{"1327381478":["hashtag1","hashtag2"]},{"1327381439":["hashtag1","hashtag2"]},{"1327381480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381476, 1327381478, 1327381439, 1327381480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44139075279236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:08:03.020735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:08:22.660029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0003.jpg', '/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0000.jpg', '/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0001.jpg', '/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/07/image_08012025_03_07_02_946961_0003.jpg
/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0000.jpg
/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0001.jpg
/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381490","1327381492","1327381495","1327381498"],"photo_ids_order":["1327381490","1327381492","1327381495","1327381498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41af891804b1424f1622024e8e294045.jpg","text":"TemporaryFile(/tmp/multipartBody1614002153248095189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302173002,"filename":"image_08012025_03_07_02_946961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58747bed256b14966d922ee27d17501b.jpg","text":"TemporaryFile(/tmp/multipartBody4806611769389490075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302173002,"filename":"image_08012025_03_08_02_488071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2bdb1650bb921dcbcc5d4b904c74789.jpg","text":"TemporaryFile(/tmp/multipartBody212899226573825094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302173002,"filename":"image_08012025_03_08_02_488071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5fa9390e0d35eb9521065507b614fd97.jpg","text":"TemporaryFile(/tmp/multipartBody6048102242879106430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302173002,"filename":"image_08012025_03_08_02_488071_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381495","file1":"1327381492","file0":"1327381490","file3":"1327381498"},"map_files_photo_id_array":[{"photo_id":"1327381495","filename":"file2"},{"photo_id":"1327381492","filename":"file1"},{"photo_id":"1327381490","filename":"file0"},{"photo_id":"1327381498","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381490":["hashtag1","hashtag2"]},{"1327381492":["hashtag1","hashtag2"]},{"1327381495":["hashtag1","hashtag2"]},{"1327381498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381490, 1327381492, 1327381495, 1327381498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00477170944214 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-08 03:09:22.172692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0003.jpg', '/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0000.jpg', '/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0001.jpg', '/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/08/image_08012025_03_08_02_488071_0003.jpg
/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0000.jpg
/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0001.jpg
/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381509","1327381511","1327381513","1327381507"],"photo_ids_order":["1327381507","1327381509","1327381511","1327381513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ebaac6868ce9999b78423b811f67a95.jpg","text":"TemporaryFile(/tmp/multipartBody690546953510933144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302232387,"filename":"image_08012025_03_09_02_999114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4b4c1d40f215029b23623bc91e37954.jpg","text":"TemporaryFile(/tmp/multipartBody309820215222803325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302232387,"filename":"image_08012025_03_09_02_999114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15477c6b787d3c80daabee6c22f3833d.jpg","text":"TemporaryFile(/tmp/multipartBody787650720971507867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302232387,"filename":"image_08012025_03_09_02_999114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94d4f8202baf4d527065411b88014339.jpg","text":"TemporaryFile(/tmp/multipartBody728780121489882775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302232387,"filename":"image_08012025_03_08_02_488071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381511","file1":"1327381509","file0":"1327381507","file3":"1327381513"},"map_files_photo_id_array":[{"photo_id":"1327381511","filename":"file2"},{"photo_id":"1327381509","filename":"file1"},{"photo_id":"1327381507","filename":"file0"},{"photo_id":"1327381513","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381509":["hashtag1","hashtag2"]},{"1327381511":["hashtag1","hashtag2"]},{"1327381513":["hashtag1","hashtag2"]},{"1327381507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381509, 1327381511, 1327381513, 1327381507)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.00063967704773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:10:22.695690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0003.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0000.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0001.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0003.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0000.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0001.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.02915644645691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:11:02.853653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0003.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0000.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0001.jpg', '/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/09/image_08012025_03_09_02_999114_0003.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0000.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0001.jpg
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381587","1327381586","1327381588","1327381585"],"photo_ids_order":["1327381585","1327381586","1327381587","1327381588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9741aa0792e249ffc1b29f97713526c8.jpg","text":"TemporaryFile(/tmp/multipartBody7405518608334612822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302333340,"filename":"image_08012025_03_10_02_520815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82e3837e52b6e3a5eca39d30c2043915.jpg","text":"TemporaryFile(/tmp/multipartBody3800977673410383328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302333340,"filename":"image_08012025_03_10_02_520815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9521d4993c23e40d3de9b06fef8d99a.jpg","text":"TemporaryFile(/tmp/multipartBody8433282239477325287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302333340,"filename":"image_08012025_03_10_02_520815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa0ad8992662e1398efb40a1dc1f8eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4546315381721892668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302333340,"filename":"image_08012025_03_09_02_999114_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381587","file1":"1327381586","file0":"1327381585","file3":"1327381588"},"map_files_photo_id_array":[{"photo_id":"1327381587","filename":"file2"},{"photo_id":"1327381586","filename":"file1"},{"photo_id":"1327381585","filename":"file0"},{"photo_id":"1327381588","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381587":["hashtag1","hashtag2"]},{"1327381586":["hashtag1","hashtag2"]},{"1327381588":["hashtag1","hashtag2"]},{"1327381585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381587, 1327381586, 1327381588, 1327381585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06199288368225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:12:02.307429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0003.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0000.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0001.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0003.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0000.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0001.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.848212242126465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:12:21.848464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0003.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0000.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0001.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0002.jpg', '/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0003.jpg', '/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/10/image_08012025_03_10_02_520815_0003.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0000.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0001.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0002.jpg
/home/pi/Desktop/images/08012025/03/11/image_08012025_03_11_03_057074_0003.jpg
/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381641","1327381635","1327381643","1327381646","1327381637","1327381639"],"photo_ids_order":["1327381635","1327381637","1327381639","1327381641","1327381643","1327381646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad716cd27b14d1b02c59c93c38a8f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody9021157235252556104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_11_03_057074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d65d44dbcf3a5c9bd09f2e4818f5dfd2.jpg","text":"TemporaryFile(/tmp/multipartBody738883367437351921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_10_02_520815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fb6a9734ab0cde23f617434c8be5c57.jpg","text":"TemporaryFile(/tmp/multipartBody1620539080153308496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_11_03_057074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1de29f840f3c6ee0d45be45360e1a167.jpg","text":"TemporaryFile(/tmp/multipartBody3238688166335680285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_12_02_579117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4f65df7e8977b58bf38527a3e0ede15.jpg","text":"TemporaryFile(/tmp/multipartBody7812937201550237339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_11_03_057074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47b01dba29022a61a7ac3e030be4de46.jpg","text":"TemporaryFile(/tmp/multipartBody8854525585082485190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302416921,"filename":"image_08012025_03_11_03_057074_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381639","file1":"1327381637","file0":"1327381635","file4":"1327381643","file5":"1327381646","file3":"1327381641"},"map_files_photo_id_array":[{"photo_id":"1327381646","filename":"file5"},{"photo_id":"1327381639","filename":"file2"},{"photo_id":"1327381643","filename":"file4"},{"photo_id":"1327381637","filename":"file1"},{"photo_id":"1327381635","filename":"file0"},{"photo_id":"1327381641","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381641":["hashtag1","hashtag2"]},{"1327381635":["hashtag1","hashtag2"]},{"1327381643":["hashtag1","hashtag2"]},{"1327381646":["hashtag1","hashtag2"]},{"1327381637":["hashtag1","hashtag2"]},{"1327381639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381641, 1327381635, 1327381643, 1327381646, 1327381637, 1327381639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15136647224426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:13:22.331527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0001.jpg', '/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0002.jpg', '/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0003.jpg', '/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0000.jpg', '/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0001.jpg', '/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0001.jpg
/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0002.jpg
/home/pi/Desktop/images/08012025/03/12/image_08012025_03_12_02_579117_0003.jpg
/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0000.jpg
/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0001.jpg
/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381683","1327381689","1327381694","1327381691","1327381685","1327381687"],"photo_ids_order":["1327381683","1327381685","1327381687","1327381689","1327381691","1327381694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15d15aafcfae0012aa63783a1b11979d.jpg","text":"TemporaryFile(/tmp/multipartBody9029906822742561675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_12_02_579117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1d44396b5a8e110b059d052a6962fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2803821006711934853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_13_02_203483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8920ffb70aed57fd7434286c594a5a66.jpg","text":"TemporaryFile(/tmp/multipartBody6020576956138366856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_13_02_203483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e82baf4eab73e0d822df499c5c17c261.jpg","text":"TemporaryFile(/tmp/multipartBody6364748629122133130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_13_02_203483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e00a7d323ab7af9da136158a29936a9.jpg","text":"TemporaryFile(/tmp/multipartBody7156632660420271623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_12_02_579117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1521d2c12f2664de094c5092f67133ac.jpg","text":"TemporaryFile(/tmp/multipartBody2455346622722954943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302477426,"filename":"image_08012025_03_12_02_579117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381687","file1":"1327381685","file0":"1327381683","file4":"1327381691","file5":"1327381694","file3":"1327381689"},"map_files_photo_id_array":[{"photo_id":"1327381694","filename":"file5"},{"photo_id":"1327381687","filename":"file2"},{"photo_id":"1327381691","filename":"file4"},{"photo_id":"1327381685","filename":"file1"},{"photo_id":"1327381683","filename":"file0"},{"photo_id":"1327381689","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381683":["hashtag1","hashtag2"]},{"1327381689":["hashtag1","hashtag2"]},{"1327381694":["hashtag1","hashtag2"]},{"1327381691":["hashtag1","hashtag2"]},{"1327381685":["hashtag1","hashtag2"]},{"1327381687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381683, 1327381689, 1327381694, 1327381691, 1327381685, 1327381687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.253077030181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:14:21.889556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0003.jpg', '/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0000.jpg', '/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0001.jpg', '/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/13/image_08012025_03_13_02_203483_0003.jpg
/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0000.jpg
/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0001.jpg
/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381713","1327381707","1327381709","1327381711"],"photo_ids_order":["1327381707","1327381709","1327381711","1327381713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/974f837b2c48a9ab798f8133f814eeb1.jpg","text":"TemporaryFile(/tmp/multipartBody6346152518569186226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302532159,"filename":"image_08012025_03_14_02_713704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7141fb1d1c577b8faf257ef820ce04c6.jpg","text":"TemporaryFile(/tmp/multipartBody1968960858660623742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302532159,"filename":"image_08012025_03_13_02_203483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1b6be4467130d31d22fdfab26d17a14.jpg","text":"TemporaryFile(/tmp/multipartBody2007285422169334903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302532159,"filename":"image_08012025_03_14_02_713704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f887c28c9c2b9db3586d86c9894079f1.jpg","text":"TemporaryFile(/tmp/multipartBody839160816505679687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302532159,"filename":"image_08012025_03_14_02_713704_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381711","file1":"1327381709","file0":"1327381707","file3":"1327381713"},"map_files_photo_id_array":[{"photo_id":"1327381711","filename":"file2"},{"photo_id":"1327381709","filename":"file1"},{"photo_id":"1327381707","filename":"file0"},{"photo_id":"1327381713","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381713":["hashtag1","hashtag2"]},{"1327381707":["hashtag1","hashtag2"]},{"1327381709":["hashtag1","hashtag2"]},{"1327381711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381713, 1327381707, 1327381709, 1327381711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73293995857239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:15:03.072042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:15:22.378832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0003.jpg', '/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0000.jpg', '/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0001.jpg', '/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/14/image_08012025_03_14_02_713704_0003.jpg
/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0000.jpg
/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0001.jpg
/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381731","1327381760","1327381757","1327381777"],"photo_ids_order":["1327381731","1327381757","1327381760","1327381777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c95e00a5c0c2826febcae99c53556dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8614039423316788973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302592736,"filename":"image_08012025_03_14_02_713704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1fdadffe15e0cd1de9859d883bc6dafc.jpg","text":"TemporaryFile(/tmp/multipartBody3902046155372751649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302592736,"filename":"image_08012025_03_15_02_262585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9be0141e10f8fe41acbcdf6912d44178.jpg","text":"TemporaryFile(/tmp/multipartBody6578064858249345962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302592736,"filename":"image_08012025_03_15_02_262585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9795969bfeecbf48afb8d0b4b0cd85a.jpg","text":"TemporaryFile(/tmp/multipartBody765811782351013110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302592736,"filename":"image_08012025_03_15_02_262585_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381760","file1":"1327381757","file0":"1327381731","file3":"1327381777"},"map_files_photo_id_array":[{"photo_id":"1327381760","filename":"file2"},{"photo_id":"1327381757","filename":"file1"},{"photo_id":"1327381731","filename":"file0"},{"photo_id":"1327381777","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381731":["hashtag1","hashtag2"]},{"1327381760":["hashtag1","hashtag2"]},{"1327381757":["hashtag1","hashtag2"]},{"1327381777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381731, 1327381760, 1327381757, 1327381777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.5400710105896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:16:22.124126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0003.jpg', '/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0000.jpg', '/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0001.jpg', '/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/15/image_08012025_03_15_02_262585_0003.jpg
/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0000.jpg
/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0001.jpg
/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381833","1327381796","1327381835","1327381794"],"photo_ids_order":["1327381794","1327381796","1327381833","1327381835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fed5039924c7714ec1f6352e448bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody6692787114440794882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302652538,"filename":"image_08012025_03_16_02_791716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3d4b25184c80f3cac0963d4251f64cf.jpg","text":"TemporaryFile(/tmp/multipartBody8272143119275297281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302652538,"filename":"image_08012025_03_16_02_791716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/303dd9c16bf1fdca4b83c22621952eb5.jpg","text":"TemporaryFile(/tmp/multipartBody7577335415345487033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302652538,"filename":"image_08012025_03_16_02_791716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b00d6b159bddc23fc052ec8a68287c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4516085758779902777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302652538,"filename":"image_08012025_03_15_02_262585_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381833","file1":"1327381796","file0":"1327381794","file3":"1327381835"},"map_files_photo_id_array":[{"photo_id":"1327381833","filename":"file2"},{"photo_id":"1327381796","filename":"file1"},{"photo_id":"1327381794","filename":"file0"},{"photo_id":"1327381835","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381833":["hashtag1","hashtag2"]},{"1327381796":["hashtag1","hashtag2"]},{"1327381835":["hashtag1","hashtag2"]},{"1327381794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381833, 1327381796, 1327381835, 1327381794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.891045331954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:17:22.638391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0003.jpg', '/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0000.jpg', '/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0001.jpg', '/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/16/image_08012025_03_16_02_791716_0003.jpg
/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0000.jpg
/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0001.jpg
/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381845","1327381841","1327381847","1327381843"],"photo_ids_order":["1327381841","1327381843","1327381845","1327381847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75182188c898bbbe251ff8635da31db9.jpg","text":"TemporaryFile(/tmp/multipartBody1296674003241416214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302712886,"filename":"image_08012025_03_17_02_473431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29d46a0453ef4e6ad2fac13d0288d140.jpg","text":"TemporaryFile(/tmp/multipartBody8815160186518178891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302712886,"filename":"image_08012025_03_16_02_791716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa84942b6f63b6731452823e169a27d5.jpg","text":"TemporaryFile(/tmp/multipartBody3274632932817998434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302712886,"filename":"image_08012025_03_17_02_473431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/afcbbf3f986112b765458c08340570a1.jpg","text":"TemporaryFile(/tmp/multipartBody8495691156978689952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302712886,"filename":"image_08012025_03_17_02_473431_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381845","file1":"1327381843","file0":"1327381841","file3":"1327381847"},"map_files_photo_id_array":[{"photo_id":"1327381845","filename":"file2"},{"photo_id":"1327381843","filename":"file1"},{"photo_id":"1327381841","filename":"file0"},{"photo_id":"1327381847","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381845":["hashtag1","hashtag2"]},{"1327381841":["hashtag1","hashtag2"]},{"1327381847":["hashtag1","hashtag2"]},{"1327381843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381845, 1327381841, 1327381847, 1327381843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.811213970184326 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-08 03:18:22.120392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0003.jpg', '/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0000.jpg', '/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0001.jpg', '/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/17/image_08012025_03_17_02_473431_0003.jpg
/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0000.jpg
/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0001.jpg
/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381872","1327381880","1327381874","1327381877"],"photo_ids_order":["1327381872","1327381874","1327381877","1327381880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40bacd09dc43903e92445bbbc2ebf86b.jpg","text":"TemporaryFile(/tmp/multipartBody6226090086821811665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302772443,"filename":"image_08012025_03_17_02_473431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed30ae0fcb6f55f9572e906db6d42c37.jpg","text":"TemporaryFile(/tmp/multipartBody8063146297204667381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302772443,"filename":"image_08012025_03_18_02_959842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26fda30ab0cbbf9e71686799619ae72b.jpg","text":"TemporaryFile(/tmp/multipartBody6853291895383331766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302772443,"filename":"image_08012025_03_18_02_959842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31dbc46b709f569b2f0067cabf98bc01.jpg","text":"TemporaryFile(/tmp/multipartBody4168907920188780286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302772443,"filename":"image_08012025_03_18_02_959842_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381877","file1":"1327381874","file0":"1327381872","file3":"1327381880"},"map_files_photo_id_array":[{"photo_id":"1327381877","filename":"file2"},{"photo_id":"1327381874","filename":"file1"},{"photo_id":"1327381872","filename":"file0"},{"photo_id":"1327381880","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381872":["hashtag1","hashtag2"]},{"1327381880":["hashtag1","hashtag2"]},{"1327381874":["hashtag1","hashtag2"]},{"1327381877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381872, 1327381880, 1327381874, 1327381877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66963267326355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:19:03.223908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:19:22.633486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0003.jpg', '/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0000.jpg', '/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0001.jpg', '/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/18/image_08012025_03_18_02_959842_0003.jpg
/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0000.jpg
/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0001.jpg
/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327381926","1327381922","1327381928","1327381924"],"photo_ids_order":["1327381922","1327381924","1327381926","1327381928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84c7c5a6f97e32ab73dea7c9af6956b7.jpg","text":"TemporaryFile(/tmp/multipartBody4308250485264891851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302832818,"filename":"image_08012025_03_19_02_562182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/622c8b280610362320a19f9b7481e145.jpg","text":"TemporaryFile(/tmp/multipartBody9071564162963253259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302832818,"filename":"image_08012025_03_18_02_959842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5de4cf7bb90a5090a9a677645e2c4c3f.jpg","text":"TemporaryFile(/tmp/multipartBody721648320776017838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302832818,"filename":"image_08012025_03_19_02_562182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6dae16bd9a16daa23c09c7be6e449b7.jpg","text":"TemporaryFile(/tmp/multipartBody7864600318523895277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302832818,"filename":"image_08012025_03_19_02_562182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327381926","file1":"1327381924","file0":"1327381922","file3":"1327381928"},"map_files_photo_id_array":[{"photo_id":"1327381926","filename":"file2"},{"photo_id":"1327381924","filename":"file1"},{"photo_id":"1327381922","filename":"file0"},{"photo_id":"1327381928","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327381926":["hashtag1","hashtag2"]},{"1327381922":["hashtag1","hashtag2"]},{"1327381928":["hashtag1","hashtag2"]},{"1327381924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327381926, 1327381922, 1327381928, 1327381924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.591885566711426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:20:22.384053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0003.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0000.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0001.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0003.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0000.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0001.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.831902265548706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:21:02.513144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0003.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0000.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0001.jpg', '/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/19/image_08012025_03_19_02_562182_0003.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0000.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0001.jpg
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382142","1327382145","1327382143","1327382146"],"photo_ids_order":["1327382142","1327382143","1327382145","1327382146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4aa14916e2efef4f36c65333b62d5961.jpg","text":"TemporaryFile(/tmp/multipartBody7144833988840046442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302932795,"filename":"image_08012025_03_19_02_562182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2979e30cac0c6e4e7e8045fa221dea1c.jpg","text":"TemporaryFile(/tmp/multipartBody5413637293155781310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302932795,"filename":"image_08012025_03_20_03_118967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f1d6e9c9b01e9c75049acbb2014cb98.jpg","text":"TemporaryFile(/tmp/multipartBody5382924686874531827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302932795,"filename":"image_08012025_03_20_03_118967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e306f46a7142a94224adb42ec6aa55c.jpg","text":"TemporaryFile(/tmp/multipartBody1947753747103019709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736302932795,"filename":"image_08012025_03_20_03_118967_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382145","file1":"1327382143","file0":"1327382142","file3":"1327382146"},"map_files_photo_id_array":[{"photo_id":"1327382145","filename":"file2"},{"photo_id":"1327382143","filename":"file1"},{"photo_id":"1327382142","filename":"file0"},{"photo_id":"1327382146","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382142":["hashtag1","hashtag2"]},{"1327382145":["hashtag1","hashtag2"]},{"1327382143":["hashtag1","hashtag2"]},{"1327382146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382142, 1327382145, 1327382143, 1327382146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.27182984352112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:22:02.943876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0003.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0000.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0001.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0003.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0000.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0001.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.191658973693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:22:22.523741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0003.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0000.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0001.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0002.jpg', '/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0003.jpg', '/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/20/image_08012025_03_20_03_118967_0003.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0000.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0001.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0002.jpg
/home/pi/Desktop/images/08012025/03/21/image_08012025_03_21_02_775476_0003.jpg
/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382178","1327382198","1327382202","1327382180","1327382200","1327382196"],"photo_ids_order":["1327382178","1327382180","1327382196","1327382198","1327382200","1327382202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbdb19cb02d9558a3a8f8f04114a6181.jpg","text":"TemporaryFile(/tmp/multipartBody1778337863994484468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_20_03_118967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c7352c20e09c16c6b3ea61a022077f0.jpg","text":"TemporaryFile(/tmp/multipartBody3075153144066225177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_21_02_775476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6e3856bcc4699da4b85d7f7b3b436cb.jpg","text":"TemporaryFile(/tmp/multipartBody6691834925557283023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_22_02_308868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c91b3b7676111f08ed19e7a892ba6d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3376264973587377902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_21_02_775476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a24308d4ef18a8e40fb6607674e37242.jpg","text":"TemporaryFile(/tmp/multipartBody7982248758256191674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_21_02_775476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/988cbe5d091ef8b99d802ff19dd94b73.jpg","text":"TemporaryFile(/tmp/multipartBody1667336264174118916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303017793,"filename":"image_08012025_03_21_02_775476_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382196","file1":"1327382180","file0":"1327382178","file4":"1327382200","file5":"1327382202","file3":"1327382198"},"map_files_photo_id_array":[{"photo_id":"1327382202","filename":"file5"},{"photo_id":"1327382196","filename":"file2"},{"photo_id":"1327382200","filename":"file4"},{"photo_id":"1327382180","filename":"file1"},{"photo_id":"1327382178","filename":"file0"},{"photo_id":"1327382198","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382178":["hashtag1","hashtag2"]},{"1327382198":["hashtag1","hashtag2"]},{"1327382202":["hashtag1","hashtag2"]},{"1327382180":["hashtag1","hashtag2"]},{"1327382200":["hashtag1","hashtag2"]},{"1327382196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382178, 1327382198, 1327382202, 1327382180, 1327382200, 1327382196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70427060127258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:23:21.933886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0001.jpg', '/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0002.jpg', '/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0003.jpg', '/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0000.jpg', '/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0001.jpg', '/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0001.jpg
/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0002.jpg
/home/pi/Desktop/images/08012025/03/22/image_08012025_03_22_02_308868_0003.jpg
/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0000.jpg
/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0001.jpg
/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382406","1327382400","1327382408","1327382402","1327382410","1327382404"],"photo_ids_order":["1327382400","1327382402","1327382404","1327382406","1327382408","1327382410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db7fb804098d74a5a66cd2242b8a1f10.jpg","text":"TemporaryFile(/tmp/multipartBody657564198592893018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_23_02_886201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33ed6e43c647e750c41bddfdd4896690.jpg","text":"TemporaryFile(/tmp/multipartBody7817740249212943527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_22_02_308868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e2e655c9f6dbfcefcbbd7b5c8a7f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3043789768387255572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_23_02_886201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efd0179420a352573b6f7b9eb65cdeb7.jpg","text":"TemporaryFile(/tmp/multipartBody8157371360179132073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_22_02_308868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13f902acae270e06235217f7e5106b82.jpg","text":"TemporaryFile(/tmp/multipartBody9085926747244893585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_23_02_886201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/562111c046347ee798ffbb69a161f626.jpg","text":"TemporaryFile(/tmp/multipartBody8996727675118328654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303076832,"filename":"image_08012025_03_22_02_308868_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382404","file1":"1327382402","file0":"1327382400","file4":"1327382408","file5":"1327382410","file3":"1327382406"},"map_files_photo_id_array":[{"photo_id":"1327382410","filename":"file5"},{"photo_id":"1327382404","filename":"file2"},{"photo_id":"1327382408","filename":"file4"},{"photo_id":"1327382402","filename":"file1"},{"photo_id":"1327382400","filename":"file0"},{"photo_id":"1327382406","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382406":["hashtag1","hashtag2"]},{"1327382400":["hashtag1","hashtag2"]},{"1327382408":["hashtag1","hashtag2"]},{"1327382402":["hashtag1","hashtag2"]},{"1327382410":["hashtag1","hashtag2"]},{"1327382404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382406, 1327382400, 1327382408, 1327382402, 1327382410, 1327382404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.32449674606323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:24:22.600031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0003.jpg', '/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0000.jpg', '/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0001.jpg', '/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/23/image_08012025_03_23_02_886201_0003.jpg
/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0000.jpg
/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0001.jpg
/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382412","1327382420","1327382414","1327382417"],"photo_ids_order":["1327382412","1327382414","1327382417","1327382420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/007c423e22edf794c58d27966b6e7556.jpg","text":"TemporaryFile(/tmp/multipartBody2084210885437469136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303132807,"filename":"image_08012025_03_23_02_886201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a23be8b4ea4e2fcff61df34666982e5.jpg","text":"TemporaryFile(/tmp/multipartBody2880862026187549253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303132807,"filename":"image_08012025_03_24_02_453316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b21e42e792d41f479053ba2df748c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1182842619608179814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303132807,"filename":"image_08012025_03_24_02_453316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65507329657f20a166d74d6d0a9a0647.jpg","text":"TemporaryFile(/tmp/multipartBody6772665737190887451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303132807,"filename":"image_08012025_03_24_02_453316_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382417","file1":"1327382414","file0":"1327382412","file3":"1327382420"},"map_files_photo_id_array":[{"photo_id":"1327382417","filename":"file2"},{"photo_id":"1327382414","filename":"file1"},{"photo_id":"1327382412","filename":"file0"},{"photo_id":"1327382420","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382412":["hashtag1","hashtag2"]},{"1327382420":["hashtag1","hashtag2"]},{"1327382414":["hashtag1","hashtag2"]},{"1327382417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382412, 1327382420, 1327382414, 1327382417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.962581157684326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:25:22.123855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0003.jpg', '/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0000.jpg', '/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0001.jpg', '/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/24/image_08012025_03_24_02_453316_0003.jpg
/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0000.jpg
/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0001.jpg
/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382613","1327382615","1327382617","1327382611"],"photo_ids_order":["1327382611","1327382613","1327382615","1327382617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/010feb2b9491aa0af651bcf625efb2ab.jpg","text":"TemporaryFile(/tmp/multipartBody442741893584195646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303192219,"filename":"image_08012025_03_25_02_972490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a607753c4e4a27ee9529dd5bae95e162.jpg","text":"TemporaryFile(/tmp/multipartBody3310974918016566809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303192219,"filename":"image_08012025_03_25_02_972490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8ed344aeaf0f2c23501e8d905e34324.jpg","text":"TemporaryFile(/tmp/multipartBody4540311646142969987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303192219,"filename":"image_08012025_03_25_02_972490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0d00c53ef9643d3d088c2a61fa08ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3979983359164356999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303192219,"filename":"image_08012025_03_24_02_453316_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382615","file1":"1327382613","file0":"1327382611","file3":"1327382617"},"map_files_photo_id_array":[{"photo_id":"1327382615","filename":"file2"},{"photo_id":"1327382613","filename":"file1"},{"photo_id":"1327382611","filename":"file0"},{"photo_id":"1327382617","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382613":["hashtag1","hashtag2"]},{"1327382615":["hashtag1","hashtag2"]},{"1327382617":["hashtag1","hashtag2"]},{"1327382611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382613, 1327382615, 1327382617, 1327382611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79032111167908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:26:03.016502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:26:22.674534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0003.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0000.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0001.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0003.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0000.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0001.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.578044891357422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:27:02.636996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0003.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0000.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0001.jpg', '/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/25/image_08012025_03_25_02_972490_0003.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0000.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0001.jpg
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382681","1327382684","1327382686","1327382680"],"photo_ids_order":["1327382680","1327382681","1327382684","1327382686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/636fab5be2596110038da31d387658d8.jpg","text":"TemporaryFile(/tmp/multipartBody6151296246947159972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303292672,"filename":"image_08012025_03_26_02_510724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0aa47a0cba172123f8790971d48867a.jpg","text":"TemporaryFile(/tmp/multipartBody9129931054603275463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303292672,"filename":"image_08012025_03_26_02_510724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ff3290ab808a77a37f4043c3c4f2704.jpg","text":"TemporaryFile(/tmp/multipartBody8528656901129386696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303292672,"filename":"image_08012025_03_26_02_510724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0467ece0cf99e2412f6a4899178579f3.jpg","text":"TemporaryFile(/tmp/multipartBody97248591778330204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303292672,"filename":"image_08012025_03_25_02_972490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382684","file1":"1327382681","file0":"1327382680","file3":"1327382686"},"map_files_photo_id_array":[{"photo_id":"1327382684","filename":"file2"},{"photo_id":"1327382681","filename":"file1"},{"photo_id":"1327382680","filename":"file0"},{"photo_id":"1327382686","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382681":["hashtag1","hashtag2"]},{"1327382684":["hashtag1","hashtag2"]},{"1327382686":["hashtag1","hashtag2"]},{"1327382680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382681, 1327382684, 1327382686, 1327382680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.93495464324951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:28:03.194521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0003.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0000.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0001.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0003.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0000.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0001.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.663149118423462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:28:22.752517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0003.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0000.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0001.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0002.jpg', '/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0003.jpg', '/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/26/image_08012025_03_26_02_510724_0003.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0000.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0001.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0002.jpg
/home/pi/Desktop/images/08012025/03/27/image_08012025_03_27_02_985227_0003.jpg
/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382744","1327382738","1327382746","1327382749","1327382740","1327382742"],"photo_ids_order":["1327382738","1327382740","1327382742","1327382744","1327382746","1327382749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b4ddf7961f17ea088802ff52874e65f.jpg","text":"TemporaryFile(/tmp/multipartBody6341623830845207280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_27_02_985227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/070a0d4b2d7f5b754670b72faeccb05f.jpg","text":"TemporaryFile(/tmp/multipartBody7222002411025525246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_26_02_510724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9928f76b91c3ba53712e35557f8eebad.jpg","text":"TemporaryFile(/tmp/multipartBody1259945797779326179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_27_02_985227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d85f71edac30ba71d7175ef858730f6.jpg","text":"TemporaryFile(/tmp/multipartBody8262708325649208739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_28_02_554939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33f83df85138374ca5c65944d19a2928.jpg","text":"TemporaryFile(/tmp/multipartBody6059631830587560706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_27_02_985227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ff11341b39e2f20904cb9012192070b.jpg","text":"TemporaryFile(/tmp/multipartBody3797943104136683008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303377510,"filename":"image_08012025_03_27_02_985227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382742","file1":"1327382740","file0":"1327382738","file4":"1327382746","file5":"1327382749","file3":"1327382744"},"map_files_photo_id_array":[{"photo_id":"1327382749","filename":"file5"},{"photo_id":"1327382742","filename":"file2"},{"photo_id":"1327382746","filename":"file4"},{"photo_id":"1327382740","filename":"file1"},{"photo_id":"1327382738","filename":"file0"},{"photo_id":"1327382744","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382744":["hashtag1","hashtag2"]},{"1327382738":["hashtag1","hashtag2"]},{"1327382746":["hashtag1","hashtag2"]},{"1327382749":["hashtag1","hashtag2"]},{"1327382740":["hashtag1","hashtag2"]},{"1327382742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382744, 1327382738, 1327382746, 1327382749, 1327382740, 1327382742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64420485496521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:29:22.157809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0001.jpg', '/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0002.jpg', '/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0003.jpg', '/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0000.jpg', '/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0001.jpg', '/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0001.jpg
/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0002.jpg
/home/pi/Desktop/images/08012025/03/28/image_08012025_03_28_02_554939_0003.jpg
/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0000.jpg
/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0001.jpg
/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382759","1327382770","1327382764","1327382773","1327382767","1327382761"],"photo_ids_order":["1327382759","1327382761","1327382764","1327382767","1327382770","1327382773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faf65639aab4039c087ccff89b346978.jpg","text":"TemporaryFile(/tmp/multipartBody6955130689444329624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_28_02_554939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1944161f16527775a885f1d896e32cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4422660266383412409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_29_03_077654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21ee9d01b29be59236309e3871d2c5af.jpg","text":"TemporaryFile(/tmp/multipartBody3295455747852245124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_28_02_554939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/148edde767ec495483af67abc0db39b5.jpg","text":"TemporaryFile(/tmp/multipartBody6169571671721982810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_29_03_077654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc3b98a318421aabbee9d8e0a4de2b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5479937087058372260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_29_03_077654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffc21760433ff7b84cef3775f19d8fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5846829226424433543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303436908,"filename":"image_08012025_03_28_02_554939_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382764","file1":"1327382761","file0":"1327382759","file4":"1327382770","file5":"1327382773","file3":"1327382767"},"map_files_photo_id_array":[{"photo_id":"1327382773","filename":"file5"},{"photo_id":"1327382764","filename":"file2"},{"photo_id":"1327382770","filename":"file4"},{"photo_id":"1327382761","filename":"file1"},{"photo_id":"1327382759","filename":"file0"},{"photo_id":"1327382767","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382759":["hashtag1","hashtag2"]},{"1327382770":["hashtag1","hashtag2"]},{"1327382764":["hashtag1","hashtag2"]},{"1327382773":["hashtag1","hashtag2"]},{"1327382767":["hashtag1","hashtag2"]},{"1327382761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382759, 1327382770, 1327382764, 1327382773, 1327382767, 1327382761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92342019081116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:30:22.758203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0003.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0000.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0001.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0003.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0000.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0001.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.72191596031189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:31:02.790789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0003.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0000.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0001.jpg', '/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/29/image_08012025_03_29_03_077654_0003.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0000.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0001.jpg
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382828","1327382827","1327382800","1327382787"],"photo_ids_order":["1327382787","1327382800","1327382827","1327382828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82ee87f0efd5c8e58691478123d2a1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3600271736317521271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303532968,"filename":"image_08012025_03_30_02_559633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1288ec3d7348205a370d29ace8f10ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5348803985018787110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303532968,"filename":"image_08012025_03_30_02_559633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3792377acd2bfb8378a609df0e9561a4.jpg","text":"TemporaryFile(/tmp/multipartBody5428575569277477451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303532968,"filename":"image_08012025_03_30_02_559633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99c241f4bb3a1c6eceed7593b951297e.jpg","text":"TemporaryFile(/tmp/multipartBody3847658920126543336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303532968,"filename":"image_08012025_03_29_03_077654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382827","file1":"1327382800","file0":"1327382787","file3":"1327382828"},"map_files_photo_id_array":[{"photo_id":"1327382827","filename":"file2"},{"photo_id":"1327382800","filename":"file1"},{"photo_id":"1327382787","filename":"file0"},{"photo_id":"1327382828","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382828":["hashtag1","hashtag2"]},{"1327382827":["hashtag1","hashtag2"]},{"1327382800":["hashtag1","hashtag2"]},{"1327382787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382828, 1327382827, 1327382800, 1327382787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92259335517883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:32:02.232034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0003.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0000.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0001.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0003.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0000.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0001.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.782471895217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:32:21.811658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0003.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0000.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0001.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0002.jpg', '/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0003.jpg', '/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/30/image_08012025_03_30_02_559633_0003.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0000.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0001.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0002.jpg
/home/pi/Desktop/images/08012025/03/31/image_08012025_03_31_03_139151_0003.jpg
/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382882","1327382884","1327382878","1327382886","1327382889","1327382880"],"photo_ids_order":["1327382878","1327382880","1327382882","1327382884","1327382886","1327382889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d370e592befaade8e7ffe30c298c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody2194847645734730654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_31_03_139151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd6a39e3ef2d9146ac3a804754326e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3909948724126905253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_31_03_139151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d1a78491ab3904332802af448238ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6468536528537113536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_30_02_559633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e015911304e88ef84ccf3b9b331a023d.jpg","text":"TemporaryFile(/tmp/multipartBody7929050152568259004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_31_03_139151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4339cc8116a36684fa1e661bd4b98cab.jpg","text":"TemporaryFile(/tmp/multipartBody6627677606343898894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_32_02_630410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3cdcae4fb0a4ac53329ab59445d63659.jpg","text":"TemporaryFile(/tmp/multipartBody633042334188075689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303616767,"filename":"image_08012025_03_31_03_139151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382882","file1":"1327382880","file0":"1327382878","file4":"1327382886","file5":"1327382889","file3":"1327382884"},"map_files_photo_id_array":[{"photo_id":"1327382889","filename":"file5"},{"photo_id":"1327382882","filename":"file2"},{"photo_id":"1327382886","filename":"file4"},{"photo_id":"1327382880","filename":"file1"},{"photo_id":"1327382878","filename":"file0"},{"photo_id":"1327382884","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382882":["hashtag1","hashtag2"]},{"1327382884":["hashtag1","hashtag2"]},{"1327382878":["hashtag1","hashtag2"]},{"1327382886":["hashtag1","hashtag2"]},{"1327382889":["hashtag1","hashtag2"]},{"1327382880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382882, 1327382884, 1327382878, 1327382886, 1327382889, 1327382880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75404071807861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:33:22.415881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0001.jpg', '/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0002.jpg', '/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0003.jpg', '/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0000.jpg', '/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0001.jpg', '/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0001.jpg
/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0002.jpg
/home/pi/Desktop/images/08012025/03/32/image_08012025_03_32_02_630410_0003.jpg
/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0000.jpg
/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0001.jpg
/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327382993","1327382987","1327382995","1327382989","1327382997","1327382991"],"photo_ids_order":["1327382987","1327382989","1327382991","1327382993","1327382995","1327382997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79969cfe7842ac681837ca59ff01f1fa.jpg","text":"TemporaryFile(/tmp/multipartBody5484130744478598805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_33_02_223766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ade75f2fd5cda9127b1fee88795f2fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2252928759630675505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_32_02_630410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab7438aee8b6199a150ef7ab3d42c317.jpg","text":"TemporaryFile(/tmp/multipartBody6418775881345730200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_33_02_223766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd6174e9f5fb882f7ffe5dd37ecc02ef.jpg","text":"TemporaryFile(/tmp/multipartBody294001932031478056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_32_02_630410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffb3cdf2a44cd5efeba90d233bec6059.jpg","text":"TemporaryFile(/tmp/multipartBody9187295357015800261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_33_02_223766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6567055bb14ed4b138ee466c64386fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6309659133258815411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303677339,"filename":"image_08012025_03_32_02_630410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327382991","file1":"1327382989","file0":"1327382987","file4":"1327382995","file5":"1327382997","file3":"1327382993"},"map_files_photo_id_array":[{"photo_id":"1327382997","filename":"file5"},{"photo_id":"1327382991","filename":"file2"},{"photo_id":"1327382995","filename":"file4"},{"photo_id":"1327382989","filename":"file1"},{"photo_id":"1327382987","filename":"file0"},{"photo_id":"1327382993","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327382993":["hashtag1","hashtag2"]},{"1327382987":["hashtag1","hashtag2"]},{"1327382995":["hashtag1","hashtag2"]},{"1327382989":["hashtag1","hashtag2"]},{"1327382997":["hashtag1","hashtag2"]},{"1327382991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327382993, 1327382987, 1327382995, 1327382989, 1327382997, 1327382991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98614716529846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:34:21.872697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0003.jpg', '/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0000.jpg', '/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0001.jpg', '/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/33/image_08012025_03_33_02_223766_0003.jpg
/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0000.jpg
/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0001.jpg
/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383006","1327383010","1327382998","1327383004"],"photo_ids_order":["1327382998","1327383004","1327383006","1327383010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a431caccc4345e4815df49f0b9cd1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8619929125312617678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303732010,"filename":"image_08012025_03_34_02_783075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef2bbaecae512bcf00818c345da23e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1998135937110342167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303732010,"filename":"image_08012025_03_34_02_783075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf51403a9c2e57d2e84a6cd0e9078a58.jpg","text":"TemporaryFile(/tmp/multipartBody1138229642264624585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303732010,"filename":"image_08012025_03_33_02_223766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75508a2a9104e7000090676245cc545b.jpg","text":"TemporaryFile(/tmp/multipartBody7940776764253244017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303732010,"filename":"image_08012025_03_34_02_783075_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383006","file1":"1327383004","file0":"1327382998","file3":"1327383010"},"map_files_photo_id_array":[{"photo_id":"1327383006","filename":"file2"},{"photo_id":"1327383004","filename":"file1"},{"photo_id":"1327382998","filename":"file0"},{"photo_id":"1327383010","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383006":["hashtag1","hashtag2"]},{"1327383010":["hashtag1","hashtag2"]},{"1327382998":["hashtag1","hashtag2"]},{"1327383004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383006, 1327383010, 1327382998, 1327383004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23934459686279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:35:03.074420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:35:22.431997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0003.jpg', '/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0000.jpg', '/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0001.jpg', '/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/34/image_08012025_03_34_02_783075_0003.jpg
/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0000.jpg
/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0001.jpg
/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383053","1327383055","1327383057","1327383051"],"photo_ids_order":["1327383051","1327383053","1327383055","1327383057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ebdbec20c4451cfaee08b32a9e261ea.jpg","text":"TemporaryFile(/tmp/multipartBody5339507535531488636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303792621,"filename":"image_08012025_03_35_02_312905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/153b2965d71ce50bd32a252441d41a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4914230823625952090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303792621,"filename":"image_08012025_03_35_02_312905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21423555d9d25bf88111eb0f61032fb2.jpg","text":"TemporaryFile(/tmp/multipartBody3260055221831229792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303792621,"filename":"image_08012025_03_35_02_312905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e724574a441b88a5aa7c1585818fd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7578210897166679803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303792621,"filename":"image_08012025_03_34_02_783075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383055","file1":"1327383053","file0":"1327383051","file3":"1327383057"},"map_files_photo_id_array":[{"photo_id":"1327383055","filename":"file2"},{"photo_id":"1327383053","filename":"file1"},{"photo_id":"1327383051","filename":"file0"},{"photo_id":"1327383057","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383053":["hashtag1","hashtag2"]},{"1327383055":["hashtag1","hashtag2"]},{"1327383057":["hashtag1","hashtag2"]},{"1327383051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383053, 1327383055, 1327383057, 1327383051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.603097438812256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:36:22.041187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0003.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0000.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0001.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0003.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0000.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0001.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.837934255599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:37:03.185082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0003.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0000.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0001.jpg', '/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/35/image_08012025_03_35_02_312905_0003.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0000.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0001.jpg
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383137","1327383106","1327383103","1327383102"],"photo_ids_order":["1327383102","1327383103","1327383106","1327383137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/355d6c72bf85b5a93cded8081d3bd993.jpg","text":"TemporaryFile(/tmp/multipartBody7316189912626380044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303893482,"filename":"image_08012025_03_36_02_780120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51a6bb8ee0aeb27f71832cbb910c81b7.jpg","text":"TemporaryFile(/tmp/multipartBody8754832026391152300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303893482,"filename":"image_08012025_03_36_02_780120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a678fc7f5c0554a90ec648cdb7b80946.jpg","text":"TemporaryFile(/tmp/multipartBody4383315671376659698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303893482,"filename":"image_08012025_03_36_02_780120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0152b9ad0420d9678891d2fbd10614e.jpg","text":"TemporaryFile(/tmp/multipartBody4645340647375882581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303893482,"filename":"image_08012025_03_35_02_312905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383106","file1":"1327383103","file0":"1327383102","file3":"1327383137"},"map_files_photo_id_array":[{"photo_id":"1327383106","filename":"file2"},{"photo_id":"1327383103","filename":"file1"},{"photo_id":"1327383102","filename":"file0"},{"photo_id":"1327383137","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383137":["hashtag1","hashtag2"]},{"1327383106":["hashtag1","hashtag2"]},{"1327383103":["hashtag1","hashtag2"]},{"1327383102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383137, 1327383106, 1327383103, 1327383102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28164267539978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:38:02.599433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0003.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0000.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0001.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0003.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0000.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0001.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.80521297454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:38:22.179583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0003.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0000.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0001.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0002.jpg', '/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0003.jpg', '/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/36/image_08012025_03_36_02_780120_0003.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0000.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0001.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0002.jpg
/home/pi/Desktop/images/08012025/03/37/image_08012025_03_37_02_372546_0003.jpg
/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383303","1327383293","1327383299","1327383305","1327383301","1327383309"],"photo_ids_order":["1327383293","1327383299","1327383301","1327383303","1327383305","1327383309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/459bbb733a91b9dd8e8eb9f0ebbc8222.jpg","text":"TemporaryFile(/tmp/multipartBody6841161424420148839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_37_02_372546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41af805c1f98ca09f9ced2fdb6be3fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8361627679965198850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_36_02_780120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4d4a3c01c5b312eb4a5fdbe9c52f394.jpg","text":"TemporaryFile(/tmp/multipartBody2085073974543703744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_37_02_372546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44b48a0f8d608fe5b89693904978e90e.jpg","text":"TemporaryFile(/tmp/multipartBody6824081373124668350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_37_02_372546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/775333e7d7ab83bfe8f8ed991ae821dd.jpg","text":"TemporaryFile(/tmp/multipartBody7205379971104757041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_37_02_372546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc6eb04ce7743cf4d464614a1c1cfe6e.jpg","text":"TemporaryFile(/tmp/multipartBody9116896324067832692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736303977148,"filename":"image_08012025_03_38_02_875579_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383301","file1":"1327383299","file0":"1327383293","file4":"1327383305","file5":"1327383309","file3":"1327383303"},"map_files_photo_id_array":[{"photo_id":"1327383309","filename":"file5"},{"photo_id":"1327383301","filename":"file2"},{"photo_id":"1327383305","filename":"file4"},{"photo_id":"1327383299","filename":"file1"},{"photo_id":"1327383293","filename":"file0"},{"photo_id":"1327383303","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383303":["hashtag1","hashtag2"]},{"1327383293":["hashtag1","hashtag2"]},{"1327383299":["hashtag1","hashtag2"]},{"1327383305":["hashtag1","hashtag2"]},{"1327383301":["hashtag1","hashtag2"]},{"1327383309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383303, 1327383293, 1327383299, 1327383305, 1327383301, 1327383309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25897479057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:39:22.647133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0001.jpg', '/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0002.jpg', '/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0003.jpg', '/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0000.jpg', '/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0001.jpg', '/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0001.jpg
/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0002.jpg
/home/pi/Desktop/images/08012025/03/38/image_08012025_03_38_02_875579_0003.jpg
/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0000.jpg
/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0001.jpg
/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383323","1327383332","1327383328","1327383331","1327383325","1327383321"],"photo_ids_order":["1327383321","1327383323","1327383325","1327383328","1327383331","1327383332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1477148fa21314dab0f0208eda399cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5819265719705485622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_38_02_875579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c215864862a06c3aa663ed3c9d42c87c.jpg","text":"TemporaryFile(/tmp/multipartBody6607109390173758474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_39_02_517914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d0aa3d0b74fdb2a6c85d382cfb68b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7236106444762928844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_39_02_517914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad7135ac63ebf1fb7d0e6cf042741006.jpg","text":"TemporaryFile(/tmp/multipartBody2175827064706603295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_39_02_517914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4f7b51b84fcd2afe6addd0c818a04df.jpg","text":"TemporaryFile(/tmp/multipartBody7411382816707849624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_38_02_875579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69ed44e25353201ec0592ef5eddc38d9.jpg","text":"TemporaryFile(/tmp/multipartBody7078827184468992074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304040423,"filename":"image_08012025_03_38_02_875579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383325","file1":"1327383323","file0":"1327383321","file4":"1327383331","file5":"1327383332","file3":"1327383328"},"map_files_photo_id_array":[{"photo_id":"1327383332","filename":"file5"},{"photo_id":"1327383325","filename":"file2"},{"photo_id":"1327383331","filename":"file4"},{"photo_id":"1327383323","filename":"file1"},{"photo_id":"1327383321","filename":"file0"},{"photo_id":"1327383328","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383323":["hashtag1","hashtag2"]},{"1327383332":["hashtag1","hashtag2"]},{"1327383328":["hashtag1","hashtag2"]},{"1327383331":["hashtag1","hashtag2"]},{"1327383325":["hashtag1","hashtag2"]},{"1327383321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383323, 1327383332, 1327383328, 1327383331, 1327383325, 1327383321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07256579399109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:40:22.287413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0003.jpg', '/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0000.jpg', '/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0001.jpg', '/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/39/image_08012025_03_39_02_517914_0003.jpg
/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0000.jpg
/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0001.jpg
/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383347","1327383346","1327383340","1327383343"],"photo_ids_order":["1327383340","1327383343","1327383346","1327383347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c631725e380d4b4e3e025bece43abc77.jpg","text":"TemporaryFile(/tmp/multipartBody3246819667985094154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304117427,"filename":"image_08012025_03_40_03_111045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6108122521b2ae8f36d076b32f46465.jpg","text":"TemporaryFile(/tmp/multipartBody4324220108407705311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304117427,"filename":"image_08012025_03_40_03_111045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65c5d058de8c79312afd097a6e5aa0ed.jpg","text":"TemporaryFile(/tmp/multipartBody8889217436164513602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304117427,"filename":"image_08012025_03_39_02_517914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dbe1f09f75edc9dc2a0c3a2d4ff0ced.jpg","text":"TemporaryFile(/tmp/multipartBody8985524325706401754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304117427,"filename":"image_08012025_03_40_03_111045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383346","file1":"1327383343","file0":"1327383340","file3":"1327383347"},"map_files_photo_id_array":[{"photo_id":"1327383346","filename":"file2"},{"photo_id":"1327383343","filename":"file1"},{"photo_id":"1327383340","filename":"file0"},{"photo_id":"1327383347","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383347":["hashtag1","hashtag2"]},{"1327383346":["hashtag1","hashtag2"]},{"1327383340":["hashtag1","hashtag2"]},{"1327383343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383347, 1327383346, 1327383340, 1327383343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 68.00762915611267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:42:02.780875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0003.jpg', '/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0000.jpg', '/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0001.jpg', '/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/40/image_08012025_03_40_03_111045_0003.jpg
/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0000.jpg
/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0001.jpg
/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383356","1327383355","1327383358","1327383360"],"photo_ids_order":["1327383355","1327383356","1327383358","1327383360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/487dc8dbd0afd8f8cfd1a6e7de5198de.jpg","text":"TemporaryFile(/tmp/multipartBody2551755198860046359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304193055,"filename":"image_08012025_03_41_02_659243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f4271e300b244bb0ad49af686325643.jpg","text":"TemporaryFile(/tmp/multipartBody825565150822230362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304193055,"filename":"image_08012025_03_40_03_111045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aca75efb185e60fc1e7b2c84fc32bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody7517921213527407961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304193055,"filename":"image_08012025_03_41_02_659243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a382a93dfefdf289ff12faf6d8329e9c.jpg","text":"TemporaryFile(/tmp/multipartBody2635639457743968870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304193055,"filename":"image_08012025_03_41_02_659243_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383358","file1":"1327383356","file0":"1327383355","file3":"1327383360"},"map_files_photo_id_array":[{"photo_id":"1327383358","filename":"file2"},{"photo_id":"1327383356","filename":"file1"},{"photo_id":"1327383355","filename":"file0"},{"photo_id":"1327383360","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383356":["hashtag1","hashtag2"]},{"1327383355":["hashtag1","hashtag2"]},{"1327383358":["hashtag1","hashtag2"]},{"1327383360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383356, 1327383355, 1327383358, 1327383360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72414231300354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:43:02.392555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0003.jpg', '/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0000.jpg', '/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0001.jpg', '/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/41/image_08012025_03_41_02_659243_0003.jpg
/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0000.jpg
/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0001.jpg
/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383368","1327383371","1327383372","1327383369"],"photo_ids_order":["1327383368","1327383369","1327383371","1327383372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84d47933049c39b97d89a14725e49c02.jpg","text":"TemporaryFile(/tmp/multipartBody8465957429250020081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304252717,"filename":"image_08012025_03_41_02_659243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa9c246a3a0faa93560113a335ce3b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4589428384555967423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304252717,"filename":"image_08012025_03_42_02_148532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4b9c6ab5acca899f498289c651d23d5.jpg","text":"TemporaryFile(/tmp/multipartBody7539916154435484197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304252717,"filename":"image_08012025_03_42_02_148532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ba9bf406b1f429e7f39ef89875d4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6136831441730086114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304252717,"filename":"image_08012025_03_42_02_148532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383371","file1":"1327383369","file0":"1327383368","file3":"1327383372"},"map_files_photo_id_array":[{"photo_id":"1327383371","filename":"file2"},{"photo_id":"1327383369","filename":"file1"},{"photo_id":"1327383368","filename":"file0"},{"photo_id":"1327383372","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383368":["hashtag1","hashtag2"]},{"1327383371":["hashtag1","hashtag2"]},{"1327383372":["hashtag1","hashtag2"]},{"1327383369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383368, 1327383371, 1327383372, 1327383369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.898104190826416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:44:02.986780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0003.jpg', '/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0000.jpg', '/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0001.jpg', '/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/42/image_08012025_03_42_02_148532_0003.jpg
/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0000.jpg
/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0001.jpg
/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383417","1327383431","1327383415","1327383435"],"photo_ids_order":["1327383415","1327383417","1327383431","1327383435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50dbad2fbd8819bc67fcf9d792ec89b1.jpg","text":"TemporaryFile(/tmp/multipartBody3601559761405868696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304313105,"filename":"image_08012025_03_43_02_658366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/308606f5d265b43c5470a3842b1a7e8a.jpg","text":"TemporaryFile(/tmp/multipartBody497643249719583240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304313105,"filename":"image_08012025_03_43_02_658366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1611118ff056bf949610e872a0242a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1417579277151244485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304313105,"filename":"image_08012025_03_42_02_148532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fba876f6c5ff5f98d60259e2826e7a0e.jpg","text":"TemporaryFile(/tmp/multipartBody501247771226557745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304313105,"filename":"image_08012025_03_43_02_658366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383431","file1":"1327383417","file0":"1327383415","file3":"1327383435"},"map_files_photo_id_array":[{"photo_id":"1327383431","filename":"file2"},{"photo_id":"1327383417","filename":"file1"},{"photo_id":"1327383415","filename":"file0"},{"photo_id":"1327383435","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383417":["hashtag1","hashtag2"]},{"1327383431":["hashtag1","hashtag2"]},{"1327383415":["hashtag1","hashtag2"]},{"1327383435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383417, 1327383431, 1327383415, 1327383435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56899333000183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:45:02.555433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0003.jpg', '/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0000.jpg', '/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0001.jpg', '/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/43/image_08012025_03_43_02_658366_0003.jpg
/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0000.jpg
/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0001.jpg
/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383506","1327383472","1327383474","1327383468"],"photo_ids_order":["1327383468","1327383472","1327383474","1327383506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05f5a6f6324a80b110d300a248bc2ba2.jpg","text":"TemporaryFile(/tmp/multipartBody736144406781623995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304372935,"filename":"image_08012025_03_44_02_190315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b8bc98cec2f2bac84ba642934e845c4.jpg","text":"TemporaryFile(/tmp/multipartBody4125023635017394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304372935,"filename":"image_08012025_03_44_02_190315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84644ccc53dd1574b891bd9a8f636d39.jpg","text":"TemporaryFile(/tmp/multipartBody3177348120160535538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304372935,"filename":"image_08012025_03_44_02_190315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/093975b8628668d306cfd95c148d5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7457378014735140243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304372935,"filename":"image_08012025_03_43_02_658366_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383474","file1":"1327383472","file0":"1327383468","file3":"1327383506"},"map_files_photo_id_array":[{"photo_id":"1327383474","filename":"file2"},{"photo_id":"1327383472","filename":"file1"},{"photo_id":"1327383468","filename":"file0"},{"photo_id":"1327383506","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383506":["hashtag1","hashtag2"]},{"1327383472":["hashtag1","hashtag2"]},{"1327383474":["hashtag1","hashtag2"]},{"1327383468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383506, 1327383472, 1327383474, 1327383468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29720664024353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:46:02.982596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0003.jpg', '/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0000.jpg', '/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0001.jpg', '/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/44/image_08012025_03_44_02_190315_0003.jpg
/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0000.jpg
/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0001.jpg
/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383584","1327383581","1327383583","1327383570"],"photo_ids_order":["1327383570","1327383581","1327383583","1327383584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67888803901c243820d092e779fd112b.jpg","text":"TemporaryFile(/tmp/multipartBody1562570507364038073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304433275,"filename":"image_08012025_03_45_02_799977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f2ffe22b6aaa00ec2dc15e2171b6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8313327710372465004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304433275,"filename":"image_08012025_03_45_02_799977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33b9cc9ef93d89357055aafc747d10d9.jpg","text":"TemporaryFile(/tmp/multipartBody6843226264003170697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304433275,"filename":"image_08012025_03_45_02_799977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b6358f544fdb25f8babf372816ca41d.jpg","text":"TemporaryFile(/tmp/multipartBody1692513463393054091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304433275,"filename":"image_08012025_03_44_02_190315_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383583","file1":"1327383581","file0":"1327383570","file3":"1327383584"},"map_files_photo_id_array":[{"photo_id":"1327383583","filename":"file2"},{"photo_id":"1327383581","filename":"file1"},{"photo_id":"1327383570","filename":"file0"},{"photo_id":"1327383584","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383584":["hashtag1","hashtag2"]},{"1327383581":["hashtag1","hashtag2"]},{"1327383583":["hashtag1","hashtag2"]},{"1327383570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383584, 1327383581, 1327383583, 1327383570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04988980293274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:47:02.759488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0003.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0000.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0001.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0003.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0000.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0001.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.892619848251343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:47:22.068816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0003.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0000.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0001.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0002.jpg', '/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0003.jpg', '/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/45/image_08012025_03_45_02_799977_0003.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0000.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0001.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0002.jpg
/home/pi/Desktop/images/08012025/03/46/image_08012025_03_46_02_358004_0003.jpg
/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383647","1327383641","1327383643","1327383649","1327383645","1327383639"],"photo_ids_order":["1327383639","1327383641","1327383643","1327383645","1327383647","1327383649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c356685f517c31874998a9393ce53ed.jpg","text":"TemporaryFile(/tmp/multipartBody2364501195994966708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_46_02_358004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bedbb74026e180d9c7fdce38ea6e4a07.jpg","text":"TemporaryFile(/tmp/multipartBody9182963061265948759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_46_02_358004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/153e9afe8132ba3dd9bc71de4561351a.jpg","text":"TemporaryFile(/tmp/multipartBody2952791930577525443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_46_02_358004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c9770f4ec20ba8e9bf065dd9bd332a3.jpg","text":"TemporaryFile(/tmp/multipartBody4782345497067984048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_47_02_981556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a186ab1d30146e91fcd5cecf2cbba83.jpg","text":"TemporaryFile(/tmp/multipartBody45811261700917054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_46_02_358004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16292fc18240c827cd61dda43b996e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1130366913194705545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304517065,"filename":"image_08012025_03_45_02_799977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383643","file1":"1327383641","file0":"1327383639","file4":"1327383647","file5":"1327383649","file3":"1327383645"},"map_files_photo_id_array":[{"photo_id":"1327383649","filename":"file5"},{"photo_id":"1327383643","filename":"file2"},{"photo_id":"1327383647","filename":"file4"},{"photo_id":"1327383641","filename":"file1"},{"photo_id":"1327383639","filename":"file0"},{"photo_id":"1327383645","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383647":["hashtag1","hashtag2"]},{"1327383641":["hashtag1","hashtag2"]},{"1327383643":["hashtag1","hashtag2"]},{"1327383649":["hashtag1","hashtag2"]},{"1327383645":["hashtag1","hashtag2"]},{"1327383639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383647, 1327383641, 1327383643, 1327383649, 1327383645, 1327383639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.628127098083496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:48:22.720389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0001.jpg', '/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0002.jpg', '/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0003.jpg', '/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0000.jpg', '/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0001.jpg', '/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0001.jpg
/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0002.jpg
/home/pi/Desktop/images/08012025/03/47/image_08012025_03_47_02_981556_0003.jpg
/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0000.jpg
/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0001.jpg
/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383653","1327383656","1327383666","1327383660","1327383663","1327383651"],"photo_ids_order":["1327383651","1327383653","1327383656","1327383660","1327383663","1327383666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f141a60fc07dbf1a806ba0e787188995.jpg","text":"TemporaryFile(/tmp/multipartBody4950534399682094537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_47_02_981556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c17e96c3b96a1abe37a5d4ecb8457a2.jpg","text":"TemporaryFile(/tmp/multipartBody43812853321188708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_47_02_981556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f543aba652f4685895cdf7925aa192d9.jpg","text":"TemporaryFile(/tmp/multipartBody1317449877683450695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_48_02_570392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80ce2fb6967cc919a0039491d35244d2.jpg","text":"TemporaryFile(/tmp/multipartBody8321322972371039815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_48_02_570392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d257f1eedb44a13b345f2340c88ad6b0.jpg","text":"TemporaryFile(/tmp/multipartBody7264015906331701079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_48_02_570392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64b0dfefeb42b47f417c4c6ecfdfb4bd.jpg","text":"TemporaryFile(/tmp/multipartBody982430047515022969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304577739,"filename":"image_08012025_03_47_02_981556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383656","file1":"1327383653","file0":"1327383651","file4":"1327383663","file5":"1327383666","file3":"1327383660"},"map_files_photo_id_array":[{"photo_id":"1327383666","filename":"file5"},{"photo_id":"1327383656","filename":"file2"},{"photo_id":"1327383663","filename":"file4"},{"photo_id":"1327383653","filename":"file1"},{"photo_id":"1327383651","filename":"file0"},{"photo_id":"1327383660","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383653":["hashtag1","hashtag2"]},{"1327383656":["hashtag1","hashtag2"]},{"1327383666":["hashtag1","hashtag2"]},{"1327383660":["hashtag1","hashtag2"]},{"1327383663":["hashtag1","hashtag2"]},{"1327383651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383653, 1327383656, 1327383666, 1327383660, 1327383663, 1327383651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.4394052028656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:49:22.271533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0003.jpg', '/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0000.jpg', '/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0001.jpg', '/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/48/image_08012025_03_48_02_570392_0003.jpg
/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0000.jpg
/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0001.jpg
/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383697","1327383724","1327383693","1327383695"],"photo_ids_order":["1327383693","1327383695","1327383697","1327383724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cda3afe60089480f5c1e59e927107f76.jpg","text":"TemporaryFile(/tmp/multipartBody261245479069960981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304632618,"filename":"image_08012025_03_49_03_125974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a708cd87d66cd252184ea6bb73850525.jpg","text":"TemporaryFile(/tmp/multipartBody1824114031306694527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304632618,"filename":"image_08012025_03_49_03_125974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/852c698a9f432fec41f99b0ffe93202c.jpg","text":"TemporaryFile(/tmp/multipartBody6350943248744390154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304632618,"filename":"image_08012025_03_48_02_570392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9db100db7b89afdcb5ce668c50445c39.jpg","text":"TemporaryFile(/tmp/multipartBody2206428145475740327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304632618,"filename":"image_08012025_03_49_03_125974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383697","file1":"1327383695","file0":"1327383693","file3":"1327383724"},"map_files_photo_id_array":[{"photo_id":"1327383697","filename":"file2"},{"photo_id":"1327383695","filename":"file1"},{"photo_id":"1327383693","filename":"file0"},{"photo_id":"1327383724","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383697":["hashtag1","hashtag2"]},{"1327383724":["hashtag1","hashtag2"]},{"1327383693":["hashtag1","hashtag2"]},{"1327383695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383697, 1327383724, 1327383693, 1327383695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11681032180786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:50:21.921379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0003.jpg', '/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0000.jpg', '/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0003.jpg
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0000.jpg
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_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.525490760803223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:51:02.934751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0003.jpg', '/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0000.jpg', '/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/49/image_08012025_03_49_03_125974_0003.jpg
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0000.jpg
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383740","1327383739","1327383741"],"photo_ids_order":["1327383739","1327383740","1327383741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ab9e8463be04d06a78c16672114078b.jpg","text":"TemporaryFile(/tmp/multipartBody8536284700343346453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304730881,"filename":"image_08012025_03_50_02_634211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a34a2cab6d8f3f573546f9fa44574c8.jpg","text":"TemporaryFile(/tmp/multipartBody4021547608863428799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304730881,"filename":"image_08012025_03_49_03_125974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5851fb45e64c86966dc09e6bfc29facd.jpg","text":"TemporaryFile(/tmp/multipartBody5292662991076414517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304730881,"filename":"image_08012025_03_50_02_634211_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383741","file1":"1327383740","file0":"1327383739"},"map_files_photo_id_array":[{"photo_id":"1327383741","filename":"file2"},{"photo_id":"1327383740","filename":"file1"},{"photo_id":"1327383739","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383740":["hashtag1","hashtag2"]},{"1327383739":["hashtag1","hashtag2"]},{"1327383741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383740, 1327383739, 1327383741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.21085500717163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:52:02.314546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0002.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0000.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0001.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0002.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0000.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0001.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.79049015045166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:52:21.860270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0002.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0000.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0001.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0002.jpg', '/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0003.jpg', '/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/50/image_08012025_03_50_02_634211_0002.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0000.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0001.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0002.jpg
/home/pi/Desktop/images/08012025/03/51/image_08012025_03_51_02_162628_0003.jpg
/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383799","1327383806","1327383808","1327383798","1327383801","1327383804"],"photo_ids_order":["1327383798","1327383799","1327383801","1327383804","1327383806","1327383808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c37bf178b970e9704f86905ae7a6f360.jpg","text":"TemporaryFile(/tmp/multipartBody546766492712244117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_51_02_162628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26a3d59798aea92a1af2643730225e49.jpg","text":"TemporaryFile(/tmp/multipartBody3760929902556245790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_51_02_162628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ec4e9c32b7fa455b5e18744b6e8d90c.jpg","text":"TemporaryFile(/tmp/multipartBody2139440444804190330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_52_02_690250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87e58d6097d7fc886ae77af89b5e455f.jpg","text":"TemporaryFile(/tmp/multipartBody8998469513086658931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_50_02_634211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a20a025b9efbede9213a1404fa7ff30.jpg","text":"TemporaryFile(/tmp/multipartBody3306863903182826295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_51_02_162628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f78cd902d9fc0092fba7d14188e509ef.jpg","text":"TemporaryFile(/tmp/multipartBody2308045202368587029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304816753,"filename":"image_08012025_03_51_02_162628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383801","file1":"1327383799","file0":"1327383798","file4":"1327383806","file5":"1327383808","file3":"1327383804"},"map_files_photo_id_array":[{"photo_id":"1327383808","filename":"file5"},{"photo_id":"1327383801","filename":"file2"},{"photo_id":"1327383806","filename":"file4"},{"photo_id":"1327383799","filename":"file1"},{"photo_id":"1327383798","filename":"file0"},{"photo_id":"1327383804","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383799":["hashtag1","hashtag2"]},{"1327383806":["hashtag1","hashtag2"]},{"1327383808":["hashtag1","hashtag2"]},{"1327383798":["hashtag1","hashtag2"]},{"1327383801":["hashtag1","hashtag2"]},{"1327383804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383799, 1327383806, 1327383808, 1327383798, 1327383801, 1327383804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.99040675163269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:53:22.367393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0001.jpg', '/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0002.jpg', '/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0003.jpg', '/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0000.jpg', '/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0001.jpg', '/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0001.jpg
/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0002.jpg
/home/pi/Desktop/images/08012025/03/52/image_08012025_03_52_02_690250_0003.jpg
/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0000.jpg
/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0001.jpg
/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383812","1327383821","1327383811","1327383814","1327383817","1327383819"],"photo_ids_order":["1327383811","1327383812","1327383814","1327383817","1327383819","1327383821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f3f225fec314f15e05b6b60bbde6c79.jpg","text":"TemporaryFile(/tmp/multipartBody4503107492632289025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_52_02_690250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41d7c4535e8f1a955d4c6bd5b2de9bf0.jpg","text":"TemporaryFile(/tmp/multipartBody281644311478701231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_53_02_246451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95953df0e57ec4d2addb2dfa55860f02.jpg","text":"TemporaryFile(/tmp/multipartBody785647079059879838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_52_02_690250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74aec1032fcdd6a7fdb5869301d4f5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4101723112835671623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_52_02_690250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4026d28e0907a0fe8e2500c722baeac8.jpg","text":"TemporaryFile(/tmp/multipartBody4338579534301272495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_53_02_246451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8715859e92604b51d7157fd50337e2e.jpg","text":"TemporaryFile(/tmp/multipartBody332134235760801105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304877328,"filename":"image_08012025_03_53_02_246451_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383814","file1":"1327383812","file0":"1327383811","file4":"1327383819","file5":"1327383821","file3":"1327383817"},"map_files_photo_id_array":[{"photo_id":"1327383821","filename":"file5"},{"photo_id":"1327383814","filename":"file2"},{"photo_id":"1327383819","filename":"file4"},{"photo_id":"1327383812","filename":"file1"},{"photo_id":"1327383811","filename":"file0"},{"photo_id":"1327383817","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383812":["hashtag1","hashtag2"]},{"1327383821":["hashtag1","hashtag2"]},{"1327383811":["hashtag1","hashtag2"]},{"1327383814":["hashtag1","hashtag2"]},{"1327383817":["hashtag1","hashtag2"]},{"1327383819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383812, 1327383821, 1327383811, 1327383814, 1327383817, 1327383819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.77513575553894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:54:21.889994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0003.jpg', '/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0000.jpg', '/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0001.jpg', '/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/53/image_08012025_03_53_02_246451_0003.jpg
/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0000.jpg
/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0001.jpg
/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383830","1327383827","1327383823","1327383825"],"photo_ids_order":["1327383823","1327383825","1327383827","1327383830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/340a124cddef0b68a79cb12f19f09998.jpg","text":"TemporaryFile(/tmp/multipartBody3767139687299143305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304931999,"filename":"image_08012025_03_54_02_742799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87db6802fba3954eb5933d1d7285d362.jpg","text":"TemporaryFile(/tmp/multipartBody4251859896960897337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304931999,"filename":"image_08012025_03_54_02_742799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/081ef9c2043e7bbe3d34fa2fa6705c75.jpg","text":"TemporaryFile(/tmp/multipartBody6828806948641167412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304931999,"filename":"image_08012025_03_53_02_246451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1dbe31726a474a6c281cc5d1e0fd1925.jpg","text":"TemporaryFile(/tmp/multipartBody4291521422555756886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304931999,"filename":"image_08012025_03_54_02_742799_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383827","file1":"1327383825","file0":"1327383823","file3":"1327383830"},"map_files_photo_id_array":[{"photo_id":"1327383827","filename":"file2"},{"photo_id":"1327383825","filename":"file1"},{"photo_id":"1327383823","filename":"file0"},{"photo_id":"1327383830","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383830":["hashtag1","hashtag2"]},{"1327383827":["hashtag1","hashtag2"]},{"1327383823":["hashtag1","hashtag2"]},{"1327383825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383830, 1327383827, 1327383823, 1327383825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.9849157333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:55:22.445722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0003.jpg', '/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0000.jpg', '/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0001.jpg', '/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/54/image_08012025_03_54_02_742799_0003.jpg
/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0000.jpg
/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0001.jpg
/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383875","1327383877","1327383879","1327383873"],"photo_ids_order":["1327383873","1327383875","1327383877","1327383879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fce59b57f41bb1107576eb7f61c678c.jpg","text":"TemporaryFile(/tmp/multipartBody1877998524240588234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304992673,"filename":"image_08012025_03_55_02_306458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2925b33b2415ad85e717537dae9464f1.jpg","text":"TemporaryFile(/tmp/multipartBody2280391376578950852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304992673,"filename":"image_08012025_03_55_02_306458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41d643bedb7d4de8a75e5b927214a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody6203423350497146153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304992673,"filename":"image_08012025_03_55_02_306458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d42c0053d7c48a3eca4d01d93a5a968d.jpg","text":"TemporaryFile(/tmp/multipartBody6756541444048986886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736304992673,"filename":"image_08012025_03_54_02_742799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383877","file1":"1327383875","file0":"1327383873","file3":"1327383879"},"map_files_photo_id_array":[{"photo_id":"1327383877","filename":"file2"},{"photo_id":"1327383875","filename":"file1"},{"photo_id":"1327383873","filename":"file0"},{"photo_id":"1327383879","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383875":["hashtag1","hashtag2"]},{"1327383877":["hashtag1","hashtag2"]},{"1327383879":["hashtag1","hashtag2"]},{"1327383873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383875, 1327383877, 1327383879, 1327383873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.64084005355835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:56:22.001892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0003.jpg', '/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0000.jpg', '/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0001.jpg', '/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/55/image_08012025_03_55_02_306458_0003.jpg
/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0000.jpg
/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0001.jpg
/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327383884","1327383886","1327383882","1327383901"],"photo_ids_order":["1327383882","1327383884","1327383886","1327383901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34b1b6ac3a920a7133dd820e4926d382.jpg","text":"TemporaryFile(/tmp/multipartBody774113091668475048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305052220,"filename":"image_08012025_03_56_02_866933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f44dc96f2b2d68022a8a19aa72784ef.jpg","text":"TemporaryFile(/tmp/multipartBody7857011149826607754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305052220,"filename":"image_08012025_03_56_02_866933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1788c7afac83c868c49e04636dfb25cd.jpg","text":"TemporaryFile(/tmp/multipartBody6649472318397374564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305052220,"filename":"image_08012025_03_55_02_306458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63a86a8f6bde777e99a5fd452dcd1c76.jpg","text":"TemporaryFile(/tmp/multipartBody8912146018540280142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305052220,"filename":"image_08012025_03_56_02_866933_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327383886","file1":"1327383884","file0":"1327383882","file3":"1327383901"},"map_files_photo_id_array":[{"photo_id":"1327383886","filename":"file2"},{"photo_id":"1327383884","filename":"file1"},{"photo_id":"1327383882","filename":"file0"},{"photo_id":"1327383901","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327383884":["hashtag1","hashtag2"]},{"1327383886":["hashtag1","hashtag2"]},{"1327383882":["hashtag1","hashtag2"]},{"1327383901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327383884, 1327383886, 1327383882, 1327383901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30008673667908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 03:57:03.021903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 03:57:22.436302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0003.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0000.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0001.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0003.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0000.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0001.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_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-08 03:59:02.848219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0003.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0000.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0001.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0002.jpg', '/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0003.jpg', '/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/56/image_08012025_03_56_02_866933_0003.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0000.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0001.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0002.jpg
/home/pi/Desktop/images/08012025/03/57/image_08012025_03_57_02_386262_0003.jpg
/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327384766","1327384316","1327384112","1327384765","1327384561","1327384764"],"photo_ids_order":["1327384112","1327384316","1327384561","1327384764","1327384765","1327384766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/413b2ca65aac0b8624e00b4266c3cef9.jpg","text":"TemporaryFile(/tmp/multipartBody4350881327015422921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_58_02_893784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58af612e04483e46b215a8ca8a92bf74.jpg","text":"TemporaryFile(/tmp/multipartBody5266597198573628020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_57_02_386262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6965f78e6615af617cba8f4d2a8758d0.jpg","text":"TemporaryFile(/tmp/multipartBody4654388281643875863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_56_02_866933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd9fc246bad8c199616efb2eedc7fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody5271719941911909316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_57_02_386262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f41e1c911fbccd355b1f54bc920e836.jpg","text":"TemporaryFile(/tmp/multipartBody8465409037817230105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_57_02_386262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d4732c3f9eb61a7d379db40498da8a1.jpg","text":"TemporaryFile(/tmp/multipartBody2151744960870422719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305217879,"filename":"image_08012025_03_57_02_386262_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327384561","file1":"1327384316","file0":"1327384112","file4":"1327384765","file5":"1327384766","file3":"1327384764"},"map_files_photo_id_array":[{"photo_id":"1327384766","filename":"file5"},{"photo_id":"1327384561","filename":"file2"},{"photo_id":"1327384765","filename":"file4"},{"photo_id":"1327384316","filename":"file1"},{"photo_id":"1327384112","filename":"file0"},{"photo_id":"1327384764","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327384766":["hashtag1","hashtag2"]},{"1327384316":["hashtag1","hashtag2"]},{"1327384112":["hashtag1","hashtag2"]},{"1327384765":["hashtag1","hashtag2"]},{"1327384561":["hashtag1","hashtag2"]},{"1327384764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327384766, 1327384316, 1327384112, 1327384765, 1327384561, 1327384764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.12915325164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:00:02.310655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0001.jpg', '/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0002.jpg', '/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0003.jpg', '/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0000.jpg', '/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0001.jpg', '/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0001.jpg
/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0002.jpg
/home/pi/Desktop/images/08012025/03/58/image_08012025_03_58_02_893784_0003.jpg
/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0000.jpg
/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0001.jpg
/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327386052","1327385929","1327385688","1327384840","1327385436","1327385144"],"photo_ids_order":["1327384840","1327385144","1327385436","1327385688","1327385929","1327386052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb99ce999d30f2c589abc07c23fb0679.jpg","text":"TemporaryFile(/tmp/multipartBody283419817660387512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_59_02_587077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0cff3aa40f98d8d871c9a5ed8374b394.jpg","text":"TemporaryFile(/tmp/multipartBody2344653411369744218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_59_02_587077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a858c96a7cf32c8470e309a83713a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody5311789097087564808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_59_02_587077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52e8249ef1423c97ae05ede60f7b29e0.jpg","text":"TemporaryFile(/tmp/multipartBody7049462600765779902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_58_02_893784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ece4c9b8527d46adf2f983212632e361.jpg","text":"TemporaryFile(/tmp/multipartBody7277838823352786856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_58_02_893784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f11d606f56307e4155d21ecfaf5be280.jpg","text":"TemporaryFile(/tmp/multipartBody5228984932802223503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305277286,"filename":"image_08012025_03_58_02_893784_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327385436","file1":"1327385144","file0":"1327384840","file4":"1327385929","file5":"1327386052","file3":"1327385688"},"map_files_photo_id_array":[{"photo_id":"1327386052","filename":"file5"},{"photo_id":"1327385436","filename":"file2"},{"photo_id":"1327385929","filename":"file4"},{"photo_id":"1327385144","filename":"file1"},{"photo_id":"1327384840","filename":"file0"},{"photo_id":"1327385688","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327386052":["hashtag1","hashtag2"]},{"1327385929":["hashtag1","hashtag2"]},{"1327385688":["hashtag1","hashtag2"]},{"1327384840":["hashtag1","hashtag2"]},{"1327385436":["hashtag1","hashtag2"]},{"1327385144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327386052, 1327385929, 1327385688, 1327384840, 1327385436, 1327385144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.201151609420776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:01:03.194311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0003.jpg', '/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0000.jpg', '/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0001.jpg', '/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/03/59/image_08012025_03_59_02_587077_0003.jpg
/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0000.jpg
/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0001.jpg
/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327386360","1327386132","1327386583","1327386835"],"photo_ids_order":["1327386132","1327386360","1327386583","1327386835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4fc39c7ca6d1226dcdd3bbcd865a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody2079048304066669007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305333424,"filename":"image_08012025_04_00_02_713122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/970cd9d00a34811ff0e9b0fd94b6fb49.jpg","text":"TemporaryFile(/tmp/multipartBody3188249587653586032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305333424,"filename":"image_08012025_03_59_02_587077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2fc6bc6b775e9bd9f115bb973ddb28c2.jpg","text":"TemporaryFile(/tmp/multipartBody3387678986513435200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305333424,"filename":"image_08012025_04_00_02_713122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ec3bae7c0ad0403b43c5628a899b80f.jpg","text":"TemporaryFile(/tmp/multipartBody8632267380208040242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305333424,"filename":"image_08012025_04_00_02_713122_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327386583","file1":"1327386360","file0":"1327386132","file3":"1327386835"},"map_files_photo_id_array":[{"photo_id":"1327386583","filename":"file2"},{"photo_id":"1327386360","filename":"file1"},{"photo_id":"1327386132","filename":"file0"},{"photo_id":"1327386835","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327386360":["hashtag1","hashtag2"]},{"1327386132":["hashtag1","hashtag2"]},{"1327386583":["hashtag1","hashtag2"]},{"1327386835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327386360, 1327386132, 1327386583, 1327386835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.067180156707764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:02:02.613271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0003.jpg', '/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0000.jpg', '/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0001.jpg', '/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/00/image_08012025_04_00_02_713122_0003.jpg
/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0000.jpg
/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0001.jpg
/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327387590","1327387682","1327387546","1327387528"],"photo_ids_order":["1327387528","1327387546","1327387590","1327387682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c256499c97d6b24d67df19b042256c0.jpg","text":"TemporaryFile(/tmp/multipartBody8091490891923016453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305392872,"filename":"image_08012025_04_01_02_335628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76de449031a14b180d8a629df8abf5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6813772399936382836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305392872,"filename":"image_08012025_04_01_02_335628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b0d6087624d3f603e94496e2d2a8f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5555586569767556279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305392872,"filename":"image_08012025_04_01_02_335628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/253ded48056b30ebc929af3b02bf02e8.jpg","text":"TemporaryFile(/tmp/multipartBody7997849479657611013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305392872,"filename":"image_08012025_04_00_02_713122_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327387590","file1":"1327387546","file0":"1327387528","file3":"1327387682"},"map_files_photo_id_array":[{"photo_id":"1327387590","filename":"file2"},{"photo_id":"1327387546","filename":"file1"},{"photo_id":"1327387528","filename":"file0"},{"photo_id":"1327387682","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327387590":["hashtag1","hashtag2"]},{"1327387682":["hashtag1","hashtag2"]},{"1327387546":["hashtag1","hashtag2"]},{"1327387528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327387590, 1327387682, 1327387546, 1327387528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44057893753052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:03:03.251427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0003.jpg', '/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0000.jpg', '/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0001.jpg', '/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/01/image_08012025_04_01_02_335628_0003.jpg
/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0000.jpg
/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0001.jpg
/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388007","1327388048","1327388009","1327388006"],"photo_ids_order":["1327388006","1327388007","1327388009","1327388048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85bd09fa7067756006aee70aedfb18e1.jpg","text":"TemporaryFile(/tmp/multipartBody167914367417544046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305453483,"filename":"image_08012025_04_02_02_856708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ed7dc98040ff88b3130598284a1e5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4717976627140337210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305453483,"filename":"image_08012025_04_02_02_856708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/807629df26be6655764c9665c6784070.jpg","text":"TemporaryFile(/tmp/multipartBody7774487180580900907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305453483,"filename":"image_08012025_04_02_02_856708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a6b1d9f37bc1880088ac8abad211323.jpg","text":"TemporaryFile(/tmp/multipartBody3509999366714511129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305453483,"filename":"image_08012025_04_01_02_335628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388009","file1":"1327388007","file0":"1327388006","file3":"1327388048"},"map_files_photo_id_array":[{"photo_id":"1327388009","filename":"file2"},{"photo_id":"1327388007","filename":"file1"},{"photo_id":"1327388006","filename":"file0"},{"photo_id":"1327388048","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388007":["hashtag1","hashtag2"]},{"1327388048":["hashtag1","hashtag2"]},{"1327388009":["hashtag1","hashtag2"]},{"1327388006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388007, 1327388048, 1327388009, 1327388006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04897999763489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:04:02.721483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0003.jpg', '/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0000.jpg', '/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0001.jpg', '/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/02/image_08012025_04_02_02_856708_0003.jpg
/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0000.jpg
/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0001.jpg
/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388244","1327388282","1327388279","1327388234"],"photo_ids_order":["1327388234","1327388244","1327388279","1327388282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77144119449d66f892819770444aeb77.jpg","text":"TemporaryFile(/tmp/multipartBody5709534597291870234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305513090,"filename":"image_08012025_04_03_02_503981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0187f441e3b7251832864cc98e4246f8.jpg","text":"TemporaryFile(/tmp/multipartBody2448030138455769504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305513090,"filename":"image_08012025_04_03_02_503981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11a8830541b110ea249a896315f7f854.jpg","text":"TemporaryFile(/tmp/multipartBody5244762870773838258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305513090,"filename":"image_08012025_04_03_02_503981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5cb68c7644d224e7b4ebcba92fbbd27.jpg","text":"TemporaryFile(/tmp/multipartBody576085740227203795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305513090,"filename":"image_08012025_04_02_02_856708_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388279","file1":"1327388244","file0":"1327388234","file3":"1327388282"},"map_files_photo_id_array":[{"photo_id":"1327388279","filename":"file2"},{"photo_id":"1327388244","filename":"file1"},{"photo_id":"1327388234","filename":"file0"},{"photo_id":"1327388282","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388244":["hashtag1","hashtag2"]},{"1327388282":["hashtag1","hashtag2"]},{"1327388279":["hashtag1","hashtag2"]},{"1327388234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388244, 1327388282, 1327388279, 1327388234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70939016342163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:05:02.371340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0003.jpg', '/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0000.jpg', '/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0001.jpg', '/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/03/image_08012025_04_03_02_503981_0003.jpg
/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0000.jpg
/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0001.jpg
/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388304","1327388300","1327388305","1327388302"],"photo_ids_order":["1327388300","1327388302","1327388304","1327388305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da920c85f41b83f138420f62b2021dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1646788471844397122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305572670,"filename":"image_08012025_04_04_03_016538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f56cbeb9d2612fbf8894ed3de56b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3171447772899699825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305572670,"filename":"image_08012025_04_03_02_503981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9369e885ae423ce2cf28fb8773425d4e.jpg","text":"TemporaryFile(/tmp/multipartBody1140860860509723232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305572670,"filename":"image_08012025_04_04_03_016538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfbe4ce83a7353ccc3cb97b442bc0176.jpg","text":"TemporaryFile(/tmp/multipartBody7213100288257448064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305572670,"filename":"image_08012025_04_04_03_016538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388304","file1":"1327388302","file0":"1327388300","file3":"1327388305"},"map_files_photo_id_array":[{"photo_id":"1327388304","filename":"file2"},{"photo_id":"1327388302","filename":"file1"},{"photo_id":"1327388300","filename":"file0"},{"photo_id":"1327388305","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388304":["hashtag1","hashtag2"]},{"1327388300":["hashtag1","hashtag2"]},{"1327388305":["hashtag1","hashtag2"]},{"1327388302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388304, 1327388300, 1327388305, 1327388302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.808759450912476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:06:02.784293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0003.jpg', '/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0000.jpg', '/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/04/image_08012025_04_04_03_016538_0003.jpg
/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0000.jpg
/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388319","1327388318","1327388320"],"photo_ids_order":["1327388318","1327388319","1327388320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63d7750df069860b6a145d9b5a11e4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5324029984053756308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305630583,"filename":"image_08012025_04_05_02_642340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33aee87798aa310e748767391496e869.jpg","text":"TemporaryFile(/tmp/multipartBody8801427374439723974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305630583,"filename":"image_08012025_04_04_03_016538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c0b12fa80aa17c1269e21538d8f3564.jpg","text":"TemporaryFile(/tmp/multipartBody4283729603519863900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305630583,"filename":"image_08012025_04_05_02_642340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388320","file1":"1327388319","file0":"1327388318"},"map_files_photo_id_array":[{"photo_id":"1327388320","filename":"file2"},{"photo_id":"1327388319","filename":"file1"},{"photo_id":"1327388318","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388319":["hashtag1","hashtag2"]},{"1327388318":["hashtag1","hashtag2"]},{"1327388320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388319, 1327388318, 1327388320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.26798987388611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:07:02.594630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0003.jpg', '/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0000.jpg', '/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0001.jpg', '/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/05/image_08012025_04_05_02_642340_0003.jpg
/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0000.jpg
/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0001.jpg
/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388334","1327388333","1327388336","1327388338"],"photo_ids_order":["1327388333","1327388334","1327388336","1327388338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8b6cad0c8d0f04ddd8e97e80a29cf07.jpg","text":"TemporaryFile(/tmp/multipartBody7664682052430048973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305692720,"filename":"image_08012025_04_06_02_181905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b666ce6c79c09657c63b39ddf660c954.jpg","text":"TemporaryFile(/tmp/multipartBody6175054153823391461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305692720,"filename":"image_08012025_04_05_02_642340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c9a2c96bb0a2cff9af00566445576a6.jpg","text":"TemporaryFile(/tmp/multipartBody2173106403310111675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305692720,"filename":"image_08012025_04_06_02_181905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5376b73635d06edbf57cd05fd86b7221.jpg","text":"TemporaryFile(/tmp/multipartBody5937315243111011587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305692720,"filename":"image_08012025_04_06_02_181905_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388336","file1":"1327388334","file0":"1327388333","file3":"1327388338"},"map_files_photo_id_array":[{"photo_id":"1327388336","filename":"file2"},{"photo_id":"1327388334","filename":"file1"},{"photo_id":"1327388333","filename":"file0"},{"photo_id":"1327388338","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388334":["hashtag1","hashtag2"]},{"1327388333":["hashtag1","hashtag2"]},{"1327388336":["hashtag1","hashtag2"]},{"1327388338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388334, 1327388333, 1327388336, 1327388338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42225241661072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:08:03.048954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0003.jpg', '/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0000.jpg', '/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0001.jpg', '/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/06/image_08012025_04_06_02_181905_0003.jpg
/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0000.jpg
/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0001.jpg
/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388381","1327388386","1327388382","1327388385"],"photo_ids_order":["1327388381","1327388382","1327388385","1327388386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e849ae5f37a45973944cd425dbb426ac.jpg","text":"TemporaryFile(/tmp/multipartBody1309864467651126446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305753187,"filename":"image_08012025_04_06_02_181905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e948322b0d6cbc28f389f3e831a0973a.jpg","text":"TemporaryFile(/tmp/multipartBody6901818437362188013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305753187,"filename":"image_08012025_04_07_02_879392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e69b57dcedbefb0620902c19f4f248a.jpg","text":"TemporaryFile(/tmp/multipartBody280890385013152057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305753187,"filename":"image_08012025_04_07_02_879392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6aca030fa5b0820184da53235322d83c.jpg","text":"TemporaryFile(/tmp/multipartBody5688261198597855910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305753187,"filename":"image_08012025_04_07_02_879392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388385","file1":"1327388382","file0":"1327388381","file3":"1327388386"},"map_files_photo_id_array":[{"photo_id":"1327388385","filename":"file2"},{"photo_id":"1327388382","filename":"file1"},{"photo_id":"1327388381","filename":"file0"},{"photo_id":"1327388386","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388381":["hashtag1","hashtag2"]},{"1327388386":["hashtag1","hashtag2"]},{"1327388382":["hashtag1","hashtag2"]},{"1327388385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388381, 1327388386, 1327388382, 1327388385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.794182538986206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:09:02.751054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0003.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0000.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0001.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0003.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0000.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0001.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.821470737457275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:09:22.133582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0003.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0000.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0001.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0002.jpg', '/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0003.jpg', '/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/07/image_08012025_04_07_02_879392_0003.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0000.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0001.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0002.jpg
/home/pi/Desktop/images/08012025/04/08/image_08012025_04_08_02_429918_0003.jpg
/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388400","1327388406","1327388408","1327388398","1327388402","1327388404"],"photo_ids_order":["1327388398","1327388400","1327388402","1327388404","1327388406","1327388408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd55fc23231c33c235bd942f68d8c73b.jpg","text":"TemporaryFile(/tmp/multipartBody6048367655704800488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_08_02_429918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32dd355cf2f2a958b7c6bca85e25de32.jpg","text":"TemporaryFile(/tmp/multipartBody7563545463723088083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_08_02_429918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a66f72db4c26a8eec4eb8aae9a4c7cf9.jpg","text":"TemporaryFile(/tmp/multipartBody500486403543073859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_09_02_995803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97ea449eaac634f637de1b2d5e50730b.jpg","text":"TemporaryFile(/tmp/multipartBody5780637371791818501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_07_02_879392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd472141f38541603c96a0959e074a37.jpg","text":"TemporaryFile(/tmp/multipartBody2566672161893776263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_08_02_429918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64d612b6ec2c1ef4cb6ae00587e0279e.jpg","text":"TemporaryFile(/tmp/multipartBody3527363097817988725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305836976,"filename":"image_08012025_04_08_02_429918_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388402","file1":"1327388400","file0":"1327388398","file4":"1327388406","file5":"1327388408","file3":"1327388404"},"map_files_photo_id_array":[{"photo_id":"1327388408","filename":"file5"},{"photo_id":"1327388402","filename":"file2"},{"photo_id":"1327388406","filename":"file4"},{"photo_id":"1327388400","filename":"file1"},{"photo_id":"1327388398","filename":"file0"},{"photo_id":"1327388404","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388400":["hashtag1","hashtag2"]},{"1327388406":["hashtag1","hashtag2"]},{"1327388408":["hashtag1","hashtag2"]},{"1327388398":["hashtag1","hashtag2"]},{"1327388402":["hashtag1","hashtag2"]},{"1327388404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388400, 1327388406, 1327388408, 1327388398, 1327388402, 1327388404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.038788080215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:10:21.946059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0001.jpg', '/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0002.jpg', '/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0003.jpg', '/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0000.jpg', '/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0001.jpg', '/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0001.jpg
/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0002.jpg
/home/pi/Desktop/images/08012025/04/09/image_08012025_04_09_02_995803_0003.jpg
/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0000.jpg
/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0001.jpg
/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388462","1327388465","1327388459","1327388467","1327388422","1327388425"],"photo_ids_order":["1327388422","1327388425","1327388459","1327388462","1327388465","1327388467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56b1363f3247767a3df1c78669de245d.jpg","text":"TemporaryFile(/tmp/multipartBody5087658440280172624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_10_02_611501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2f3e9a3c1aafdf94e28185b3cc0ad26.jpg","text":"TemporaryFile(/tmp/multipartBody1711243631467329635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_10_02_611501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71fca556fb25795636040f75562618b7.jpg","text":"TemporaryFile(/tmp/multipartBody2036186448972200775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_09_02_995803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/710503f9adfb68d1c3bed49e631f0adb.jpg","text":"TemporaryFile(/tmp/multipartBody1835141498421486458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_10_02_611501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65cbc5018a31c0e984d5038185f6b33a.jpg","text":"TemporaryFile(/tmp/multipartBody7887701970240707881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_09_02_995803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b374487adafa08f08f8d0dd4df6d6509.jpg","text":"TemporaryFile(/tmp/multipartBody1755343558256026475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305896890,"filename":"image_08012025_04_09_02_995803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388459","file1":"1327388425","file0":"1327388422","file4":"1327388465","file5":"1327388467","file3":"1327388462"},"map_files_photo_id_array":[{"photo_id":"1327388467","filename":"file5"},{"photo_id":"1327388459","filename":"file2"},{"photo_id":"1327388465","filename":"file4"},{"photo_id":"1327388425","filename":"file1"},{"photo_id":"1327388422","filename":"file0"},{"photo_id":"1327388462","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388462":["hashtag1","hashtag2"]},{"1327388465":["hashtag1","hashtag2"]},{"1327388459":["hashtag1","hashtag2"]},{"1327388467":["hashtag1","hashtag2"]},{"1327388422":["hashtag1","hashtag2"]},{"1327388425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388462, 1327388465, 1327388459, 1327388467, 1327388422, 1327388425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.295132637023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:11:22.426237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0003.jpg', '/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0000.jpg', '/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0001.jpg', '/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/10/image_08012025_04_10_02_611501_0003.jpg
/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0000.jpg
/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0001.jpg
/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388474","1327388470","1327388476","1327388472"],"photo_ids_order":["1327388470","1327388472","1327388474","1327388476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b597a9de6dd0e10978a5380c40f4241.jpg","text":"TemporaryFile(/tmp/multipartBody3960542359790567707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305952842,"filename":"image_08012025_04_11_02_280412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18c8bc3fb6dbcb1dba6c2b0ee26e4faa.jpg","text":"TemporaryFile(/tmp/multipartBody1950304042445285054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305952842,"filename":"image_08012025_04_10_02_611501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c367af767238e2840749731afbb4865.jpg","text":"TemporaryFile(/tmp/multipartBody5946647943794914384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305952842,"filename":"image_08012025_04_11_02_280412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32f5520a25aa05937d306b5141b780cd.jpg","text":"TemporaryFile(/tmp/multipartBody4857527144552738169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736305952842,"filename":"image_08012025_04_11_02_280412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388474","file1":"1327388472","file0":"1327388470","file3":"1327388476"},"map_files_photo_id_array":[{"photo_id":"1327388474","filename":"file2"},{"photo_id":"1327388472","filename":"file1"},{"photo_id":"1327388470","filename":"file0"},{"photo_id":"1327388476","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388474":["hashtag1","hashtag2"]},{"1327388470":["hashtag1","hashtag2"]},{"1327388476":["hashtag1","hashtag2"]},{"1327388472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388474, 1327388470, 1327388476, 1327388472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84076714515686 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-08 04:12:21.985880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0003.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0000.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0001.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0003.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0000.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0001.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.869446992874146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:13:03.048801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0003.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0000.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0001.jpg', '/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/11/image_08012025_04_11_02_280412_0003.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0000.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0001.jpg
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388492","1327388495","1327388493","1327388496"],"photo_ids_order":["1327388492","1327388493","1327388495","1327388496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfbced686d3d0b8280cbc268b0d5a69f.jpg","text":"TemporaryFile(/tmp/multipartBody3675541695771273761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306053388,"filename":"image_08012025_04_11_02_280412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2ced6ea832d6ed045dc865871d589d2.jpg","text":"TemporaryFile(/tmp/multipartBody6213168859275922294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306053388,"filename":"image_08012025_04_12_02_785305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/155edca51967ac1fa8442e68f8b8a964.jpg","text":"TemporaryFile(/tmp/multipartBody8246339629524464549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306053388,"filename":"image_08012025_04_12_02_785305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9e95c4c9ce9d8b453f68b0b6e9aad57.jpg","text":"TemporaryFile(/tmp/multipartBody9117348265782658720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306053388,"filename":"image_08012025_04_12_02_785305_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388495","file1":"1327388493","file0":"1327388492","file3":"1327388496"},"map_files_photo_id_array":[{"photo_id":"1327388495","filename":"file2"},{"photo_id":"1327388493","filename":"file1"},{"photo_id":"1327388492","filename":"file0"},{"photo_id":"1327388496","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388492":["hashtag1","hashtag2"]},{"1327388495":["hashtag1","hashtag2"]},{"1327388493":["hashtag1","hashtag2"]},{"1327388496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388492, 1327388495, 1327388493, 1327388496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63431429862976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:14:02.603794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0003.jpg', '/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0000.jpg', '/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0001.jpg', '/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/12/image_08012025_04_12_02_785305_0003.jpg
/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0000.jpg
/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0001.jpg
/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388543","1327388552","1327388546","1327388550"],"photo_ids_order":["1327388543","1327388546","1327388550","1327388552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d48ab9185238f770ff955d80b43fc06d.jpg","text":"TemporaryFile(/tmp/multipartBody5335216606789701771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306112929,"filename":"image_08012025_04_12_02_785305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c064ddf82bcef07d94eb71a188a4ccaf.jpg","text":"TemporaryFile(/tmp/multipartBody3589066460270447550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306112929,"filename":"image_08012025_04_13_02_340783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0af16fab594193de4245d76692c386a9.jpg","text":"TemporaryFile(/tmp/multipartBody622574120632355882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306112929,"filename":"image_08012025_04_13_02_340783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e8a782a6c8173255b084f24a7a668d3.jpg","text":"TemporaryFile(/tmp/multipartBody474493193251174661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306112929,"filename":"image_08012025_04_13_02_340783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388550","file1":"1327388546","file0":"1327388543","file3":"1327388552"},"map_files_photo_id_array":[{"photo_id":"1327388550","filename":"file2"},{"photo_id":"1327388546","filename":"file1"},{"photo_id":"1327388543","filename":"file0"},{"photo_id":"1327388552","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388543":["hashtag1","hashtag2"]},{"1327388552":["hashtag1","hashtag2"]},{"1327388546":["hashtag1","hashtag2"]},{"1327388550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388543, 1327388552, 1327388546, 1327388550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35526180267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:15:03.188219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0003.jpg', '/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0000.jpg', '/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0001.jpg', '/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/13/image_08012025_04_13_02_340783_0003.jpg
/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0000.jpg
/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0001.jpg
/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388597","1327388594","1327388595","1327388598"],"photo_ids_order":["1327388594","1327388595","1327388597","1327388598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8229a6bea2b863cba18f7a44b413a922.jpg","text":"TemporaryFile(/tmp/multipartBody4957357192324956344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306173407,"filename":"image_08012025_04_14_02_899883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4aa055cde287909622c2af21e6463009.jpg","text":"TemporaryFile(/tmp/multipartBody1401900351134704392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306173407,"filename":"image_08012025_04_13_02_340783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29d931314c84f07e085c5cf077183ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7012689105255340795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306173407,"filename":"image_08012025_04_14_02_899883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55b9653ea7c1d9d6fa6491da4fa022f6.jpg","text":"TemporaryFile(/tmp/multipartBody2302779454763595943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306173407,"filename":"image_08012025_04_14_02_899883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388597","file1":"1327388595","file0":"1327388594","file3":"1327388598"},"map_files_photo_id_array":[{"photo_id":"1327388597","filename":"file2"},{"photo_id":"1327388595","filename":"file1"},{"photo_id":"1327388594","filename":"file0"},{"photo_id":"1327388598","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388597":["hashtag1","hashtag2"]},{"1327388594":["hashtag1","hashtag2"]},{"1327388595":["hashtag1","hashtag2"]},{"1327388598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388597, 1327388594, 1327388595, 1327388598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8822557926178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:16:02.706203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0003.jpg', '/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0000.jpg', '/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0001.jpg', '/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/14/image_08012025_04_14_02_899883_0003.jpg
/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0000.jpg
/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0001.jpg
/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388622","1327388641","1327388701","1327388623"],"photo_ids_order":["1327388622","1327388623","1327388641","1327388701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75daceb57d51c91c271de63fc0279985.jpg","text":"TemporaryFile(/tmp/multipartBody387336367990507388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306232882,"filename":"image_08012025_04_14_02_899883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb3203e35d1d476d266b350911310c74.jpg","text":"TemporaryFile(/tmp/multipartBody4757262524804263741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306232882,"filename":"image_08012025_04_15_02_483389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ad16f13d3d90fba9226917f23886ed8.jpg","text":"TemporaryFile(/tmp/multipartBody651699819835029708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306232882,"filename":"image_08012025_04_15_02_483389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/889f826736f0b5d50bfa50478c6daf58.jpg","text":"TemporaryFile(/tmp/multipartBody5191387808596324318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306232882,"filename":"image_08012025_04_15_02_483389_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388641","file1":"1327388623","file0":"1327388622","file3":"1327388701"},"map_files_photo_id_array":[{"photo_id":"1327388641","filename":"file2"},{"photo_id":"1327388623","filename":"file1"},{"photo_id":"1327388622","filename":"file0"},{"photo_id":"1327388701","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388622":["hashtag1","hashtag2"]},{"1327388641":["hashtag1","hashtag2"]},{"1327388701":["hashtag1","hashtag2"]},{"1327388623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388622, 1327388641, 1327388701, 1327388623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.284199953079224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:17:02.351288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0003.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0000.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0001.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0003.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0000.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0001.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.23311734199524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:17:21.757975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0003.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0000.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0001.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0002.jpg', '/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0003.jpg', '/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/15/image_08012025_04_15_02_483389_0003.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0000.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0001.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0002.jpg
/home/pi/Desktop/images/08012025/04/16/image_08012025_04_16_03_047709_0003.jpg
/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388873","1327388875","1327388869","1327388871","1327388880","1327388877"],"photo_ids_order":["1327388869","1327388871","1327388873","1327388875","1327388877","1327388880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90bca55499e27ae06e327cef543570f4.jpg","text":"TemporaryFile(/tmp/multipartBody9020765152496629048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_16_03_047709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3674c616a18d1d74c63b4c99573ddb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5760428617018249615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_16_03_047709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c293d26647f4e10aa63a79f1da7a443.jpg","text":"TemporaryFile(/tmp/multipartBody5854382124124499796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_15_02_483389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8bab53a5f44ad8b75b75da067cf285f.jpg","text":"TemporaryFile(/tmp/multipartBody8115383067706195957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_16_03_047709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/074d853666b3bac22600eae2488bd2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4029514881662730728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_17_02_657398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0624e1156470ea069df188385082504.jpg","text":"TemporaryFile(/tmp/multipartBody7653038997350119886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306316760,"filename":"image_08012025_04_16_03_047709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388873","file1":"1327388871","file0":"1327388869","file4":"1327388877","file5":"1327388880","file3":"1327388875"},"map_files_photo_id_array":[{"photo_id":"1327388880","filename":"file5"},{"photo_id":"1327388873","filename":"file2"},{"photo_id":"1327388877","filename":"file4"},{"photo_id":"1327388871","filename":"file1"},{"photo_id":"1327388869","filename":"file0"},{"photo_id":"1327388875","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388873":["hashtag1","hashtag2"]},{"1327388875":["hashtag1","hashtag2"]},{"1327388869":["hashtag1","hashtag2"]},{"1327388871":["hashtag1","hashtag2"]},{"1327388880":["hashtag1","hashtag2"]},{"1327388877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388873, 1327388875, 1327388869, 1327388871, 1327388880, 1327388877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.839616775512695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:18:22.471716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0001.jpg', '/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0002.jpg', '/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0003.jpg', '/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0000.jpg', '/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0001.jpg', '/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0001.jpg
/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0002.jpg
/home/pi/Desktop/images/08012025/04/17/image_08012025_04_17_02_657398_0003.jpg
/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0000.jpg
/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0001.jpg
/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388894","1327388887","1327388890","1327388884","1327388892","1327388895"],"photo_ids_order":["1327388884","1327388887","1327388890","1327388892","1327388894","1327388895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c2174b350c0dbda3216828ecd07238c.jpg","text":"TemporaryFile(/tmp/multipartBody5827700891902019348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_18_02_166714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/047dbad41584a37cec3aa4444a9d282c.jpg","text":"TemporaryFile(/tmp/multipartBody5301335856880248284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_17_02_657398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/474eebe6ba31aac865a8ef900153bc5d.jpg","text":"TemporaryFile(/tmp/multipartBody6674950351420570907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_17_02_657398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4aa4926ba3c8abe6b44fb07fcc96c92c.jpg","text":"TemporaryFile(/tmp/multipartBody3663976458900363244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_17_02_657398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbb0203403684b1c3611a936dbbb1158.jpg","text":"TemporaryFile(/tmp/multipartBody142170865526915655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_18_02_166714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/535987049325eee143e6796c913d35eb.jpg","text":"TemporaryFile(/tmp/multipartBody8159736118908533943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306377478,"filename":"image_08012025_04_18_02_166714_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388890","file1":"1327388887","file0":"1327388884","file4":"1327388894","file5":"1327388895","file3":"1327388892"},"map_files_photo_id_array":[{"photo_id":"1327388895","filename":"file5"},{"photo_id":"1327388890","filename":"file2"},{"photo_id":"1327388894","filename":"file4"},{"photo_id":"1327388887","filename":"file1"},{"photo_id":"1327388884","filename":"file0"},{"photo_id":"1327388892","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388894":["hashtag1","hashtag2"]},{"1327388887":["hashtag1","hashtag2"]},{"1327388890":["hashtag1","hashtag2"]},{"1327388884":["hashtag1","hashtag2"]},{"1327388892":["hashtag1","hashtag2"]},{"1327388895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388894, 1327388887, 1327388890, 1327388884, 1327388892, 1327388895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61837339401245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:19:21.999840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0003.jpg', '/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0000.jpg', '/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0001.jpg', '/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/18/image_08012025_04_18_02_166714_0003.jpg
/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0000.jpg
/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0001.jpg
/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388943","1327388907","1327388909","1327388906"],"photo_ids_order":["1327388906","1327388907","1327388909","1327388943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10460f380dec03010efe839f55f2812a.jpg","text":"TemporaryFile(/tmp/multipartBody5945084788407729780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306432246,"filename":"image_08012025_04_19_02_855531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c394a6d2a5e1dbebed20e74518b6fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody1207693590980977689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306432246,"filename":"image_08012025_04_19_02_855531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31ff66c88b1f0c676dac64a6f36f07bf.jpg","text":"TemporaryFile(/tmp/multipartBody7865406424103521960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306432246,"filename":"image_08012025_04_19_02_855531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/667bcccd63b97f4a80eb71132bb325e4.jpg","text":"TemporaryFile(/tmp/multipartBody521920258593541675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306432246,"filename":"image_08012025_04_18_02_166714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388909","file1":"1327388907","file0":"1327388906","file3":"1327388943"},"map_files_photo_id_array":[{"photo_id":"1327388909","filename":"file2"},{"photo_id":"1327388907","filename":"file1"},{"photo_id":"1327388906","filename":"file0"},{"photo_id":"1327388943","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388943":["hashtag1","hashtag2"]},{"1327388907":["hashtag1","hashtag2"]},{"1327388909":["hashtag1","hashtag2"]},{"1327388906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388943, 1327388907, 1327388909, 1327388906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.915934324264526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:20:22.528676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0003.jpg', '/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0000.jpg', '/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0001.jpg', '/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/19/image_08012025_04_19_02_855531_0003.jpg
/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0000.jpg
/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0001.jpg
/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388957","1327388951","1327388954","1327388949"],"photo_ids_order":["1327388949","1327388951","1327388954","1327388957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/016f36c33bfc5c40dea9c490bcd6ce22.jpg","text":"TemporaryFile(/tmp/multipartBody5614210227989442622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306492831,"filename":"image_08012025_04_20_02_370227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/750eb1ccd5e3598d1ea301ea177b1d58.jpg","text":"TemporaryFile(/tmp/multipartBody7991103269263783397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306492831,"filename":"image_08012025_04_20_02_370227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82cb5d632ee0af37fb1d46757ccc3fdb.jpg","text":"TemporaryFile(/tmp/multipartBody3578181746128228455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306492831,"filename":"image_08012025_04_20_02_370227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e568287e9e4d16d8ef0a7ff4ae848f5.jpg","text":"TemporaryFile(/tmp/multipartBody1167095401161163083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306492831,"filename":"image_08012025_04_19_02_855531_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388954","file1":"1327388951","file0":"1327388949","file3":"1327388957"},"map_files_photo_id_array":[{"photo_id":"1327388954","filename":"file2"},{"photo_id":"1327388951","filename":"file1"},{"photo_id":"1327388949","filename":"file0"},{"photo_id":"1327388957","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388957":["hashtag1","hashtag2"]},{"1327388951":["hashtag1","hashtag2"]},{"1327388954":["hashtag1","hashtag2"]},{"1327388949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388957, 1327388951, 1327388954, 1327388949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20641851425171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:21:22.043226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0003.jpg', '/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0000.jpg', '/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0001.jpg', '/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/20/image_08012025_04_20_02_370227_0003.jpg
/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0000.jpg
/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0001.jpg
/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327388966","1327388968","1327388970","1327388976"],"photo_ids_order":["1327388966","1327388968","1327388970","1327388976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b5f40a1571d4fb298bf6b72191154e3.jpg","text":"TemporaryFile(/tmp/multipartBody8692756803113098081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306552286,"filename":"image_08012025_04_20_02_370227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/418a67c99e4a0b212a5ab953e1e2b60d.jpg","text":"TemporaryFile(/tmp/multipartBody1241919531976207869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306552286,"filename":"image_08012025_04_21_02_903962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/404d9651ee14f378ff26e6da73edabcf.jpg","text":"TemporaryFile(/tmp/multipartBody6326344715154388575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306552286,"filename":"image_08012025_04_21_02_903962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1043888550589c06d1e7da5b78df9517.jpg","text":"TemporaryFile(/tmp/multipartBody5775891389593668469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306552286,"filename":"image_08012025_04_21_02_903962_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327388970","file1":"1327388968","file0":"1327388966","file3":"1327388976"},"map_files_photo_id_array":[{"photo_id":"1327388970","filename":"file2"},{"photo_id":"1327388968","filename":"file1"},{"photo_id":"1327388966","filename":"file0"},{"photo_id":"1327388976","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327388966":["hashtag1","hashtag2"]},{"1327388968":["hashtag1","hashtag2"]},{"1327388970":["hashtag1","hashtag2"]},{"1327388976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327388966, 1327388968, 1327388970, 1327388976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.871479749679565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:22:03.120390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:22:22.524090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0003.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0000.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0001.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0003.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0000.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0001.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.715889930725098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:23:02.728136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0003.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0000.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0001.jpg', '/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/21/image_08012025_04_21_02_903962_0003.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0000.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0001.jpg
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389058","1327389052","1327389031","1327389034"],"photo_ids_order":["1327389031","1327389034","1327389052","1327389058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7059752ec084ed82b2e2c6205496f6b3.jpg","text":"TemporaryFile(/tmp/multipartBody181582291541456839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306652912,"filename":"image_08012025_04_22_02_423870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b54d7f4d775435034f33caf25b299d1.jpg","text":"TemporaryFile(/tmp/multipartBody58285630763144638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306652912,"filename":"image_08012025_04_22_02_423870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13a458c3de3101d6a271d4f4d331acd6.jpg","text":"TemporaryFile(/tmp/multipartBody2292827171107232286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306652912,"filename":"image_08012025_04_21_02_903962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ab64ef621e7d9438c017a45dbdb2f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7544796784786782650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306652912,"filename":"image_08012025_04_22_02_423870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389052","file1":"1327389034","file0":"1327389031","file3":"1327389058"},"map_files_photo_id_array":[{"photo_id":"1327389052","filename":"file2"},{"photo_id":"1327389034","filename":"file1"},{"photo_id":"1327389031","filename":"file0"},{"photo_id":"1327389058","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389058":["hashtag1","hashtag2"]},{"1327389052":["hashtag1","hashtag2"]},{"1327389031":["hashtag1","hashtag2"]},{"1327389034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389058, 1327389052, 1327389031, 1327389034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.698442697525024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:24:02.102101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0003.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0000.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0001.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0003.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0000.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0001.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.870513200759888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:24:21.752889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0003.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0000.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0001.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0002.jpg', '/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0003.jpg', '/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/22/image_08012025_04_22_02_423870_0003.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0000.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0001.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0002.jpg
/home/pi/Desktop/images/08012025/04/23/image_08012025_04_23_02_972984_0003.jpg
/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389110","1327389116","1327389115","1327389112","1327389114","1327389108"],"photo_ids_order":["1327389108","1327389110","1327389112","1327389114","1327389115","1327389116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5347ca30c381954bed7d9545fcb16ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3491884043447029807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_23_02_972984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f6a24cce3cd000df3f112b4203bf2f5.jpg","text":"TemporaryFile(/tmp/multipartBody6631230531141829204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_24_02_518733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab7da74bb2e3d3d09de78946e01030b0.jpg","text":"TemporaryFile(/tmp/multipartBody8718836276917165800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_23_02_972984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c02e9297dca6ed4e764258eea20881c.jpg","text":"TemporaryFile(/tmp/multipartBody9087452846569085772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_23_02_972984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49e79f40a6fefd653d148f06342dd1df.jpg","text":"TemporaryFile(/tmp/multipartBody7255892598401033162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_23_02_972984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4100e942ecbc850da32eafc595982cfa.jpg","text":"TemporaryFile(/tmp/multipartBody7541650596086476544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306736772,"filename":"image_08012025_04_22_02_423870_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389112","file1":"1327389110","file0":"1327389108","file4":"1327389115","file5":"1327389116","file3":"1327389114"},"map_files_photo_id_array":[{"photo_id":"1327389116","filename":"file5"},{"photo_id":"1327389112","filename":"file2"},{"photo_id":"1327389115","filename":"file4"},{"photo_id":"1327389110","filename":"file1"},{"photo_id":"1327389108","filename":"file0"},{"photo_id":"1327389114","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389110":["hashtag1","hashtag2"]},{"1327389116":["hashtag1","hashtag2"]},{"1327389115":["hashtag1","hashtag2"]},{"1327389112":["hashtag1","hashtag2"]},{"1327389114":["hashtag1","hashtag2"]},{"1327389108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389110, 1327389116, 1327389115, 1327389112, 1327389114, 1327389108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.834835052490234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:25:22.443617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0001.jpg', '/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0002.jpg', '/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0003.jpg', '/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0000.jpg', '/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0001.jpg', '/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0001.jpg
/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0002.jpg
/home/pi/Desktop/images/08012025/04/24/image_08012025_04_24_02_518733_0003.jpg
/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0000.jpg
/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0001.jpg
/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389149","1327389134","1327389310","1327389162","1327389312","1327389237"],"photo_ids_order":["1327389134","1327389149","1327389162","1327389237","1327389310","1327389312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/add3cbdf08dc1b3680ef4f062ca98bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6485869286980738914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_24_02_518733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ee630866c4bec8b6aae1f36cfda8441.jpg","text":"TemporaryFile(/tmp/multipartBody1262947292961758004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_24_02_518733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c9fa983902f124bb1c70c0d769746a5.jpg","text":"TemporaryFile(/tmp/multipartBody9106941416699622642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_25_02_218227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36e9b581c040d66a2da4aee9f1c469c7.jpg","text":"TemporaryFile(/tmp/multipartBody8722464904427146121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_24_02_518733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cbcc047015398a452bb05d363d3c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5716957927100575004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_25_02_218227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a84010626c3a0388626381e32bfe7050.jpg","text":"TemporaryFile(/tmp/multipartBody4601045754908880794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306797351,"filename":"image_08012025_04_25_02_218227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389162","file1":"1327389149","file0":"1327389134","file4":"1327389310","file5":"1327389312","file3":"1327389237"},"map_files_photo_id_array":[{"photo_id":"1327389312","filename":"file5"},{"photo_id":"1327389162","filename":"file2"},{"photo_id":"1327389310","filename":"file4"},{"photo_id":"1327389149","filename":"file1"},{"photo_id":"1327389134","filename":"file0"},{"photo_id":"1327389237","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389149":["hashtag1","hashtag2"]},{"1327389134":["hashtag1","hashtag2"]},{"1327389310":["hashtag1","hashtag2"]},{"1327389162":["hashtag1","hashtag2"]},{"1327389312":["hashtag1","hashtag2"]},{"1327389237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389149, 1327389134, 1327389310, 1327389162, 1327389312, 1327389237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36328482627869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:26:21.868110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0003.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0000.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0001.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0003.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0000.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0001.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.667455673217773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:27:02.965057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0003.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0000.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0001.jpg', '/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/25/image_08012025_04_25_02_218227_0003.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0000.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0001.jpg
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389365","1327389364","1327389367","1327389366"],"photo_ids_order":["1327389364","1327389365","1327389366","1327389367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9447912c507aa5a875e09b3c85ff1bd2.jpg","text":"TemporaryFile(/tmp/multipartBody7206288843184163968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306893101,"filename":"image_08012025_04_26_02_688421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34cc2cfacc815d7484a40870fce63727.jpg","text":"TemporaryFile(/tmp/multipartBody4042767292317490394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306893101,"filename":"image_08012025_04_25_02_218227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb25266b57ed23ba4812e5df1d10abbf.jpg","text":"TemporaryFile(/tmp/multipartBody7851846581332206963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306893101,"filename":"image_08012025_04_26_02_688421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e22002a2b142744266bdd4d4a7ab4cff.jpg","text":"TemporaryFile(/tmp/multipartBody5186840717103528616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306893101,"filename":"image_08012025_04_26_02_688421_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389366","file1":"1327389365","file0":"1327389364","file3":"1327389367"},"map_files_photo_id_array":[{"photo_id":"1327389366","filename":"file2"},{"photo_id":"1327389365","filename":"file1"},{"photo_id":"1327389364","filename":"file0"},{"photo_id":"1327389367","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389365":["hashtag1","hashtag2"]},{"1327389364":["hashtag1","hashtag2"]},{"1327389367":["hashtag1","hashtag2"]},{"1327389366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389365, 1327389364, 1327389367, 1327389366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30803847312927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:28:02.623320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0003.jpg', '/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0000.jpg', '/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0001.jpg', '/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/26/image_08012025_04_26_02_688421_0003.jpg
/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0000.jpg
/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0001.jpg
/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389374","1327389385","1327389375","1327389383"],"photo_ids_order":["1327389374","1327389375","1327389383","1327389385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4deff9b6a759e001ea9d15369abcebf8.jpg","text":"TemporaryFile(/tmp/multipartBody6921364128070431512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306952844,"filename":"image_08012025_04_26_02_688421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b280933f7604735b34b43d4aa76070d.jpg","text":"TemporaryFile(/tmp/multipartBody4010607331301202851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306952844,"filename":"image_08012025_04_27_02_215005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e16827b28cb81765bd916ad91330edd.jpg","text":"TemporaryFile(/tmp/multipartBody6414270743483497200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306952844,"filename":"image_08012025_04_27_02_215005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfc878500fd1292aeb208b1cd5a662a9.jpg","text":"TemporaryFile(/tmp/multipartBody8070891653044931692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736306952844,"filename":"image_08012025_04_27_02_215005_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389383","file1":"1327389375","file0":"1327389374","file3":"1327389385"},"map_files_photo_id_array":[{"photo_id":"1327389383","filename":"file2"},{"photo_id":"1327389375","filename":"file1"},{"photo_id":"1327389374","filename":"file0"},{"photo_id":"1327389385","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389374":["hashtag1","hashtag2"]},{"1327389385":["hashtag1","hashtag2"]},{"1327389375":["hashtag1","hashtag2"]},{"1327389383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389374, 1327389385, 1327389375, 1327389383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.23842787742615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:29:02.551715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0003.jpg', '/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0000.jpg', '/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0001.jpg', '/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/27/image_08012025_04_27_02_215005_0003.jpg
/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0000.jpg
/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0001.jpg
/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389428","1327389430","1327389433","1327389435"],"photo_ids_order":["1327389428","1327389430","1327389433","1327389435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe41885c57434ae8538eda286c07db54.jpg","text":"TemporaryFile(/tmp/multipartBody9153857250606777988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307012910,"filename":"image_08012025_04_27_02_215005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/beff176f2970e87e6b1229cc6c7411fc.jpg","text":"TemporaryFile(/tmp/multipartBody5541721334223058914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307012910,"filename":"image_08012025_04_28_02_706718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c352cc0de90804a9038573ad8cb5375.jpg","text":"TemporaryFile(/tmp/multipartBody4632925546317903180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307012910,"filename":"image_08012025_04_28_02_706718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1c53a8a2b6fdaa4efb19bfedddf9e49.jpg","text":"TemporaryFile(/tmp/multipartBody6814686057541031287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307012910,"filename":"image_08012025_04_28_02_706718_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389433","file1":"1327389430","file0":"1327389428","file3":"1327389435"},"map_files_photo_id_array":[{"photo_id":"1327389433","filename":"file2"},{"photo_id":"1327389430","filename":"file1"},{"photo_id":"1327389428","filename":"file0"},{"photo_id":"1327389435","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389428":["hashtag1","hashtag2"]},{"1327389430":["hashtag1","hashtag2"]},{"1327389433":["hashtag1","hashtag2"]},{"1327389435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389428, 1327389430, 1327389433, 1327389435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.98507285118103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:30:02.897646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0003.jpg', '/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0000.jpg', '/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0001.jpg', '/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/28/image_08012025_04_28_02_706718_0003.jpg
/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0000.jpg
/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0001.jpg
/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389452","1327389449","1327389450","1327389447"],"photo_ids_order":["1327389447","1327389449","1327389450","1327389452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/784103c844b4362217a962112a03a095.jpg","text":"TemporaryFile(/tmp/multipartBody6333727443393592766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307073101,"filename":"image_08012025_04_29_02_698893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7721099da191c56f75de515f7f591af2.jpg","text":"TemporaryFile(/tmp/multipartBody2344125936262959829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307073101,"filename":"image_08012025_04_29_02_698893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e08a46107588b43098ca09ce9fc556fa.jpg","text":"TemporaryFile(/tmp/multipartBody885969938217935348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307073101,"filename":"image_08012025_04_29_02_698893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0de31fdd0c522d976c6b8934f3943847.jpg","text":"TemporaryFile(/tmp/multipartBody4266253899238993965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307073101,"filename":"image_08012025_04_28_02_706718_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389450","file1":"1327389449","file0":"1327389447","file3":"1327389452"},"map_files_photo_id_array":[{"photo_id":"1327389450","filename":"file2"},{"photo_id":"1327389449","filename":"file1"},{"photo_id":"1327389447","filename":"file0"},{"photo_id":"1327389452","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389452":["hashtag1","hashtag2"]},{"1327389449":["hashtag1","hashtag2"]},{"1327389450":["hashtag1","hashtag2"]},{"1327389447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389452, 1327389449, 1327389450, 1327389447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.96631479263306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:31:02.483027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0003.jpg', '/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0000.jpg', '/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/29/image_08012025_04_29_02_698893_0003.jpg
/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0000.jpg
/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389473","1327389481","1327389482"],"photo_ids_order":["1327389473","1327389481","1327389482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ea90f7ac3db8e518642ac1ff3e71774.jpg","text":"TemporaryFile(/tmp/multipartBody5561299531701679315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307130051,"filename":"image_08012025_04_29_02_698893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6705033be432a9154e067041e6ed20c8.jpg","text":"TemporaryFile(/tmp/multipartBody1429998835515190433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307130051,"filename":"image_08012025_04_30_02_207739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75b93bf61e3f2908f6b8ff900e73a707.jpg","text":"TemporaryFile(/tmp/multipartBody8843262641362588059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307130051,"filename":"image_08012025_04_30_02_207739_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389482","file1":"1327389481","file0":"1327389473"},"map_files_photo_id_array":[{"photo_id":"1327389482","filename":"file2"},{"photo_id":"1327389481","filename":"file1"},{"photo_id":"1327389473","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389473":["hashtag1","hashtag2"]},{"1327389481":["hashtag1","hashtag2"]},{"1327389482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389473, 1327389481, 1327389482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.492700576782227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:32:03.108751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0003.jpg', '/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0000.jpg', '/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0003.jpg
/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0000.jpg
/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_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.212194204330444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:32:22.628779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0003.jpg', '/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0000.jpg', '/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0001.jpg', '/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0002.jpg', '/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0000.jpg', '/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/30/image_08012025_04_30_02_207739_0003.jpg
/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0000.jpg
/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0001.jpg
/home/pi/Desktop/images/08012025/04/31/image_08012025_04_31_02_876693_0002.jpg
/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0000.jpg
/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389653","1327389536","1327389617","1327389649","1327389538","1327389651"],"photo_ids_order":["1327389536","1327389538","1327389617","1327389649","1327389651","1327389653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e56883072e516a1c041664fb76cc9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4171208443635350882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_32_02_382104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80f21726e220c4c0254a4889489ae321.jpg","text":"TemporaryFile(/tmp/multipartBody4371482233918391461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_30_02_207739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1fb3e35109648e6826c6e422505ecca.jpg","text":"TemporaryFile(/tmp/multipartBody5750189564937636011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_31_02_876693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef7ed6da2d5cc22afdd1c57da06aa5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1705332948192447997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_31_02_876693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a9a08178b737dbe0940caa18e40ace8.jpg","text":"TemporaryFile(/tmp/multipartBody1554564479161967911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_31_02_876693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20d901669ad5403d6d92278a36f212f4.jpg","text":"TemporaryFile(/tmp/multipartBody8974097625666896234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307217130,"filename":"image_08012025_04_32_02_382104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389617","file1":"1327389538","file0":"1327389536","file4":"1327389651","file5":"1327389653","file3":"1327389649"},"map_files_photo_id_array":[{"photo_id":"1327389653","filename":"file5"},{"photo_id":"1327389617","filename":"file2"},{"photo_id":"1327389651","filename":"file4"},{"photo_id":"1327389538","filename":"file1"},{"photo_id":"1327389536","filename":"file0"},{"photo_id":"1327389649","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389653":["hashtag1","hashtag2"]},{"1327389536":["hashtag1","hashtag2"]},{"1327389617":["hashtag1","hashtag2"]},{"1327389649":["hashtag1","hashtag2"]},{"1327389538":["hashtag1","hashtag2"]},{"1327389651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389653, 1327389536, 1327389617, 1327389649, 1327389538, 1327389651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.15801692008972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:33:22.307798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0002.jpg', '/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0003.jpg', '/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0000.jpg', '/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0001.jpg', '/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0002.jpg
/home/pi/Desktop/images/08012025/04/32/image_08012025_04_32_02_382104_0003.jpg
/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0000.jpg
/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0001.jpg
/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389691","1327389693","1327389681","1327389654","1327389663"],"photo_ids_order":["1327389654","1327389663","1327389681","1327389691","1327389693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5ecd8abf6de460d665bc2af563b83f4.jpg","text":"TemporaryFile(/tmp/multipartBody2156957019594838714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307274442,"filename":"image_08012025_04_33_03_068201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6a427e38ba582c8819b0b1572421ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1487025035901744465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307274442,"filename":"image_08012025_04_33_03_068201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4fc77e30b1033b39726740baab665d2.jpg","text":"TemporaryFile(/tmp/multipartBody1107591346879263025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307274442,"filename":"image_08012025_04_33_03_068201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e54a0ad2a7924a87a3a7dbff90b71f26.jpg","text":"TemporaryFile(/tmp/multipartBody2358073459946623877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307274442,"filename":"image_08012025_04_32_02_382104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b1f5f5863bbc6a11bab009978bac4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5784455664408020822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307274442,"filename":"image_08012025_04_32_02_382104_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389681","file1":"1327389663","file0":"1327389654","file4":"1327389693","file3":"1327389691"},"map_files_photo_id_array":[{"photo_id":"1327389681","filename":"file2"},{"photo_id":"1327389693","filename":"file4"},{"photo_id":"1327389663","filename":"file1"},{"photo_id":"1327389654","filename":"file0"},{"photo_id":"1327389691","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389691":["hashtag1","hashtag2"]},{"1327389693":["hashtag1","hashtag2"]},{"1327389681":["hashtag1","hashtag2"]},{"1327389654":["hashtag1","hashtag2"]},{"1327389663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389691, 1327389693, 1327389681, 1327389654, 1327389663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.50762391090393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:34:21.764905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0003.jpg', '/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0000.jpg', '/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0001.jpg', '/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/33/image_08012025_04_33_03_068201_0003.jpg
/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0000.jpg
/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0001.jpg
/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389731","1327389734","1327389737","1327389729"],"photo_ids_order":["1327389729","1327389731","1327389734","1327389737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c71c879113b563f00542b5a55a9f17db.jpg","text":"TemporaryFile(/tmp/multipartBody2221060098892909826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307331589,"filename":"image_08012025_04_34_02_631321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9d37a40778ea896f81a65ca05466803.jpg","text":"TemporaryFile(/tmp/multipartBody6519243898108770003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307331589,"filename":"image_08012025_04_34_02_631321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ac8f1f985048f89696cad3371683a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4101481283837979063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307331589,"filename":"image_08012025_04_34_02_631321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43f3403c5a9bca6f2aed8583d4a46d85.jpg","text":"TemporaryFile(/tmp/multipartBody6995653282494449360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307331589,"filename":"image_08012025_04_33_03_068201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389734","file1":"1327389731","file0":"1327389729","file3":"1327389737"},"map_files_photo_id_array":[{"photo_id":"1327389734","filename":"file2"},{"photo_id":"1327389731","filename":"file1"},{"photo_id":"1327389729","filename":"file0"},{"photo_id":"1327389737","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389731":["hashtag1","hashtag2"]},{"1327389734":["hashtag1","hashtag2"]},{"1327389737":["hashtag1","hashtag2"]},{"1327389729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389731, 1327389734, 1327389737, 1327389729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.677404165267944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:35:02.903832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:35:22.172077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0003.jpg', '/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0000.jpg', '/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0001.jpg', '/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/34/image_08012025_04_34_02_631321_0003.jpg
/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0000.jpg
/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0001.jpg
/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389746","1327389748","1327389750","1327389744"],"photo_ids_order":["1327389744","1327389746","1327389748","1327389750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0bf6340c8e228d79ad550e5b22bc2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4498281913967863298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307392020,"filename":"image_08012025_04_35_02_106145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/269db1a28a0044121a5380a30cdaace5.jpg","text":"TemporaryFile(/tmp/multipartBody3923879863587171199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307392020,"filename":"image_08012025_04_35_02_106145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7dcc9d897c319f04e29f5a452581ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7269899509266976915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307392020,"filename":"image_08012025_04_35_02_106145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca807665a08dda98244e2542c34b01e1.jpg","text":"TemporaryFile(/tmp/multipartBody1285933710760126814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307392020,"filename":"image_08012025_04_34_02_631321_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389748","file1":"1327389746","file0":"1327389744","file3":"1327389750"},"map_files_photo_id_array":[{"photo_id":"1327389748","filename":"file2"},{"photo_id":"1327389746","filename":"file1"},{"photo_id":"1327389744","filename":"file0"},{"photo_id":"1327389750","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389746":["hashtag1","hashtag2"]},{"1327389748":["hashtag1","hashtag2"]},{"1327389750":["hashtag1","hashtag2"]},{"1327389744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389746, 1327389748, 1327389750, 1327389744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.86285042762756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:36:21.977272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0003.jpg', '/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0001.jpg', '/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0003.jpg
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0001.jpg
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.136844635009766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:37:03.016990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0003.jpg', '/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0001.jpg', '/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/35/image_08012025_04_35_02_106145_0003.jpg
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0001.jpg
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389935","1327389934","1327389937"],"photo_ids_order":["1327389934","1327389935","1327389937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a871132106d2ea61ab9e00ec524516c7.jpg","text":"TemporaryFile(/tmp/multipartBody8215277273271412722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307490638,"filename":"image_08012025_04_36_02_688568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9187f7c932415a6e26b2a30a69719ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8896592812345963765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307490638,"filename":"image_08012025_04_35_02_106145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/297412fcb2837b326e425aeb487855d6.jpg","text":"TemporaryFile(/tmp/multipartBody4034069576399462689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307490638,"filename":"image_08012025_04_36_02_688568_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389937","file1":"1327389935","file0":"1327389934"},"map_files_photo_id_array":[{"photo_id":"1327389937","filename":"file2"},{"photo_id":"1327389935","filename":"file1"},{"photo_id":"1327389934","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389935":["hashtag1","hashtag2"]},{"1327389934":["hashtag1","hashtag2"]},{"1327389937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389935, 1327389934, 1327389937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.2223641872406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:38:02.543329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0003.jpg', '/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0001.jpg', '/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0003.jpg
/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0001.jpg
/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.23047661781311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:38:22.105945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0003.jpg', '/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0001.jpg', '/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0002.jpg', '/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0003.jpg', '/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0000.jpg', '/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/36/image_08012025_04_36_02_688568_0003.jpg
/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0001.jpg
/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0002.jpg
/home/pi/Desktop/images/08012025/04/37/image_08012025_04_37_02_281422_0003.jpg
/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0000.jpg
/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389953","1327389959","1327389955","1327389949","1327389957","1327389951"],"photo_ids_order":["1327389949","1327389951","1327389953","1327389955","1327389957","1327389959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f17fa351d8d60ff445ad426039184d23.jpg","text":"TemporaryFile(/tmp/multipartBody7680404088692785882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_37_02_281422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a4f722ad1e4935671ba3b933728ff41.jpg","text":"TemporaryFile(/tmp/multipartBody161490266645254823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_38_02_762376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1da40d88d4ed50bb7ab81b17d8a0ecb.jpg","text":"TemporaryFile(/tmp/multipartBody9152088411104771589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_37_02_281422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d67714c4b8bd955b37e7c97bf64263b8.jpg","text":"TemporaryFile(/tmp/multipartBody3691509620617517988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_36_02_688568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f317b6cb2837f30da246838894b8270.jpg","text":"TemporaryFile(/tmp/multipartBody5138814404296323816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_38_02_762376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bbc00e5a80e07b356668de4a8f02c70a.jpg","text":"TemporaryFile(/tmp/multipartBody4140778158862735561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307577011,"filename":"image_08012025_04_37_02_281422_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389953","file1":"1327389951","file0":"1327389949","file4":"1327389957","file5":"1327389959","file3":"1327389955"},"map_files_photo_id_array":[{"photo_id":"1327389959","filename":"file5"},{"photo_id":"1327389953","filename":"file2"},{"photo_id":"1327389957","filename":"file4"},{"photo_id":"1327389951","filename":"file1"},{"photo_id":"1327389949","filename":"file0"},{"photo_id":"1327389955","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389953":["hashtag1","hashtag2"]},{"1327389959":["hashtag1","hashtag2"]},{"1327389955":["hashtag1","hashtag2"]},{"1327389949":["hashtag1","hashtag2"]},{"1327389957":["hashtag1","hashtag2"]},{"1327389951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389953, 1327389959, 1327389955, 1327389949, 1327389957, 1327389951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96932935714722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:39:22.609721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0002.jpg', '/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0000.jpg', '/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0001.jpg', '/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/38/image_08012025_04_38_02_762376_0002.jpg
/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0000.jpg
/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0001.jpg
/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327389965","1327389970","1327389967","1327389963"],"photo_ids_order":["1327389963","1327389965","1327389967","1327389970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9a6581293ca14853a040264430bea82.jpg","text":"TemporaryFile(/tmp/multipartBody3920641159061936049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307632767,"filename":"image_08012025_04_39_02_471616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c45c7e0ca256187f38770e6d4f6c7da.jpg","text":"TemporaryFile(/tmp/multipartBody311834387124244031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307632767,"filename":"image_08012025_04_39_02_471616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d364adeda192203be6646d9a4fe9b711.jpg","text":"TemporaryFile(/tmp/multipartBody1669492725556988258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307632767,"filename":"image_08012025_04_39_02_471616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4da3970ca1fd7ca29147791ff4ffb7d6.jpg","text":"TemporaryFile(/tmp/multipartBody3161349690200068056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307632767,"filename":"image_08012025_04_38_02_762376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327389967","file1":"1327389965","file0":"1327389963","file3":"1327389970"},"map_files_photo_id_array":[{"photo_id":"1327389967","filename":"file2"},{"photo_id":"1327389965","filename":"file1"},{"photo_id":"1327389963","filename":"file0"},{"photo_id":"1327389970","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327389965":["hashtag1","hashtag2"]},{"1327389970":["hashtag1","hashtag2"]},{"1327389967":["hashtag1","hashtag2"]},{"1327389963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327389965, 1327389970, 1327389967, 1327389963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25615477561951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:40:22.175570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0003.jpg', '/home/pi/Desktop/images/08012025/04/40/image_08012025_04_40_03_059255_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/39/image_08012025_04_39_02_471616_0003.jpg
/home/pi/Desktop/images/08012025/04/40/image_08012025_04_40_03_059255_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390005","1327390037"],"photo_ids_order":["1327390005","1327390037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48c721417a4823d4e6d99265c364c8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1722897252229334050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307687621,"filename":"image_08012025_04_39_02_471616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcdf5bf8982392a79f992acce877501f.jpg","text":"TemporaryFile(/tmp/multipartBody3238245024463515161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307687621,"filename":"image_08012025_04_40_03_059255_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327390037","file0":"1327390005"},"map_files_photo_id_array":[{"photo_id":"1327390037","filename":"file1"},{"photo_id":"1327390005","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390005":["hashtag1","hashtag2"]},{"1327390037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390005, 1327390037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.434967041015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:41:02.337535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:41:21.687262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/40/image_08012025_04_40_03_059255_0003.jpg', '/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0000.jpg', '/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/40/image_08012025_04_40_03_059255_0003.jpg
/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0000.jpg
/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390091","1327390079","1327390086"],"photo_ids_order":["1327390079","1327390086","1327390091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ec79b41c273f5bc6a8a33e86a6d6799.jpg","text":"TemporaryFile(/tmp/multipartBody2191288532470354765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307749494,"filename":"image_08012025_04_41_02_622360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ba9b79b12b23eba167c85df933da045.jpg","text":"TemporaryFile(/tmp/multipartBody5635944820386420110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307749494,"filename":"image_08012025_04_40_03_059255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54a05c636c367059daca9a1b782497b5.jpg","text":"TemporaryFile(/tmp/multipartBody4438077571843206018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307749494,"filename":"image_08012025_04_41_02_622360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390091","file1":"1327390086","file0":"1327390079"},"map_files_photo_id_array":[{"photo_id":"1327390091","filename":"file2"},{"photo_id":"1327390086","filename":"file1"},{"photo_id":"1327390079","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390091":["hashtag1","hashtag2"]},{"1327390079":["hashtag1","hashtag2"]},{"1327390086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390091, 1327390079, 1327390086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.06067633628845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:42:02.702580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:42:22.324536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0003.jpg', '/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0003.jpg
/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_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.034416437149048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:43:02.535651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0003.jpg', '/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/41/image_08012025_04_41_02_622360_0003.jpg
/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390115","1327390114"],"photo_ids_order":["1327390114","1327390115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/758031dfee133b4a98beef5679bd0112.jpg","text":"TemporaryFile(/tmp/multipartBody9078481548236986263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307848005,"filename":"image_08012025_04_42_02_125387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40188fdc1b6731e27ac26645ab34005e.jpg","text":"TemporaryFile(/tmp/multipartBody6260176509734542557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307848005,"filename":"image_08012025_04_41_02_622360_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327390115","file0":"1327390114"},"map_files_photo_id_array":[{"photo_id":"1327390115","filename":"file1"},{"photo_id":"1327390114","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390115":["hashtag1","hashtag2"]},{"1327390114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390115, 1327390114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.034688711166382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:44:03.001894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0002.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0000.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0001.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0002.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0000.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0001.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.853535652160645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:44:22.517650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0002.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0000.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0001.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0002.jpg', '/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0003.jpg', '/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/42/image_08012025_04_42_02_125387_0002.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0000.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0001.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0002.jpg
/home/pi/Desktop/images/08012025/04/43/image_08012025_04_43_02_693521_0003.jpg
/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390167","1327390169","1327390163","1327390171","1327390165","1327390161"],"photo_ids_order":["1327390161","1327390163","1327390165","1327390167","1327390169","1327390171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cc9ae35420156431b6223732c7eb6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2374359286395852792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_43_02_693521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb31bb6cadb77ec5fea5731baa30d842.jpg","text":"TemporaryFile(/tmp/multipartBody4513168017080012873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_43_02_693521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6954fc6548a82570a08368e8741e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody1372785802920532165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_43_02_693521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/244098549fdf7530243387677008eb8e.jpg","text":"TemporaryFile(/tmp/multipartBody2685161613534086823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_44_02_232187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5bab8c7098a42c1e6c874afba608654b.jpg","text":"TemporaryFile(/tmp/multipartBody1702788288559100590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_43_02_693521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d028878c5aa6ad66bddee2cbce3b0db.jpg","text":"TemporaryFile(/tmp/multipartBody5182290382784480305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307937483,"filename":"image_08012025_04_42_02_125387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390165","file1":"1327390163","file0":"1327390161","file4":"1327390169","file5":"1327390171","file3":"1327390167"},"map_files_photo_id_array":[{"photo_id":"1327390171","filename":"file5"},{"photo_id":"1327390165","filename":"file2"},{"photo_id":"1327390169","filename":"file4"},{"photo_id":"1327390163","filename":"file1"},{"photo_id":"1327390161","filename":"file0"},{"photo_id":"1327390167","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390167":["hashtag1","hashtag2"]},{"1327390169":["hashtag1","hashtag2"]},{"1327390163":["hashtag1","hashtag2"]},{"1327390171":["hashtag1","hashtag2"]},{"1327390165":["hashtag1","hashtag2"]},{"1327390161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390167, 1327390169, 1327390163, 1327390171, 1327390165, 1327390161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.332510232925415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:45:22.081201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0001.jpg', '/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0002.jpg', '/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0000.jpg', '/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0001.jpg', '/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0001.jpg
/home/pi/Desktop/images/08012025/04/44/image_08012025_04_44_02_232187_0002.jpg
/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0000.jpg
/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0001.jpg
/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390172","1327390178","1327390180","1327390174","1327390176"],"photo_ids_order":["1327390172","1327390174","1327390176","1327390178","1327390180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8659ccc565671f5eb50dd70b69c43d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7095064491474706925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307994690,"filename":"image_08012025_04_44_02_232187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8b1ee41f3c82f16f7f3bbbfaf0a8530.jpg","text":"TemporaryFile(/tmp/multipartBody4828154716865885465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307994690,"filename":"image_08012025_04_45_02_920747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3bfc6da0e6ca63d87e9055db2341f67.jpg","text":"TemporaryFile(/tmp/multipartBody3644441454366202803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307994690,"filename":"image_08012025_04_45_02_920747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/acb440c61e1f2fbcfd5a3b3c1e87cf57.jpg","text":"TemporaryFile(/tmp/multipartBody2856589051710662108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307994690,"filename":"image_08012025_04_44_02_232187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb5bc0d52dd511d6e592c62213a4187c.jpg","text":"TemporaryFile(/tmp/multipartBody6978033496439637152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736307994690,"filename":"image_08012025_04_45_02_920747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390176","file1":"1327390174","file0":"1327390172","file4":"1327390180","file3":"1327390178"},"map_files_photo_id_array":[{"photo_id":"1327390176","filename":"file2"},{"photo_id":"1327390180","filename":"file4"},{"photo_id":"1327390174","filename":"file1"},{"photo_id":"1327390172","filename":"file0"},{"photo_id":"1327390178","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390172":["hashtag1","hashtag2"]},{"1327390178":["hashtag1","hashtag2"]},{"1327390180":["hashtag1","hashtag2"]},{"1327390174":["hashtag1","hashtag2"]},{"1327390176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390172, 1327390178, 1327390180, 1327390174, 1327390176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.37719941139221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:46:22.588574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0003.jpg', '/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0000.jpg', '/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0001.jpg', '/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/45/image_08012025_04_45_02_920747_0003.jpg
/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0000.jpg
/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0001.jpg
/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390229","1327390226","1327390192","1327390194"],"photo_ids_order":["1327390192","1327390194","1327390226","1327390229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41159ec446ef0c82e3ae98b56b37470a.jpg","text":"TemporaryFile(/tmp/multipartBody6513627515385851809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308052797,"filename":"image_08012025_04_46_02_442273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1b6aa5aefca1d2e8cc0b53540361553.jpg","text":"TemporaryFile(/tmp/multipartBody5438297661121507766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308052797,"filename":"image_08012025_04_46_02_442273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cfdd9b03796ce8e0a186d774430b70b.jpg","text":"TemporaryFile(/tmp/multipartBody4287716263874779471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308052797,"filename":"image_08012025_04_45_02_920747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e8abc76ebd0d343775271c255afb793.jpg","text":"TemporaryFile(/tmp/multipartBody5311797295917388287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308052797,"filename":"image_08012025_04_46_02_442273_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390226","file1":"1327390194","file0":"1327390192","file3":"1327390229"},"map_files_photo_id_array":[{"photo_id":"1327390226","filename":"file2"},{"photo_id":"1327390194","filename":"file1"},{"photo_id":"1327390192","filename":"file0"},{"photo_id":"1327390229","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390229":["hashtag1","hashtag2"]},{"1327390226":["hashtag1","hashtag2"]},{"1327390192":["hashtag1","hashtag2"]},{"1327390194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390229, 1327390226, 1327390192, 1327390194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.66180753707886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:47:22.138932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0003.jpg', '/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0001.jpg', '/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/46/image_08012025_04_46_02_442273_0003.jpg
/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0001.jpg
/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390245","1327390243","1327390236"],"photo_ids_order":["1327390236","1327390243","1327390245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ff09d78677813d5e6cf1f9a95e8eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2059870602608900568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308109973,"filename":"image_08012025_04_47_02_975025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c36d48a66ebb49eabb4bdaf7eecf70b2.jpg","text":"TemporaryFile(/tmp/multipartBody4336716070431717553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308109973,"filename":"image_08012025_04_47_02_975025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd7386ab94af353d4ad4621f68021d00.jpg","text":"TemporaryFile(/tmp/multipartBody1315986106181858879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308109973,"filename":"image_08012025_04_46_02_442273_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390245","file1":"1327390243","file0":"1327390236"},"map_files_photo_id_array":[{"photo_id":"1327390245","filename":"file2"},{"photo_id":"1327390243","filename":"file1"},{"photo_id":"1327390236","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390245":["hashtag1","hashtag2"]},{"1327390243":["hashtag1","hashtag2"]},{"1327390236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390245, 1327390243, 1327390236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.03460931777954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:48:03.045466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:48:22.628987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0003.jpg', '/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0000.jpg', '/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0003.jpg
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0000.jpg
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.429292917251587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:49:02.813211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0003.jpg', '/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0000.jpg', '/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/47/image_08012025_04_47_02_975025_0003.jpg
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0000.jpg
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390266","1327390265","1327390260"],"photo_ids_order":["1327390260","1327390265","1327390266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60d4aa62ef1dc387af32ad1db8d4f3d5.jpg","text":"TemporaryFile(/tmp/multipartBody7777680564003852980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308210686,"filename":"image_08012025_04_48_02_466559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd6216c6477cc223144a9a41f33446f4.jpg","text":"TemporaryFile(/tmp/multipartBody6769841060713285196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308210686,"filename":"image_08012025_04_48_02_466559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce14200f632a32dec83b52b91e7e61f4.jpg","text":"TemporaryFile(/tmp/multipartBody6653920313180344679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308210686,"filename":"image_08012025_04_47_02_975025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390266","file1":"1327390265","file0":"1327390260"},"map_files_photo_id_array":[{"photo_id":"1327390266","filename":"file2"},{"photo_id":"1327390265","filename":"file1"},{"photo_id":"1327390260","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390266":["hashtag1","hashtag2"]},{"1327390265":["hashtag1","hashtag2"]},{"1327390260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390266, 1327390265, 1327390260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.817050218582153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:50:02.234768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0003.jpg', '/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0001.jpg', '/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0003.jpg
/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0001.jpg
/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.445467233657837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:50:21.839179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0003.jpg', '/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0001.jpg', '/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0002.jpg', '/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0003.jpg', '/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0000.jpg', '/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/48/image_08012025_04_48_02_466559_0003.jpg
/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0001.jpg
/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0002.jpg
/home/pi/Desktop/images/08012025/04/49/image_08012025_04_49_03_018914_0003.jpg
/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0000.jpg
/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390344","1327390338","1327390340","1327390334","1327390342","1327390336"],"photo_ids_order":["1327390334","1327390336","1327390338","1327390340","1327390342","1327390344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60ae815219fd7943a8f6e9f06aca75a0.jpg","text":"TemporaryFile(/tmp/multipartBody4913987282570884818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_50_02_570042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/254e385ca091949f1c4d8295aa56fb0c.jpg","text":"TemporaryFile(/tmp/multipartBody4699859955416122169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_49_03_018914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2e737b1ad07ce3e872606fbb6c9b856.jpg","text":"TemporaryFile(/tmp/multipartBody3303420747249086728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_49_03_018914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0df68a2d9923541db48fcc45be03fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6539562021314555764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_48_02_466559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5adea38ebe083d67d679b335a0860c45.jpg","text":"TemporaryFile(/tmp/multipartBody8828802702755037800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_50_02_570042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92123dc2449e975f5aba7d71d6127d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6938453298637443215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308296817,"filename":"image_08012025_04_49_03_018914_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390338","file1":"1327390336","file0":"1327390334","file4":"1327390342","file5":"1327390344","file3":"1327390340"},"map_files_photo_id_array":[{"photo_id":"1327390344","filename":"file5"},{"photo_id":"1327390338","filename":"file2"},{"photo_id":"1327390342","filename":"file4"},{"photo_id":"1327390336","filename":"file1"},{"photo_id":"1327390334","filename":"file0"},{"photo_id":"1327390340","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390344":["hashtag1","hashtag2"]},{"1327390338":["hashtag1","hashtag2"]},{"1327390340":["hashtag1","hashtag2"]},{"1327390334":["hashtag1","hashtag2"]},{"1327390342":["hashtag1","hashtag2"]},{"1327390336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390344, 1327390338, 1327390340, 1327390334, 1327390342, 1327390336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.28188920021057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:51:22.377061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0003.jpg', '/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0000.jpg', '/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0001.jpg', '/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/50/image_08012025_04_50_02_570042_0003.jpg
/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0000.jpg
/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0001.jpg
/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390385","1327390387","1327390381","1327390383"],"photo_ids_order":["1327390381","1327390383","1327390385","1327390387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1a252b5fee1b48abf374664fef03379.jpg","text":"TemporaryFile(/tmp/multipartBody2740487534307785984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308352596,"filename":"image_08012025_04_51_02_239916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95a22e76e2a973065816873a2f85b22a.jpg","text":"TemporaryFile(/tmp/multipartBody6098237269782027531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308352596,"filename":"image_08012025_04_51_02_239916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/130d26e197549f5888de9482e2dbab52.jpg","text":"TemporaryFile(/tmp/multipartBody1307411052672798130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308352596,"filename":"image_08012025_04_50_02_570042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a3106948709762da93e3680bb3ba707.jpg","text":"TemporaryFile(/tmp/multipartBody1172293949290869693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308352596,"filename":"image_08012025_04_51_02_239916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390385","file1":"1327390383","file0":"1327390381","file3":"1327390387"},"map_files_photo_id_array":[{"photo_id":"1327390385","filename":"file2"},{"photo_id":"1327390383","filename":"file1"},{"photo_id":"1327390381","filename":"file0"},{"photo_id":"1327390387","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390385":["hashtag1","hashtag2"]},{"1327390387":["hashtag1","hashtag2"]},{"1327390381":["hashtag1","hashtag2"]},{"1327390383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390385, 1327390387, 1327390381, 1327390383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.174290895462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:52:21.883527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0003.jpg', '/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0000.jpg', '/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/51/image_08012025_04_51_02_239916_0003.jpg
/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0000.jpg
/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390437","1327390439","1327390398"],"photo_ids_order":["1327390398","1327390437","1327390439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10faa6990ae4f6482ff1d889381f99d9.jpg","text":"TemporaryFile(/tmp/multipartBody9033600190712161103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308409733,"filename":"image_08012025_04_52_02_760397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abf3b7a877fd0157266265a37a05c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6593763878361255615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308409733,"filename":"image_08012025_04_52_02_760397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b7845fa5ad2fdb98cab531d25662c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7576103698453440796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308409733,"filename":"image_08012025_04_51_02_239916_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390439","file1":"1327390437","file0":"1327390398"},"map_files_photo_id_array":[{"photo_id":"1327390439","filename":"file2"},{"photo_id":"1327390437","filename":"file1"},{"photo_id":"1327390398","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390437":["hashtag1","hashtag2"]},{"1327390439":["hashtag1","hashtag2"]},{"1327390398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390437, 1327390439, 1327390398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.663485527038574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:53:03.003920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:53:22.357734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0003.jpg', '/home/pi/Desktop/images/08012025/04/53/image_08012025_04_53_02_263211_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/52/image_08012025_04_52_02_760397_0003.jpg
/home/pi/Desktop/images/08012025/04/53/image_08012025_04_53_02_263211_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390520","1327390519"],"photo_ids_order":["1327390519","1327390520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02c177074332ea78a6f5d62eeb6b63b6.jpg","text":"TemporaryFile(/tmp/multipartBody7370328560103169594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308467785,"filename":"image_08012025_04_53_02_263211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42ba12d8dbf8c57acc80265158f226e3.jpg","text":"TemporaryFile(/tmp/multipartBody7911721892395424324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308467785,"filename":"image_08012025_04_52_02_760397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327390520","file0":"1327390519"},"map_files_photo_id_array":[{"photo_id":"1327390520","filename":"file1"},{"photo_id":"1327390519","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390520":["hashtag1","hashtag2"]},{"1327390519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390520, 1327390519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.837899923324585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:54:02.692533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:54:22.175695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/53/image_08012025_04_53_02_263211_0003.jpg', '/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0000.jpg', '/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/53/image_08012025_04_53_02_263211_0003.jpg
/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0000.jpg
/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390595","1327390601","1327390596"],"photo_ids_order":["1327390595","1327390596","1327390601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/999fda144d8c9df5f3f87d461d8b246b.jpg","text":"TemporaryFile(/tmp/multipartBody8326526334506617464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308529998,"filename":"image_08012025_04_53_02_263211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c000dc8b9841921092025f6ec84cabd.jpg","text":"TemporaryFile(/tmp/multipartBody7734511073852806534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308529998,"filename":"image_08012025_04_54_02_795752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd8b3c449ca86e8feac3ae05da4e2ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2463354759963923902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308529998,"filename":"image_08012025_04_54_02_795752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390601","file1":"1327390596","file0":"1327390595"},"map_files_photo_id_array":[{"photo_id":"1327390601","filename":"file2"},{"photo_id":"1327390596","filename":"file1"},{"photo_id":"1327390595","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390595":["hashtag1","hashtag2"]},{"1327390601":["hashtag1","hashtag2"]},{"1327390596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390595, 1327390601, 1327390596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.037346601486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:55:03.109673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:55:22.633874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0003.jpg', '/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0000.jpg', '/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0001.jpg', '/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/54/image_08012025_04_54_02_795752_0003.jpg
/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0000.jpg
/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0001.jpg
/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390635","1327390637","1327390631","1327390633"],"photo_ids_order":["1327390631","1327390633","1327390635","1327390637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c70462403e8bfc6063ce491425c8e00.jpg","text":"TemporaryFile(/tmp/multipartBody7558404758530518682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308592833,"filename":"image_08012025_04_55_02_537041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa2cfdb2ed9e804f031df976cc3f53e6.jpg","text":"TemporaryFile(/tmp/multipartBody7245244039003046576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308592833,"filename":"image_08012025_04_55_02_537041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaad9d1a9b45963ca9701ff5fc903a89.jpg","text":"TemporaryFile(/tmp/multipartBody7749924544905772932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308592833,"filename":"image_08012025_04_54_02_795752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2720787b47a5aad700b0a2e57ef13d7b.jpg","text":"TemporaryFile(/tmp/multipartBody5640534531920910625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308592833,"filename":"image_08012025_04_55_02_537041_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390635","file1":"1327390633","file0":"1327390631","file3":"1327390637"},"map_files_photo_id_array":[{"photo_id":"1327390635","filename":"file2"},{"photo_id":"1327390633","filename":"file1"},{"photo_id":"1327390631","filename":"file0"},{"photo_id":"1327390637","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390635":["hashtag1","hashtag2"]},{"1327390637":["hashtag1","hashtag2"]},{"1327390631":["hashtag1","hashtag2"]},{"1327390633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390635, 1327390637, 1327390631, 1327390633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.53834939002991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 04:56:22.263345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0003.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0000.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0001.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0003.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0000.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0001.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.801692962646484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:57:02.492605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0003.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0000.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0001.jpg', '/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/55/image_08012025_04_55_02_537041_0003.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0000.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0001.jpg
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390769","1327390795","1327390798","1327390665"],"photo_ids_order":["1327390665","1327390769","1327390795","1327390798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11a8fe8ccf87ab014dad8aab536d5faa.jpg","text":"TemporaryFile(/tmp/multipartBody8525962061084211069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308692776,"filename":"image_08012025_04_56_03_008496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0169003b8a8b68da58c1c9c089c208b.jpg","text":"TemporaryFile(/tmp/multipartBody2032396052603173268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308692776,"filename":"image_08012025_04_56_03_008496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/742ef30edb7f2e50c755af3a729a7817.jpg","text":"TemporaryFile(/tmp/multipartBody4341553568479452738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308692776,"filename":"image_08012025_04_56_03_008496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d70df0f1a55df9418d0f196c12d77d7.jpg","text":"TemporaryFile(/tmp/multipartBody6551826496092751879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308692776,"filename":"image_08012025_04_55_02_537041_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390795","file1":"1327390769","file0":"1327390665","file3":"1327390798"},"map_files_photo_id_array":[{"photo_id":"1327390795","filename":"file2"},{"photo_id":"1327390769","filename":"file1"},{"photo_id":"1327390665","filename":"file0"},{"photo_id":"1327390798","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390769":["hashtag1","hashtag2"]},{"1327390795":["hashtag1","hashtag2"]},{"1327390798":["hashtag1","hashtag2"]},{"1327390665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390769, 1327390795, 1327390798, 1327390665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8859007358551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 04:59:03.266736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0003.jpg', '/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0000.jpg', '/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0001.jpg', '/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0002.jpg', '/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0003.jpg', '/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/56/image_08012025_04_56_03_008496_0003.jpg
/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0000.jpg
/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0001.jpg
/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0002.jpg
/home/pi/Desktop/images/08012025/04/57/image_08012025_04_57_02_669614_0003.jpg
/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390833","1327390841","1327390829","1327390840","1327390822","1327390839"],"photo_ids_order":["1327390822","1327390829","1327390833","1327390839","1327390840","1327390841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9456e39d77cbb0068dbca11751e0db84.jpg","text":"TemporaryFile(/tmp/multipartBody278161485364255772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_57_02_669614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6b8a0b3680f939d981d3d85c32e2d77.jpg","text":"TemporaryFile(/tmp/multipartBody8559322045204512871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_58_02_220991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5aafe0017bfdc3d456099f94362ba227.jpg","text":"TemporaryFile(/tmp/multipartBody2271010440453440579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_57_02_669614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0443e5d3a03f10d028070afa4953f48d.jpg","text":"TemporaryFile(/tmp/multipartBody393933809781253873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_57_02_669614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9408bf805fa9944d2c5008464ff77dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8473254378561299892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_56_03_008496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16a72a250742d4903d01cccebdc7e054.jpg","text":"TemporaryFile(/tmp/multipartBody6323368291582557979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308818308,"filename":"image_08012025_04_57_02_669614_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390833","file1":"1327390829","file0":"1327390822","file4":"1327390840","file5":"1327390841","file3":"1327390839"},"map_files_photo_id_array":[{"photo_id":"1327390841","filename":"file5"},{"photo_id":"1327390833","filename":"file2"},{"photo_id":"1327390840","filename":"file4"},{"photo_id":"1327390829","filename":"file1"},{"photo_id":"1327390822","filename":"file0"},{"photo_id":"1327390839","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390833":["hashtag1","hashtag2"]},{"1327390841":["hashtag1","hashtag2"]},{"1327390829":["hashtag1","hashtag2"]},{"1327390840":["hashtag1","hashtag2"]},{"1327390822":["hashtag1","hashtag2"]},{"1327390839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390833, 1327390841, 1327390829, 1327390840, 1327390822, 1327390839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85386872291565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:00:02.685388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0001.jpg', '/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0002.jpg', '/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0003.jpg', '/home/pi/Desktop/images/08012025/04/59/image_08012025_04_59_02_920767_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0001.jpg
/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0002.jpg
/home/pi/Desktop/images/08012025/04/58/image_08012025_04_58_02_220991_0003.jpg
/home/pi/Desktop/images/08012025/04/59/image_08012025_04_59_02_920767_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390917","1327390868","1327390864","1327390860"],"photo_ids_order":["1327390860","1327390864","1327390868","1327390917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a39cfe6bd114368a022adb360543f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7790878387726957828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308872953,"filename":"image_08012025_04_59_02_920767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53dbc71b971af0a3d2f60e468744cd61.jpg","text":"TemporaryFile(/tmp/multipartBody6472313885584049113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308872953,"filename":"image_08012025_04_58_02_220991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7854d589c550ff648e3fec6af7e63e82.jpg","text":"TemporaryFile(/tmp/multipartBody2405307327984395913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308872953,"filename":"image_08012025_04_58_02_220991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4caad5d782692cda62cf7fcb28d5f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody1823554282305214101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308872953,"filename":"image_08012025_04_58_02_220991_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390868","file1":"1327390864","file0":"1327390860","file3":"1327390917"},"map_files_photo_id_array":[{"photo_id":"1327390868","filename":"file2"},{"photo_id":"1327390864","filename":"file1"},{"photo_id":"1327390860","filename":"file0"},{"photo_id":"1327390917","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390917":["hashtag1","hashtag2"]},{"1327390868":["hashtag1","hashtag2"]},{"1327390864":["hashtag1","hashtag2"]},{"1327390860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390917, 1327390868, 1327390864, 1327390860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10383176803589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:01:02.273824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/04/59/image_08012025_04_59_02_920767_0002.jpg', '/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0000.jpg', '/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/04/59/image_08012025_04_59_02_920767_0002.jpg
/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0000.jpg
/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390929","1327390930","1327390927"],"photo_ids_order":["1327390927","1327390929","1327390930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/348a188a4089829d9723f8586f6868d0.jpg","text":"TemporaryFile(/tmp/multipartBody4690082177751302821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308930134,"filename":"image_08012025_05_00_02_973745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/935d7e501f986165ae5d07ec1a9f5bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8553751942319174655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308930134,"filename":"image_08012025_05_00_02_973745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73b777cff948ac919302c3081d95ca9f.jpg","text":"TemporaryFile(/tmp/multipartBody432316077653186849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308930134,"filename":"image_08012025_04_59_02_920767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390930","file1":"1327390929","file0":"1327390927"},"map_files_photo_id_array":[{"photo_id":"1327390930","filename":"file2"},{"photo_id":"1327390929","filename":"file1"},{"photo_id":"1327390927","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390929":["hashtag1","hashtag2"]},{"1327390930":["hashtag1","hashtag2"]},{"1327390927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390929, 1327390930, 1327390927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.33567023277283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:02:02.761274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0002.jpg', '/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0001.jpg', '/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/00/image_08012025_05_00_02_973745_0002.jpg
/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0001.jpg
/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327390967","1327390955","1327390943"],"photo_ids_order":["1327390943","1327390955","1327390967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae1780a2df61f75dc74f06b8254b0139.jpg","text":"TemporaryFile(/tmp/multipartBody5380203359704833274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308990609,"filename":"image_08012025_05_01_02_609877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b73dbe5e37cd3eb877ea2c2321ab1070.jpg","text":"TemporaryFile(/tmp/multipartBody7794863413215264210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308990609,"filename":"image_08012025_05_01_02_609877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e25a8ac54d934ced2452825fd5fdd51c.jpg","text":"TemporaryFile(/tmp/multipartBody6577149862339122022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736308990609,"filename":"image_08012025_05_00_02_973745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327390967","file1":"1327390955","file0":"1327390943"},"map_files_photo_id_array":[{"photo_id":"1327390967","filename":"file2"},{"photo_id":"1327390955","filename":"file1"},{"photo_id":"1327390943","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327390967":["hashtag1","hashtag2"]},{"1327390955":["hashtag1","hashtag2"]},{"1327390943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327390967, 1327390955, 1327390943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.63125729560852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:03:02.331370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0003.jpg', '/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0000.jpg', '/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0003.jpg
/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0000.jpg
/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_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.475207328796387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:03:21.835491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0003.jpg', '/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0000.jpg', '/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0001.jpg', '/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0003.jpg', '/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0000.jpg', '/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/01/image_08012025_05_01_02_609877_0003.jpg
/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0000.jpg
/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0001.jpg
/home/pi/Desktop/images/08012025/05/02/image_08012025_05_02_02_123465_0003.jpg
/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0000.jpg
/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327392874","1327393521","1327393550","1327393451","1327393175","1327392612"],"photo_ids_order":["1327392612","1327392874","1327393175","1327393451","1327393521","1327393550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31726310eb9872179e5e4d045a51e600.jpg","text":"TemporaryFile(/tmp/multipartBody8980318827130285226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_02_02_123465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3bfd126352c4dffeccd75e77b6de462.jpg","text":"TemporaryFile(/tmp/multipartBody8883347072334505222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_03_02_780063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c165dd2939c1d0e6e5b328b9b32438b9.jpg","text":"TemporaryFile(/tmp/multipartBody6078850007022966715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_03_02_780063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5d70cf82ea23ece7c5a400506afbbe2.jpg","text":"TemporaryFile(/tmp/multipartBody2997194781489230031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_02_02_123465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3eb8ff8988126b57dae8e37e36e769f.jpg","text":"TemporaryFile(/tmp/multipartBody4003939258717474621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_02_02_123465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/563d25212f3e5710f723b3c6642232c1.jpg","text":"TemporaryFile(/tmp/multipartBody6611399825707773728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309076651,"filename":"image_08012025_05_01_02_609877_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327393175","file1":"1327392874","file0":"1327392612","file4":"1327393521","file5":"1327393550","file3":"1327393451"},"map_files_photo_id_array":[{"photo_id":"1327393550","filename":"file5"},{"photo_id":"1327393175","filename":"file2"},{"photo_id":"1327393521","filename":"file4"},{"photo_id":"1327392874","filename":"file1"},{"photo_id":"1327392612","filename":"file0"},{"photo_id":"1327393451","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327392874":["hashtag1","hashtag2"]},{"1327393521":["hashtag1","hashtag2"]},{"1327393550":["hashtag1","hashtag2"]},{"1327393451":["hashtag1","hashtag2"]},{"1327393175":["hashtag1","hashtag2"]},{"1327392612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327392874, 1327393521, 1327393550, 1327393451, 1327393175, 1327392612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26710867881775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:04:22.563049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0002.jpg', '/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0003.jpg', '/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0000.jpg', '/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0001.jpg', '/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0002.jpg
/home/pi/Desktop/images/08012025/05/03/image_08012025_05_03_02_780063_0003.jpg
/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0000.jpg
/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0001.jpg
/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327393581","1327393906","1327393602","1327393649","1327393583"],"photo_ids_order":["1327393581","1327393583","1327393602","1327393649","1327393906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b7aef9db207a3b503b560806a4b4821.jpg","text":"TemporaryFile(/tmp/multipartBody1434554541481507419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309134967,"filename":"image_08012025_05_03_02_780063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3291ebd76406f45862b9b61fedbf92e.jpg","text":"TemporaryFile(/tmp/multipartBody8200329737120036767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309134967,"filename":"image_08012025_05_04_02_265850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc3387cc7105f98242e8b738dbcdc5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3621476912896709571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309134967,"filename":"image_08012025_05_04_02_265850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32c25d8241ad7eaa12e2749bd9d4263c.jpg","text":"TemporaryFile(/tmp/multipartBody2604346170721798354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309134967,"filename":"image_08012025_05_04_02_265850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/838bd9c4b2c967d31ac3c3168c4a962c.jpg","text":"TemporaryFile(/tmp/multipartBody7673258968391220425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309134967,"filename":"image_08012025_05_03_02_780063_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327393602","file1":"1327393583","file0":"1327393581","file4":"1327393906","file3":"1327393649"},"map_files_photo_id_array":[{"photo_id":"1327393602","filename":"file2"},{"photo_id":"1327393906","filename":"file4"},{"photo_id":"1327393583","filename":"file1"},{"photo_id":"1327393581","filename":"file0"},{"photo_id":"1327393649","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327393581":["hashtag1","hashtag2"]},{"1327393906":["hashtag1","hashtag2"]},{"1327393602":["hashtag1","hashtag2"]},{"1327393649":["hashtag1","hashtag2"]},{"1327393583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327393581, 1327393906, 1327393602, 1327393649, 1327393583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.026357650756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:05:22.104892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0003.jpg', '/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0000.jpg', '/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0001.jpg', '/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/04/image_08012025_05_04_02_265850_0003.jpg
/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0000.jpg
/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0001.jpg
/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327394498","1327395091","1327394794","1327395372"],"photo_ids_order":["1327394498","1327394794","1327395091","1327395372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b796acdfc1b2ebd65e5acc2f7f23ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody6364518299989901105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309192356,"filename":"image_08012025_05_04_02_265850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdaaf29bbff30b0eab9a6865e41e3f9d.jpg","text":"TemporaryFile(/tmp/multipartBody760291905379877097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309192356,"filename":"image_08012025_05_05_02_957108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce1156cca4017975685059ae86bce25b.jpg","text":"TemporaryFile(/tmp/multipartBody909565514564530312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309192356,"filename":"image_08012025_05_05_02_957108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1250babf1d5f5065686eeafa7bd3f06.jpg","text":"TemporaryFile(/tmp/multipartBody2329611059550751884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309192356,"filename":"image_08012025_05_05_02_957108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327395091","file1":"1327394794","file0":"1327394498","file3":"1327395372"},"map_files_photo_id_array":[{"photo_id":"1327395091","filename":"file2"},{"photo_id":"1327394794","filename":"file1"},{"photo_id":"1327394498","filename":"file0"},{"photo_id":"1327395372","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327394498":["hashtag1","hashtag2"]},{"1327395091":["hashtag1","hashtag2"]},{"1327394794":["hashtag1","hashtag2"]},{"1327395372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327394498, 1327395091, 1327394794, 1327395372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83062529563904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:06:03.104830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:06:22.732798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:07:02.708241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:07:22.157808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0003.jpg', '/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0001.jpg', '/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/05/image_08012025_05_05_02_957108_0003.jpg
/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0001.jpg
/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396125","1327396464","1327396204"],"photo_ids_order":["1327396125","1327396204","1327396464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/988dbfbcda7ecff1a18349988e902974.jpg","text":"TemporaryFile(/tmp/multipartBody4166539800254454159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309309853,"filename":"image_08012025_05_05_02_957108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4b4e616eff00d2e982a7b4b47cdf7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5720312633721556399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309309853,"filename":"image_08012025_05_07_03_064057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/507052d044423d524491b4d7d23d928b.jpg","text":"TemporaryFile(/tmp/multipartBody4691463215357427088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309309853,"filename":"image_08012025_05_07_03_064057_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396464","file1":"1327396204","file0":"1327396125"},"map_files_photo_id_array":[{"photo_id":"1327396464","filename":"file2"},{"photo_id":"1327396204","filename":"file1"},{"photo_id":"1327396125","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396125":["hashtag1","hashtag2"]},{"1327396464":["hashtag1","hashtag2"]},{"1327396204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396125, 1327396464, 1327396204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.52655363082886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:08:02.308610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:08:21.851884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0003.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0000.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0001.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0003.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0000.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0001.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.61867070198059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:09:03.011920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0003.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0000.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0001.jpg', '/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/07/image_08012025_05_07_03_064057_0003.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0000.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0001.jpg
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396655","1327396658","1327396654","1327396657"],"photo_ids_order":["1327396654","1327396655","1327396657","1327396658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2b31d989996e072dba9ae1c392431ed.jpg","text":"TemporaryFile(/tmp/multipartBody1662034154183926890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309413072,"filename":"image_08012025_05_08_02_594389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f2dc76a543496a80d32b3b3658279aa.jpg","text":"TemporaryFile(/tmp/multipartBody4959272896019949864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309413072,"filename":"image_08012025_05_08_02_594389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/902901cff07712d6cbf9859008c87093.jpg","text":"TemporaryFile(/tmp/multipartBody1435938586168360465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309413072,"filename":"image_08012025_05_07_03_064057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/edc7c33f54443ad3eb2870745bb13a05.jpg","text":"TemporaryFile(/tmp/multipartBody7167859683018550098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309413072,"filename":"image_08012025_05_08_02_594389_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396657","file1":"1327396655","file0":"1327396654","file3":"1327396658"},"map_files_photo_id_array":[{"photo_id":"1327396657","filename":"file2"},{"photo_id":"1327396655","filename":"file1"},{"photo_id":"1327396654","filename":"file0"},{"photo_id":"1327396658","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396655":["hashtag1","hashtag2"]},{"1327396658":["hashtag1","hashtag2"]},{"1327396654":["hashtag1","hashtag2"]},{"1327396657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396655, 1327396658, 1327396654, 1327396657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.913777589797974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:10:02.563037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0003.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0000.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0001.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0003.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0000.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0001.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.755720138549805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:10:22.109216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0003.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0000.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0001.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0002.jpg', '/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0003.jpg', '/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/08/image_08012025_05_08_02_594389_0003.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0000.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0001.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0002.jpg
/home/pi/Desktop/images/08012025/05/09/image_08012025_05_09_02_250711_0003.jpg
/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396679","1327396718","1327396733","1327396681","1327396729","1327396731"],"photo_ids_order":["1327396679","1327396681","1327396718","1327396729","1327396731","1327396733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dcc8e8b909ecce58899f5e05fa3ed593.jpg","text":"TemporaryFile(/tmp/multipartBody7509412995567728231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_08_02_594389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d999cb1a7ea810137e5724c7238b68f.jpg","text":"TemporaryFile(/tmp/multipartBody4195928873871175486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_09_02_250711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ef023f6b5245bb9732d31dae00251b3.jpg","text":"TemporaryFile(/tmp/multipartBody7420088822915331081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_10_02_817609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4b7067336356ae642a1e6d2cbc94ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7990124048755012291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_09_02_250711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/449ef8f31b604b6bc6d93cfbc37cfc85.jpg","text":"TemporaryFile(/tmp/multipartBody585797606840134491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_09_02_250711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/480c889d6865af7638377c46ad98637d.jpg","text":"TemporaryFile(/tmp/multipartBody8106728130130913801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309497000,"filename":"image_08012025_05_09_02_250711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396718","file1":"1327396681","file0":"1327396679","file4":"1327396731","file5":"1327396733","file3":"1327396729"},"map_files_photo_id_array":[{"photo_id":"1327396733","filename":"file5"},{"photo_id":"1327396718","filename":"file2"},{"photo_id":"1327396731","filename":"file4"},{"photo_id":"1327396681","filename":"file1"},{"photo_id":"1327396679","filename":"file0"},{"photo_id":"1327396729","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396679":["hashtag1","hashtag2"]},{"1327396718":["hashtag1","hashtag2"]},{"1327396733":["hashtag1","hashtag2"]},{"1327396681":["hashtag1","hashtag2"]},{"1327396729":["hashtag1","hashtag2"]},{"1327396731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396679, 1327396718, 1327396733, 1327396681, 1327396729, 1327396731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.683753967285156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:11:22.633400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0002.jpg', '/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0003.jpg', '/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0000.jpg', '/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0001.jpg', '/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0002.jpg
/home/pi/Desktop/images/08012025/05/10/image_08012025_05_10_02_817609_0003.jpg
/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0000.jpg
/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0001.jpg
/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_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":["1327396740","1327396742","1327396744","1327396738","1327396746"],"photo_ids_order":["1327396738","1327396740","1327396742","1327396744","1327396746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a456bd7402a5d1223a25179c8c84a19f.jpg","text":"TemporaryFile(/tmp/multipartBody851835651954187049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309555168,"filename":"image_08012025_05_10_02_817609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99fa01faaebe7ba4d7bfa62607fdf350.jpg","text":"TemporaryFile(/tmp/multipartBody6615726745194264304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309555168,"filename":"image_08012025_05_11_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/8/45080bd35ec1528b6a8118a3f1ea17ea.jpg","text":"TemporaryFile(/tmp/multipartBody4344413371971122625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309555168,"filename":"image_08012025_05_11_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/8/9ecc8ca1024e4e3692dc6520447435af.jpg","text":"TemporaryFile(/tmp/multipartBody481634075038225199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309555168,"filename":"image_08012025_05_10_02_817609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d54844c4aeebb3957b09a7c7aee3521.jpg","text":"TemporaryFile(/tmp/multipartBody3471749383078475366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309555168,"filename":"image_08012025_05_11_02_518841_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396742","file1":"1327396740","file0":"1327396738","file4":"1327396746","file3":"1327396744"},"map_files_photo_id_array":[{"photo_id":"1327396742","filename":"file2"},{"photo_id":"1327396746","filename":"file4"},{"photo_id":"1327396740","filename":"file1"},{"photo_id":"1327396738","filename":"file0"},{"photo_id":"1327396744","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396740":["hashtag1","hashtag2"]},{"1327396742":["hashtag1","hashtag2"]},{"1327396744":["hashtag1","hashtag2"]},{"1327396738":["hashtag1","hashtag2"]},{"1327396746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396740, 1327396742, 1327396744, 1327396738, 1327396746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.420539140701294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:12:22.155335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0003.jpg', '/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0000.jpg', '/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0001.jpg', '/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/11/image_08012025_05_11_02_518841_0003.jpg
/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0000.jpg
/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0001.jpg
/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396749","1327396751","1327396754","1327396763"],"photo_ids_order":["1327396749","1327396751","1327396754","1327396763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecfa334e5a7498f76cf0fedc4a6edf03.jpg","text":"TemporaryFile(/tmp/multipartBody4735590638166390358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309612305,"filename":"image_08012025_05_11_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/8/a5be53ba3ba88bb67bf590a21527b636.jpg","text":"TemporaryFile(/tmp/multipartBody6596370205789136896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309612305,"filename":"image_08012025_05_12_03_006608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a886bdabb990623e1667ea058a0c9a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2089082925840436076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309612305,"filename":"image_08012025_05_12_03_006608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b1c2364489403636bc18fcddb50be37.jpg","text":"TemporaryFile(/tmp/multipartBody8676030123728042668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309612305,"filename":"image_08012025_05_12_03_006608_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396754","file1":"1327396751","file0":"1327396749","file3":"1327396763"},"map_files_photo_id_array":[{"photo_id":"1327396754","filename":"file2"},{"photo_id":"1327396751","filename":"file1"},{"photo_id":"1327396749","filename":"file0"},{"photo_id":"1327396763","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396749":["hashtag1","hashtag2"]},{"1327396751":["hashtag1","hashtag2"]},{"1327396754":["hashtag1","hashtag2"]},{"1327396763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396749, 1327396751, 1327396754, 1327396763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34930729866028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:13:22.681123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0003.jpg', '/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0000.jpg', '/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0001.jpg', '/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/12/image_08012025_05_12_03_006608_0003.jpg
/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0000.jpg
/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0001.jpg
/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396812","1327396814","1327396816","1327396818"],"photo_ids_order":["1327396812","1327396814","1327396816","1327396818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/158847d2c049026f7e0e06351fb25c80.jpg","text":"TemporaryFile(/tmp/multipartBody187342586791865405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309672863,"filename":"image_08012025_05_12_03_006608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb303e714f7a7b82c5fa9d9fccbf6272.jpg","text":"TemporaryFile(/tmp/multipartBody3260031180876081431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309672863,"filename":"image_08012025_05_13_02_507970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f83142c73a3cb95cee03e5a483af8ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5462901825764905950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309672863,"filename":"image_08012025_05_13_02_507970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a038ebab1940a66b44a8d374952ea82.jpg","text":"TemporaryFile(/tmp/multipartBody4223027770326865641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309672863,"filename":"image_08012025_05_13_02_507970_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396816","file1":"1327396814","file0":"1327396812","file3":"1327396818"},"map_files_photo_id_array":[{"photo_id":"1327396816","filename":"file2"},{"photo_id":"1327396814","filename":"file1"},{"photo_id":"1327396812","filename":"file0"},{"photo_id":"1327396818","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396812":["hashtag1","hashtag2"]},{"1327396814":["hashtag1","hashtag2"]},{"1327396816":["hashtag1","hashtag2"]},{"1327396818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396812, 1327396814, 1327396816, 1327396818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74818134307861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:14:02.625527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:14:22.248733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0003.jpg', '/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0000.jpg', '/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0001.jpg', '/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/13/image_08012025_05_13_02_507970_0003.jpg
/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0000.jpg
/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0001.jpg
/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396833","1327396835","1327396831","1327396837"],"photo_ids_order":["1327396831","1327396833","1327396835","1327396837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8b9fecc6024850f1055ed1904ae2b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4754136804609120202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309732477,"filename":"image_08012025_05_14_03_071831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/070063fad5d0cb0ce99a18345ed12e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7356293908794649258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309732477,"filename":"image_08012025_05_14_03_071831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a52318a89d22a6c77f79be8927573ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2205635669921967692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309732477,"filename":"image_08012025_05_13_02_507970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38a4e8a41200c858f6f6e32ae15d2d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1842513491267274486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309732477,"filename":"image_08012025_05_14_03_071831_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396835","file1":"1327396833","file0":"1327396831","file3":"1327396837"},"map_files_photo_id_array":[{"photo_id":"1327396835","filename":"file2"},{"photo_id":"1327396833","filename":"file1"},{"photo_id":"1327396831","filename":"file0"},{"photo_id":"1327396837","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396833":["hashtag1","hashtag2"]},{"1327396835":["hashtag1","hashtag2"]},{"1327396831":["hashtag1","hashtag2"]},{"1327396837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396833, 1327396835, 1327396831, 1327396837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.823102712631226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:15:22.703496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0003.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0000.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0001.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0003.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0000.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0001.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.589548587799072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:16:02.663138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0003.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0000.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0001.jpg', '/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/14/image_08012025_05_14_03_071831_0003.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0000.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0001.jpg
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396861","1327396860","1327396857","1327396851"],"photo_ids_order":["1327396851","1327396857","1327396860","1327396861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0fcac9eb1b3fffb5e326373f886d992b.jpg","text":"TemporaryFile(/tmp/multipartBody854929712418385999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309832688,"filename":"image_08012025_05_15_02_568452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de6e4450b1ccaf9e1ef21bdd4f29bca5.jpg","text":"TemporaryFile(/tmp/multipartBody1039507925218011528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309832688,"filename":"image_08012025_05_15_02_568452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f22ff86c013d15c8c483e5660d1faa6b.jpg","text":"TemporaryFile(/tmp/multipartBody4475104195665987920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309832688,"filename":"image_08012025_05_15_02_568452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4bbc1a6fdcfb8fcb672f2feed538f09f.jpg","text":"TemporaryFile(/tmp/multipartBody6082404214220962726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309832688,"filename":"image_08012025_05_14_03_071831_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396860","file1":"1327396857","file0":"1327396851","file3":"1327396861"},"map_files_photo_id_array":[{"photo_id":"1327396860","filename":"file2"},{"photo_id":"1327396857","filename":"file1"},{"photo_id":"1327396851","filename":"file0"},{"photo_id":"1327396861","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396861":["hashtag1","hashtag2"]},{"1327396860":["hashtag1","hashtag2"]},{"1327396857":["hashtag1","hashtag2"]},{"1327396851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396861, 1327396860, 1327396857, 1327396851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52625918388367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:17:03.303610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0003.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0000.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0001.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0003.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0000.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0001.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.788631916046143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:17:22.715432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0003.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0000.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0001.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0002.jpg', '/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0003.jpg', '/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/15/image_08012025_05_15_02_568452_0003.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0000.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0001.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0002.jpg
/home/pi/Desktop/images/08012025/05/16/image_08012025_05_16_03_068613_0003.jpg
/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396914","1327396919","1327396912","1327396921","1327396923","1327396917"],"photo_ids_order":["1327396912","1327396914","1327396917","1327396919","1327396921","1327396923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb20d05b6e2d8cbb8d29658782b8bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody1990933189639808383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_16_03_068613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c1291ae6fd3cf4dea8d2e32bd3c2dd2.jpg","text":"TemporaryFile(/tmp/multipartBody6199956011890226136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_16_03_068613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0eb2a248294576e8ef5cb0fdb5b9478.jpg","text":"TemporaryFile(/tmp/multipartBody7815050631277883805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_15_02_568452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63c0dceba6d2ffe5ec1dea40956c7036.jpg","text":"TemporaryFile(/tmp/multipartBody1296322396759846923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_16_03_068613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3afd581349e5a673a82220ee2d698c61.jpg","text":"TemporaryFile(/tmp/multipartBody3209721526823537928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_17_02_574921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d511d8c9648881bf3ca86d63971a2f71.jpg","text":"TemporaryFile(/tmp/multipartBody1844031774195837276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309917540,"filename":"image_08012025_05_16_03_068613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396917","file1":"1327396914","file0":"1327396912","file4":"1327396921","file5":"1327396923","file3":"1327396919"},"map_files_photo_id_array":[{"photo_id":"1327396923","filename":"file5"},{"photo_id":"1327396917","filename":"file2"},{"photo_id":"1327396921","filename":"file4"},{"photo_id":"1327396914","filename":"file1"},{"photo_id":"1327396912","filename":"file0"},{"photo_id":"1327396919","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396914":["hashtag1","hashtag2"]},{"1327396919":["hashtag1","hashtag2"]},{"1327396912":["hashtag1","hashtag2"]},{"1327396921":["hashtag1","hashtag2"]},{"1327396923":["hashtag1","hashtag2"]},{"1327396917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396914, 1327396919, 1327396912, 1327396921, 1327396923, 1327396917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.16380786895752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:18:22.403129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0001.jpg', '/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0002.jpg', '/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0003.jpg', '/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0000.jpg', '/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0001.jpg', '/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0001.jpg
/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0002.jpg
/home/pi/Desktop/images/08012025/05/17/image_08012025_05_17_02_574921_0003.jpg
/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0000.jpg
/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0001.jpg
/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396931","1327396949","1327396951","1327396924","1327396927","1327396941"],"photo_ids_order":["1327396924","1327396927","1327396931","1327396941","1327396949","1327396951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ca5167b2a5955260892d45dfbf75187.jpg","text":"TemporaryFile(/tmp/multipartBody1166722459573372640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_17_02_574921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45287ec69d79447dcf599edf5bd65660.jpg","text":"TemporaryFile(/tmp/multipartBody1878210431226870078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_18_03_118640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80b1ef8dae209ec5021ade9038665037.jpg","text":"TemporaryFile(/tmp/multipartBody2828299184312487647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_18_03_118640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cd6b74f6d9255cc56bbfd15be876f36.jpg","text":"TemporaryFile(/tmp/multipartBody1331336947517004001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_17_02_574921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a877a9bb93abffd8257032f9e35c0c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1250684445997207756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_17_02_574921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ff7c595cf655040171bc1f44f7947c3.jpg","text":"TemporaryFile(/tmp/multipartBody3908444632965254073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736309977378,"filename":"image_08012025_05_18_03_118640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396931","file1":"1327396927","file0":"1327396924","file4":"1327396949","file5":"1327396951","file3":"1327396941"},"map_files_photo_id_array":[{"photo_id":"1327396951","filename":"file5"},{"photo_id":"1327396931","filename":"file2"},{"photo_id":"1327396949","filename":"file4"},{"photo_id":"1327396927","filename":"file1"},{"photo_id":"1327396924","filename":"file0"},{"photo_id":"1327396941","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396931":["hashtag1","hashtag2"]},{"1327396949":["hashtag1","hashtag2"]},{"1327396951":["hashtag1","hashtag2"]},{"1327396924":["hashtag1","hashtag2"]},{"1327396927":["hashtag1","hashtag2"]},{"1327396941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396931, 1327396949, 1327396951, 1327396924, 1327396927, 1327396941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.194600105285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:19:21.928495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0003.jpg', '/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0000.jpg', '/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0001.jpg', '/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/18/image_08012025_05_18_03_118640_0003.jpg
/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0000.jpg
/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0001.jpg
/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327396994","1327396988","1327396990","1327396992"],"photo_ids_order":["1327396988","1327396990","1327396992","1327396994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8902f4d616249f35f8fef60a3ce939ec.jpg","text":"TemporaryFile(/tmp/multipartBody3061958681350943764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310032138,"filename":"image_08012025_05_19_02_802665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e80264e513bf8b7c40149c35329501bc.jpg","text":"TemporaryFile(/tmp/multipartBody5631384385836702376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310032138,"filename":"image_08012025_05_18_03_118640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2812d5b52297badb5bc53fa39d68c583.jpg","text":"TemporaryFile(/tmp/multipartBody6389049607116298715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310032138,"filename":"image_08012025_05_19_02_802665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/217a385eabf845bcd7bcfc1dc4644e20.jpg","text":"TemporaryFile(/tmp/multipartBody4351369715537831823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310032138,"filename":"image_08012025_05_19_02_802665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327396992","file1":"1327396990","file0":"1327396988","file3":"1327396994"},"map_files_photo_id_array":[{"photo_id":"1327396992","filename":"file2"},{"photo_id":"1327396990","filename":"file1"},{"photo_id":"1327396988","filename":"file0"},{"photo_id":"1327396994","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327396994":["hashtag1","hashtag2"]},{"1327396988":["hashtag1","hashtag2"]},{"1327396990":["hashtag1","hashtag2"]},{"1327396992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327396994, 1327396988, 1327396990, 1327396992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92334032058716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:20:22.471303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0003.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0000.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0001.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0003.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0000.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0001.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.74699354171753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:21:02.614953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0003.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0000.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0001.jpg', '/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/19/image_08012025_05_19_02_802665_0003.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0000.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0001.jpg
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397045","1327397042","1327397041","1327397044"],"photo_ids_order":["1327397041","1327397042","1327397044","1327397045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/972c94567a1a7663d707b05ba28d05a0.jpg","text":"TemporaryFile(/tmp/multipartBody5890590037731736174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310132817,"filename":"image_08012025_05_20_02_322370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68469fc0e8a4e7f3229614c13ad24637.jpg","text":"TemporaryFile(/tmp/multipartBody1772991344892441630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310132817,"filename":"image_08012025_05_20_02_322370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d36227af5f57047cdfb5cf76e520ea23.jpg","text":"TemporaryFile(/tmp/multipartBody1923293589409635272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310132817,"filename":"image_08012025_05_19_02_802665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cec42d7c6d736d781dbcafcf807f5feb.jpg","text":"TemporaryFile(/tmp/multipartBody8045990506062672475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310132817,"filename":"image_08012025_05_20_02_322370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397044","file1":"1327397042","file0":"1327397041","file3":"1327397045"},"map_files_photo_id_array":[{"photo_id":"1327397044","filename":"file2"},{"photo_id":"1327397042","filename":"file1"},{"photo_id":"1327397041","filename":"file0"},{"photo_id":"1327397045","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397045":["hashtag1","hashtag2"]},{"1327397042":["hashtag1","hashtag2"]},{"1327397041":["hashtag1","hashtag2"]},{"1327397044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397045, 1327397042, 1327397041, 1327397044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44971442222595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:22:03.106654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0003.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0000.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0001.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0003.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0000.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0001.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.750623226165771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:22:22.700284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0003.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0000.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0001.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0002.jpg', '/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0003.jpg', '/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/20/image_08012025_05_20_02_322370_0003.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0000.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0001.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0002.jpg
/home/pi/Desktop/images/08012025/05/21/image_08012025_05_21_02_858097_0003.jpg
/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397117","1327397122","1327397131","1327397134","1327397127","1327397115"],"photo_ids_order":["1327397115","1327397117","1327397122","1327397127","1327397131","1327397134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cc55f2e33012d1c1dbe2f790cd9d9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1714679569576892353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_21_02_858097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a5c23ff2a29f5b39b212cc02d75f905.jpg","text":"TemporaryFile(/tmp/multipartBody971490526527198048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_21_02_858097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c56ddf7d2aef77635f390d235eca4657.jpg","text":"TemporaryFile(/tmp/multipartBody3406925510204996488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_21_02_858097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b1b5f48c70d7cd847bcc11a41e539c4.jpg","text":"TemporaryFile(/tmp/multipartBody3394416910336571965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_22_02_414660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3622078d4cd51f1fc646df57fe0d3afc.jpg","text":"TemporaryFile(/tmp/multipartBody159983605784060520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_21_02_858097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/332009fe5ddd43a4c275444391115f08.jpg","text":"TemporaryFile(/tmp/multipartBody5714436948479711064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310217485,"filename":"image_08012025_05_20_02_322370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397122","file1":"1327397117","file0":"1327397115","file4":"1327397131","file5":"1327397134","file3":"1327397127"},"map_files_photo_id_array":[{"photo_id":"1327397134","filename":"file5"},{"photo_id":"1327397122","filename":"file2"},{"photo_id":"1327397131","filename":"file4"},{"photo_id":"1327397117","filename":"file1"},{"photo_id":"1327397115","filename":"file0"},{"photo_id":"1327397127","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397117":["hashtag1","hashtag2"]},{"1327397122":["hashtag1","hashtag2"]},{"1327397131":["hashtag1","hashtag2"]},{"1327397134":["hashtag1","hashtag2"]},{"1327397127":["hashtag1","hashtag2"]},{"1327397115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397117, 1327397122, 1327397131, 1327397134, 1327397127, 1327397115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.091264486312866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:23:22.221584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0001.jpg', '/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0002.jpg', '/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0003.jpg', '/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0000.jpg', '/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0001.jpg', '/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0001.jpg
/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0002.jpg
/home/pi/Desktop/images/08012025/05/22/image_08012025_05_22_02_414660_0003.jpg
/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0000.jpg
/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0001.jpg
/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397318","1327397312","1327397320","1327397314","1327397316","1327397310"],"photo_ids_order":["1327397310","1327397312","1327397314","1327397316","1327397318","1327397320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04995cbfabebb833693b3c2089f56f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3156072866719103527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_23_03_074579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a53aa6113a7b7d662b4f279aa00d588.jpg","text":"TemporaryFile(/tmp/multipartBody1183914400198859517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_22_02_414660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1fc0ff55b34821bae918d66c17eb4e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4643469863824048548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_23_03_074579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98cbf492b3d06fdb41d1701cd0e6ea34.jpg","text":"TemporaryFile(/tmp/multipartBody2770770048758884029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_22_02_414660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/359c04f97c5d8668e1b822dfd882bd0c.jpg","text":"TemporaryFile(/tmp/multipartBody544056875695882579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_23_03_074579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0cdbd840c4a205e3818437a900e9a369.jpg","text":"TemporaryFile(/tmp/multipartBody1836452972051572546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310276662,"filename":"image_08012025_05_22_02_414660_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397314","file1":"1327397312","file0":"1327397310","file4":"1327397318","file5":"1327397320","file3":"1327397316"},"map_files_photo_id_array":[{"photo_id":"1327397320","filename":"file5"},{"photo_id":"1327397314","filename":"file2"},{"photo_id":"1327397318","filename":"file4"},{"photo_id":"1327397312","filename":"file1"},{"photo_id":"1327397310","filename":"file0"},{"photo_id":"1327397316","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397318":["hashtag1","hashtag2"]},{"1327397312":["hashtag1","hashtag2"]},{"1327397320":["hashtag1","hashtag2"]},{"1327397314":["hashtag1","hashtag2"]},{"1327397316":["hashtag1","hashtag2"]},{"1327397310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397318, 1327397312, 1327397320, 1327397314, 1327397316, 1327397310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.087074995040894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:24:22.741400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0003.jpg', '/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0001.jpg', '/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/23/image_08012025_05_23_03_074579_0003.jpg
/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0001.jpg
/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397324","1327397323","1327397326"],"photo_ids_order":["1327397323","1327397324","1327397326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88d9514ea48f537c73114266333cabf1.jpg","text":"TemporaryFile(/tmp/multipartBody715688368344651359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310330468,"filename":"image_08012025_05_24_02_589425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b16c3b93863a6b80ad4190f2236a0bf.jpg","text":"TemporaryFile(/tmp/multipartBody4811069970797038783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310330468,"filename":"image_08012025_05_23_03_074579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d0902d810b99ff285fac1391f0d1571.jpg","text":"TemporaryFile(/tmp/multipartBody5883835020848174242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310330468,"filename":"image_08012025_05_24_02_589425_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397326","file1":"1327397324","file0":"1327397323"},"map_files_photo_id_array":[{"photo_id":"1327397326","filename":"file2"},{"photo_id":"1327397324","filename":"file1"},{"photo_id":"1327397323","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397324":["hashtag1","hashtag2"]},{"1327397323":["hashtag1","hashtag2"]},{"1327397326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397324, 1327397323, 1327397326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.936968088150024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:25:02.700060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:25:22.162966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0003.jpg', '/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0000.jpg', '/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0001.jpg', '/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/24/image_08012025_05_24_02_589425_0003.jpg
/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0000.jpg
/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0001.jpg
/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397354","1327397356","1327397358","1327397352"],"photo_ids_order":["1327397352","1327397354","1327397356","1327397358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03f1c1b7fdf2df4f73be22b5cc0c18dc.jpg","text":"TemporaryFile(/tmp/multipartBody4555557278133312470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310392213,"filename":"image_08012025_05_25_03_074839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84669767a8cd347479f2153eb75801bb.jpg","text":"TemporaryFile(/tmp/multipartBody8625186240023148750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310392213,"filename":"image_08012025_05_25_03_074839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/731a0567588eff21371f3ff626ea576a.jpg","text":"TemporaryFile(/tmp/multipartBody2525591559344133544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310392213,"filename":"image_08012025_05_25_03_074839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d159e20ca0b28e5e136a11fe73e234e0.jpg","text":"TemporaryFile(/tmp/multipartBody6413545605300432876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310392213,"filename":"image_08012025_05_24_02_589425_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397356","file1":"1327397354","file0":"1327397352","file3":"1327397358"},"map_files_photo_id_array":[{"photo_id":"1327397356","filename":"file2"},{"photo_id":"1327397354","filename":"file1"},{"photo_id":"1327397352","filename":"file0"},{"photo_id":"1327397358","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397354":["hashtag1","hashtag2"]},{"1327397356":["hashtag1","hashtag2"]},{"1327397358":["hashtag1","hashtag2"]},{"1327397352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397354, 1327397356, 1327397358, 1327397352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.771318197250366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:26:02.103813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:26:21.794659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0003.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0000.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0001.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0003.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0000.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0001.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.71598482131958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:27:02.978084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0003.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0000.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0001.jpg', '/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/25/image_08012025_05_25_03_074839_0003.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0000.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0001.jpg
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397440","1327397413","1327397437","1327397439"],"photo_ids_order":["1327397413","1327397437","1327397439","1327397440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d047e15bfb258891564dde7cb111553c.jpg","text":"TemporaryFile(/tmp/multipartBody3765838224293590947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310493148,"filename":"image_08012025_05_26_02_605398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab29a44f07f0f1e89887efefc75b4ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3443547800486522025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310493148,"filename":"image_08012025_05_25_03_074839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7956edb775b2247bfe10d8d4a1669f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2913754926878879566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310493148,"filename":"image_08012025_05_26_02_605398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15c6aef7226eb95595628ae7f5b9c03f.jpg","text":"TemporaryFile(/tmp/multipartBody552247656209308567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310493148,"filename":"image_08012025_05_26_02_605398_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397439","file1":"1327397437","file0":"1327397413","file3":"1327397440"},"map_files_photo_id_array":[{"photo_id":"1327397439","filename":"file2"},{"photo_id":"1327397437","filename":"file1"},{"photo_id":"1327397413","filename":"file0"},{"photo_id":"1327397440","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397440":["hashtag1","hashtag2"]},{"1327397413":["hashtag1","hashtag2"]},{"1327397437":["hashtag1","hashtag2"]},{"1327397439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397440, 1327397413, 1327397437, 1327397439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.048137187957764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:28:02.393675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0003.jpg', '/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0000.jpg', '/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0001.jpg', '/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/26/image_08012025_05_26_02_605398_0003.jpg
/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0000.jpg
/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0001.jpg
/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397458","1327397452","1327397460","1327397451"],"photo_ids_order":["1327397451","1327397452","1327397458","1327397460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48901beda1d755cc9097885c13e61fff.jpg","text":"TemporaryFile(/tmp/multipartBody60427855013954670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310552818,"filename":"image_08012025_05_27_02_170068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d48638035c4a8e9ed92547c474bb8045.jpg","text":"TemporaryFile(/tmp/multipartBody6326053676477212923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310552818,"filename":"image_08012025_05_27_02_170068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e57933078b650308b992df9e5df0f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8381810886245925811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310552818,"filename":"image_08012025_05_27_02_170068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/285ff458b215ddd86784d0c744f48668.jpg","text":"TemporaryFile(/tmp/multipartBody1249840038084115345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310552818,"filename":"image_08012025_05_26_02_605398_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397458","file1":"1327397452","file0":"1327397451","file3":"1327397460"},"map_files_photo_id_array":[{"photo_id":"1327397458","filename":"file2"},{"photo_id":"1327397452","filename":"file1"},{"photo_id":"1327397451","filename":"file0"},{"photo_id":"1327397460","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397458":["hashtag1","hashtag2"]},{"1327397452":["hashtag1","hashtag2"]},{"1327397460":["hashtag1","hashtag2"]},{"1327397451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397458, 1327397452, 1327397460, 1327397451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66102480888367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:29:03.161756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0003.jpg', '/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0000.jpg', '/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0003.jpg
/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0000.jpg
/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4453864097595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:29:22.497716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0003.jpg', '/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0000.jpg', '/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0002.jpg', '/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0003.jpg', '/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0000.jpg', '/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/27/image_08012025_05_27_02_170068_0003.jpg
/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0000.jpg
/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0002.jpg
/home/pi/Desktop/images/08012025/05/28/image_08012025_05_28_02_806780_0003.jpg
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0000.jpg
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397534","1327397528","1327397543","1327397537","1327397531","1327397526"],"photo_ids_order":["1327397526","1327397528","1327397531","1327397534","1327397537","1327397543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d9cf9f20f9b7c9b53c65ff012152803.jpg","text":"TemporaryFile(/tmp/multipartBody2723405856445894078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_28_02_806780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c393e0083c514fe95477284c4acb2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2565315875621068176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_28_02_806780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9456e7a790b433943b156c19a17175f8.jpg","text":"TemporaryFile(/tmp/multipartBody6527265956349773492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_29_02_350702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e27fbade244300300e425aded3d6e022.jpg","text":"TemporaryFile(/tmp/multipartBody4744698343980906529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_29_02_350702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2efcb4f2416a100641b2f2ff119a1758.jpg","text":"TemporaryFile(/tmp/multipartBody4064035785272150047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_28_02_806780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83e577e5c8cac9abb168dcc78c647bab.jpg","text":"TemporaryFile(/tmp/multipartBody157640310576031738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310637504,"filename":"image_08012025_05_27_02_170068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397531","file1":"1327397528","file0":"1327397526","file4":"1327397537","file5":"1327397543","file3":"1327397534"},"map_files_photo_id_array":[{"photo_id":"1327397543","filename":"file5"},{"photo_id":"1327397531","filename":"file2"},{"photo_id":"1327397537","filename":"file4"},{"photo_id":"1327397528","filename":"file1"},{"photo_id":"1327397526","filename":"file0"},{"photo_id":"1327397534","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397534":["hashtag1","hashtag2"]},{"1327397528":["hashtag1","hashtag2"]},{"1327397543":["hashtag1","hashtag2"]},{"1327397537":["hashtag1","hashtag2"]},{"1327397531":["hashtag1","hashtag2"]},{"1327397526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397534, 1327397528, 1327397543, 1327397537, 1327397531, 1327397526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.43230628967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:30:22.196618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0002.jpg', '/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0003.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0000.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0001.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0002.jpg
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0003.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0000.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0001.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.18285608291626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:31:03.299119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0002.jpg', '/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0003.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0000.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0001.jpg', '/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0002.jpg
/home/pi/Desktop/images/08012025/05/29/image_08012025_05_29_02_350702_0003.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0000.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0001.jpg
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397573","1327397612","1327397572","1327397608","1327397610"],"photo_ids_order":["1327397572","1327397573","1327397608","1327397610","1327397612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb946c6b4e42094f26bb95dc32e08186.jpg","text":"TemporaryFile(/tmp/multipartBody4171255757562115697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310735944,"filename":"image_08012025_05_29_02_350702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ebad2bcbeb7b868fd9477241d4af547.jpg","text":"TemporaryFile(/tmp/multipartBody8663391285303770040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310735944,"filename":"image_08012025_05_30_02_870664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/310714e9205642deba7233696a7ab542.jpg","text":"TemporaryFile(/tmp/multipartBody1133371778016416150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310735944,"filename":"image_08012025_05_29_02_350702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fccefb18efefdf6ed2036560670dbda8.jpg","text":"TemporaryFile(/tmp/multipartBody5851335015963313878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310735944,"filename":"image_08012025_05_30_02_870664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/217c4f57a43181cc67672a06899b5f06.jpg","text":"TemporaryFile(/tmp/multipartBody8710800694410491589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310735944,"filename":"image_08012025_05_30_02_870664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397608","file1":"1327397573","file0":"1327397572","file4":"1327397612","file3":"1327397610"},"map_files_photo_id_array":[{"photo_id":"1327397608","filename":"file2"},{"photo_id":"1327397612","filename":"file4"},{"photo_id":"1327397573","filename":"file1"},{"photo_id":"1327397572","filename":"file0"},{"photo_id":"1327397610","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397573":["hashtag1","hashtag2"]},{"1327397612":["hashtag1","hashtag2"]},{"1327397572":["hashtag1","hashtag2"]},{"1327397608":["hashtag1","hashtag2"]},{"1327397610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397573, 1327397612, 1327397572, 1327397608, 1327397610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.38977289199829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:32:02.636570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0003.jpg', '/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0000.jpg', '/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0003.jpg
/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0000.jpg
/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.45547342300415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:32:22.221807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0003.jpg', '/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0000.jpg', '/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0002.jpg', '/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0003.jpg', '/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0000.jpg', '/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/30/image_08012025_05_30_02_870664_0003.jpg
/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0000.jpg
/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0002.jpg
/home/pi/Desktop/images/08012025/05/31/image_08012025_05_31_02_615640_0003.jpg
/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0000.jpg
/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397630","1327397624","1327397626","1327397640","1327397622","1327397628"],"photo_ids_order":["1327397622","1327397624","1327397626","1327397628","1327397630","1327397640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9efecce53f326d7f558d887db52d3bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1558083800016654458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_32_03_116386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13b414952da73f326a1ab55dea9246b4.jpg","text":"TemporaryFile(/tmp/multipartBody389530520973333947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_31_02_615640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e9d86f2b87074479fdd53e0e0a3f193.jpg","text":"TemporaryFile(/tmp/multipartBody1464714734816402677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_31_02_615640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c41d7a4e7003711d189a0f25700f8dc.jpg","text":"TemporaryFile(/tmp/multipartBody4705476365039591701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_32_03_116386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b999814dac76064a8e3be97e5591eff.jpg","text":"TemporaryFile(/tmp/multipartBody5598900602293399416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_30_02_870664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c38a4aa66c0f606edb3660d7c5fbd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3088283323532290282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310817268,"filename":"image_08012025_05_31_02_615640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397626","file1":"1327397624","file0":"1327397622","file4":"1327397630","file5":"1327397640","file3":"1327397628"},"map_files_photo_id_array":[{"photo_id":"1327397640","filename":"file5"},{"photo_id":"1327397626","filename":"file2"},{"photo_id":"1327397630","filename":"file4"},{"photo_id":"1327397624","filename":"file1"},{"photo_id":"1327397622","filename":"file0"},{"photo_id":"1327397628","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397630":["hashtag1","hashtag2"]},{"1327397624":["hashtag1","hashtag2"]},{"1327397626":["hashtag1","hashtag2"]},{"1327397640":["hashtag1","hashtag2"]},{"1327397622":["hashtag1","hashtag2"]},{"1327397628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397630, 1327397624, 1327397626, 1327397640, 1327397622, 1327397628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.554672956466675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:33:21.773437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0002.jpg', '/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0003.jpg', '/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0000.jpg', '/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0001.jpg', '/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0002.jpg
/home/pi/Desktop/images/08012025/05/32/image_08012025_05_32_03_116386_0003.jpg
/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0000.jpg
/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0001.jpg
/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397645","1327397647","1327397641","1327397649","1327397643"],"photo_ids_order":["1327397641","1327397643","1327397645","1327397647","1327397649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d5a10a1954c2c0040e936e7fe180565.jpg","text":"TemporaryFile(/tmp/multipartBody3164448349834262978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310874404,"filename":"image_08012025_05_33_02_614130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1af501263e655ce7d7a386930184ccf4.jpg","text":"TemporaryFile(/tmp/multipartBody4942073772357223861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310874404,"filename":"image_08012025_05_33_02_614130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81343851ad2c4f54cb832c3549e8ff56.jpg","text":"TemporaryFile(/tmp/multipartBody1880724853919586377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310874404,"filename":"image_08012025_05_32_03_116386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2880e8c373703e18d608551e0832c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5490074264747372427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310874404,"filename":"image_08012025_05_33_02_614130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04507ad54a5bd918d86193c4d735d134.jpg","text":"TemporaryFile(/tmp/multipartBody6901424293575538805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310874404,"filename":"image_08012025_05_32_03_116386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397645","file1":"1327397643","file0":"1327397641","file4":"1327397649","file3":"1327397647"},"map_files_photo_id_array":[{"photo_id":"1327397645","filename":"file2"},{"photo_id":"1327397649","filename":"file4"},{"photo_id":"1327397643","filename":"file1"},{"photo_id":"1327397641","filename":"file0"},{"photo_id":"1327397647","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397645":["hashtag1","hashtag2"]},{"1327397647":["hashtag1","hashtag2"]},{"1327397641":["hashtag1","hashtag2"]},{"1327397649":["hashtag1","hashtag2"]},{"1327397643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397645, 1327397647, 1327397641, 1327397649, 1327397643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.84215569496155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:34:22.301235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0003.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0000.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0001.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0003.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0000.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0001.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.618729591369629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:35:02.505825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0003.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0000.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0001.jpg', '/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/33/image_08012025_05_33_02_614130_0003.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0000.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0001.jpg
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397669","1327397665","1327397667","1327397664"],"photo_ids_order":["1327397664","1327397665","1327397667","1327397669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a401cccd58452014dddb0f9a13dd74a.jpg","text":"TemporaryFile(/tmp/multipartBody5151766948706960261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310972564,"filename":"image_08012025_05_34_02_160012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4e3326b113d0cfd3151a9b117603e90.jpg","text":"TemporaryFile(/tmp/multipartBody2891721663979581812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310972564,"filename":"image_08012025_05_34_02_160012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf396f771afb2af2b57ad0023cab5e06.jpg","text":"TemporaryFile(/tmp/multipartBody1995602600069489802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310972564,"filename":"image_08012025_05_34_02_160012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/832cc2980d5e690281b6371642a2a0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3950730722188471798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736310972564,"filename":"image_08012025_05_33_02_614130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397667","file1":"1327397665","file0":"1327397664","file3":"1327397669"},"map_files_photo_id_array":[{"photo_id":"1327397667","filename":"file2"},{"photo_id":"1327397665","filename":"file1"},{"photo_id":"1327397664","filename":"file0"},{"photo_id":"1327397669","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397669":["hashtag1","hashtag2"]},{"1327397665":["hashtag1","hashtag2"]},{"1327397667":["hashtag1","hashtag2"]},{"1327397664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397669, 1327397665, 1327397667, 1327397664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3333535194397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:36:02.857501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0003.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0000.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0001.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0003.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0000.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0001.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.806634187698364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:36:22.462523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0003.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0000.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0001.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0002.jpg', '/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0003.jpg', '/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/34/image_08012025_05_34_02_160012_0003.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0000.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0001.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0002.jpg
/home/pi/Desktop/images/08012025/05/35/image_08012025_05_35_02_734763_0003.jpg
/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397692","1327397686","1327397688","1327397682","1327397690","1327397684"],"photo_ids_order":["1327397682","1327397684","1327397686","1327397688","1327397690","1327397692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0841d78ab998c22daea82cd6509c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody7903563883427679651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_36_02_228284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f1e24e245e4f62e0a8ff7a583549414.jpg","text":"TemporaryFile(/tmp/multipartBody5843307635650371896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_35_02_734763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d4a68c41d1d291b614065dd9d36a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4108854030662144711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_35_02_734763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f803b72c5584700ad711aedaed5fe81d.jpg","text":"TemporaryFile(/tmp/multipartBody4349151552610498884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_34_02_160012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e6cd6931dd28a586aa7ebabf6bbfb72.jpg","text":"TemporaryFile(/tmp/multipartBody1038312286611090889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_35_02_734763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46bb86b0cc6814b779268d22becea9ea.jpg","text":"TemporaryFile(/tmp/multipartBody4450451307133323464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311057381,"filename":"image_08012025_05_35_02_734763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397686","file1":"1327397684","file0":"1327397682","file4":"1327397690","file5":"1327397692","file3":"1327397688"},"map_files_photo_id_array":[{"photo_id":"1327397692","filename":"file5"},{"photo_id":"1327397686","filename":"file2"},{"photo_id":"1327397690","filename":"file4"},{"photo_id":"1327397684","filename":"file1"},{"photo_id":"1327397682","filename":"file0"},{"photo_id":"1327397688","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397692":["hashtag1","hashtag2"]},{"1327397686":["hashtag1","hashtag2"]},{"1327397688":["hashtag1","hashtag2"]},{"1327397682":["hashtag1","hashtag2"]},{"1327397690":["hashtag1","hashtag2"]},{"1327397684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397692, 1327397686, 1327397688, 1327397682, 1327397690, 1327397684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69995093345642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:37:22.003439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0001.jpg', '/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0002.jpg', '/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0003.jpg', '/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0000.jpg', '/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0001.jpg', '/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0001.jpg
/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0002.jpg
/home/pi/Desktop/images/08012025/05/36/image_08012025_05_36_02_228284_0003.jpg
/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0000.jpg
/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0001.jpg
/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397702","1327397698","1327397704","1327397706","1327397696","1327397700"],"photo_ids_order":["1327397696","1327397698","1327397700","1327397702","1327397704","1327397706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6d7c69c5188ebec96fc77c9a847d008.jpg","text":"TemporaryFile(/tmp/multipartBody466943269505894805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_37_02_856512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2acca0fbdf3500cae651933f76e16215.jpg","text":"TemporaryFile(/tmp/multipartBody1294133681137765397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_36_02_228284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6ab772e5637dad00062d634962d1c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2997034276922902568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_37_02_856512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0bff3729cf0c5e5572f2ead377c4e36b.jpg","text":"TemporaryFile(/tmp/multipartBody3034106220248413313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_37_02_856512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2210514f43dc9eb6c37ff48c8fa021b.jpg","text":"TemporaryFile(/tmp/multipartBody3623783172611558545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_36_02_228284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90ef2dc1e04c6fe69bf25a1b7c9ed08d.jpg","text":"TemporaryFile(/tmp/multipartBody9171692593077949972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311117093,"filename":"image_08012025_05_36_02_228284_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397700","file1":"1327397698","file0":"1327397696","file4":"1327397704","file5":"1327397706","file3":"1327397702"},"map_files_photo_id_array":[{"photo_id":"1327397706","filename":"file5"},{"photo_id":"1327397700","filename":"file2"},{"photo_id":"1327397704","filename":"file4"},{"photo_id":"1327397698","filename":"file1"},{"photo_id":"1327397696","filename":"file0"},{"photo_id":"1327397702","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397702":["hashtag1","hashtag2"]},{"1327397698":["hashtag1","hashtag2"]},{"1327397704":["hashtag1","hashtag2"]},{"1327397706":["hashtag1","hashtag2"]},{"1327397696":["hashtag1","hashtag2"]},{"1327397700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397702, 1327397698, 1327397704, 1327397706, 1327397696, 1327397700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.11973166465759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:38:22.521883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0003.jpg', '/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0000.jpg', '/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0001.jpg', '/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/37/image_08012025_05_37_02_856512_0003.jpg
/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0000.jpg
/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0001.jpg
/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397708","1327397710","1327397713","1327397716"],"photo_ids_order":["1327397708","1327397710","1327397713","1327397716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc083e48d22a6f441126906dc23a24df.jpg","text":"TemporaryFile(/tmp/multipartBody5370152110316616836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311172714,"filename":"image_08012025_05_37_02_856512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c398b3fe30c463232c36dc83ae49b40d.jpg","text":"TemporaryFile(/tmp/multipartBody2492530517707850036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311172714,"filename":"image_08012025_05_38_02_388153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e55a4a0d3ac113cdde90298d4d85ab59.jpg","text":"TemporaryFile(/tmp/multipartBody857299147223309145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311172714,"filename":"image_08012025_05_38_02_388153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21eaefb21700ea73ea52cc69e50c3016.jpg","text":"TemporaryFile(/tmp/multipartBody1899945766069328306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311172714,"filename":"image_08012025_05_38_02_388153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397713","file1":"1327397710","file0":"1327397708","file3":"1327397716"},"map_files_photo_id_array":[{"photo_id":"1327397713","filename":"file2"},{"photo_id":"1327397710","filename":"file1"},{"photo_id":"1327397708","filename":"file0"},{"photo_id":"1327397716","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397708":["hashtag1","hashtag2"]},{"1327397710":["hashtag1","hashtag2"]},{"1327397713":["hashtag1","hashtag2"]},{"1327397716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397708, 1327397710, 1327397713, 1327397716)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.10687184333801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:39:22.010000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0003.jpg', '/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0000.jpg', '/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0001.jpg', '/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/38/image_08012025_05_38_02_388153_0003.jpg
/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0000.jpg
/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0001.jpg
/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397726","1327397729","1327397725","1327397727"],"photo_ids_order":["1327397725","1327397726","1327397727","1327397729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/565a9c548cd49ce24adcbdcf741b7c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1643117474290917414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311232304,"filename":"image_08012025_05_39_02_902358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b93d1b879e8afab432dd9b834384850a.jpg","text":"TemporaryFile(/tmp/multipartBody366721396271858525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311232304,"filename":"image_08012025_05_39_02_902358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abc26558c0a1ad949cb4b9af7a942c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5194143046799787862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311232304,"filename":"image_08012025_05_38_02_388153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a38fd9be2fee886c7bf72e6296cda541.jpg","text":"TemporaryFile(/tmp/multipartBody709858583545713238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311232304,"filename":"image_08012025_05_39_02_902358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397727","file1":"1327397726","file0":"1327397725","file3":"1327397729"},"map_files_photo_id_array":[{"photo_id":"1327397727","filename":"file2"},{"photo_id":"1327397726","filename":"file1"},{"photo_id":"1327397725","filename":"file0"},{"photo_id":"1327397729","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397726":["hashtag1","hashtag2"]},{"1327397729":["hashtag1","hashtag2"]},{"1327397725":["hashtag1","hashtag2"]},{"1327397727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397726, 1327397729, 1327397725, 1327397727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03225064277649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:40:02.875104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:40:22.540885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0003.jpg', '/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0000.jpg', '/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0001.jpg', '/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/39/image_08012025_05_39_02_902358_0003.jpg
/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0000.jpg
/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0001.jpg
/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397750","1327397752","1327397754","1327397748"],"photo_ids_order":["1327397748","1327397750","1327397752","1327397754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9b98832b312a53c661382e8a039999e.jpg","text":"TemporaryFile(/tmp/multipartBody9168899692849385683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311292715,"filename":"image_08012025_05_40_02_384903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/521330d5a9194d95dd44f8774bfbc2c5.jpg","text":"TemporaryFile(/tmp/multipartBody2127609967423425140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311292715,"filename":"image_08012025_05_40_02_384903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6921af0887d08b007d4c017f6fd67b1.jpg","text":"TemporaryFile(/tmp/multipartBody3174585243164649313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311292715,"filename":"image_08012025_05_40_02_384903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1cd68d77417e0ea2858c118620054c1.jpg","text":"TemporaryFile(/tmp/multipartBody5768959582189112611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311292715,"filename":"image_08012025_05_39_02_902358_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397752","file1":"1327397750","file0":"1327397748","file3":"1327397754"},"map_files_photo_id_array":[{"photo_id":"1327397752","filename":"file2"},{"photo_id":"1327397750","filename":"file1"},{"photo_id":"1327397748","filename":"file0"},{"photo_id":"1327397754","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397750":["hashtag1","hashtag2"]},{"1327397752":["hashtag1","hashtag2"]},{"1327397754":["hashtag1","hashtag2"]},{"1327397748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397750, 1327397752, 1327397754, 1327397748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.824798345565796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:41:21.965992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0003.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0000.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0001.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0003.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0000.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0001.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.95104432106018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:42:02.876331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0003.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0000.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0001.jpg', '/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/40/image_08012025_05_40_02_384903_0003.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0000.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0001.jpg
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397771","1327397768","1327397767","1327397772"],"photo_ids_order":["1327397767","1327397768","1327397771","1327397772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0d8b6456b07a05d6c93e2bc9bb114ea.jpg","text":"TemporaryFile(/tmp/multipartBody4939052637799559444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311393267,"filename":"image_08012025_05_41_02_859326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/304ed77cf0d81fb072a5233e1a311de1.jpg","text":"TemporaryFile(/tmp/multipartBody1093503420312728394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311393267,"filename":"image_08012025_05_41_02_859326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7cc9ef4e6359fa72db5ed40659dfebc.jpg","text":"TemporaryFile(/tmp/multipartBody470973317648468825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311393267,"filename":"image_08012025_05_40_02_384903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d28d94948d1999840840aadef9895218.jpg","text":"TemporaryFile(/tmp/multipartBody5348598920858070374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311393267,"filename":"image_08012025_05_41_02_859326_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397771","file1":"1327397768","file0":"1327397767","file3":"1327397772"},"map_files_photo_id_array":[{"photo_id":"1327397771","filename":"file2"},{"photo_id":"1327397768","filename":"file1"},{"photo_id":"1327397767","filename":"file0"},{"photo_id":"1327397772","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397771":["hashtag1","hashtag2"]},{"1327397768":["hashtag1","hashtag2"]},{"1327397767":["hashtag1","hashtag2"]},{"1327397772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397771, 1327397768, 1327397767, 1327397772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.81065249443054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:43:02.731549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0003.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0000.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0001.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0003.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0000.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0001.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.778478860855103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:43:22.045387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0003.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0000.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0001.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0002.jpg', '/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0003.jpg', '/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/41/image_08012025_05_41_02_859326_0003.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0000.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0001.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0002.jpg
/home/pi/Desktop/images/08012025/05/42/image_08012025_05_42_02_355902_0003.jpg
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397791","1327397785","1327397793","1327397787","1327397789","1327397798"],"photo_ids_order":["1327397785","1327397787","1327397789","1327397791","1327397793","1327397798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a7f30a84757ee0e0bb09ea30d6740d9.jpg","text":"TemporaryFile(/tmp/multipartBody662145326488677555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_42_02_355902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a473d25a380ef1c52e65dfdd4dbc297.jpg","text":"TemporaryFile(/tmp/multipartBody5038848324828914045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_41_02_859326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a4238c26207895ddbc60d725934892d.jpg","text":"TemporaryFile(/tmp/multipartBody138855042404702022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_42_02_355902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9ac473eb1d32f556db511f036e16f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7236491936205011743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_42_02_355902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbeaee6098acfd9b1f06670fea5a483f.jpg","text":"TemporaryFile(/tmp/multipartBody2482878513417416713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_42_02_355902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1c5bc45cb4b8fb7e9a6cd56f5befca1.jpg","text":"TemporaryFile(/tmp/multipartBody7389988730821837059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311476980,"filename":"image_08012025_05_43_02_946384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397789","file1":"1327397787","file0":"1327397785","file4":"1327397793","file5":"1327397798","file3":"1327397791"},"map_files_photo_id_array":[{"photo_id":"1327397798","filename":"file5"},{"photo_id":"1327397789","filename":"file2"},{"photo_id":"1327397793","filename":"file4"},{"photo_id":"1327397787","filename":"file1"},{"photo_id":"1327397785","filename":"file0"},{"photo_id":"1327397791","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397791":["hashtag1","hashtag2"]},{"1327397785":["hashtag1","hashtag2"]},{"1327397793":["hashtag1","hashtag2"]},{"1327397787":["hashtag1","hashtag2"]},{"1327397789":["hashtag1","hashtag2"]},{"1327397798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397791, 1327397785, 1327397793, 1327397787, 1327397789, 1327397798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40393137931824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:44:21.790645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0001.jpg', '/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0002.jpg', '/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0003.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0000.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0001.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0001.jpg
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0002.jpg
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0003.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0000.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0001.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.643242359161377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:45:02.905094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0001.jpg', '/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0002.jpg', '/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0003.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0000.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0001.jpg', '/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0001.jpg
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0002.jpg
/home/pi/Desktop/images/08012025/05/43/image_08012025_05_43_02_946384_0003.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0000.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0001.jpg
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397828","1327397836","1327397839","1327397832","1327397829","1327397826"],"photo_ids_order":["1327397826","1327397828","1327397829","1327397832","1327397836","1327397839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41ca429b2da31a19e7986279e9523394.jpg","text":"TemporaryFile(/tmp/multipartBody5784786060231313995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_43_02_946384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03f8ca8109dd7ae0eaeb1b78d6f3c689.jpg","text":"TemporaryFile(/tmp/multipartBody7801334670878583692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_44_02_544632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ae6957705f24a18d459d59109c96346.jpg","text":"TemporaryFile(/tmp/multipartBody7865553406399812985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_44_02_544632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2428fbcfd6a2b5258a9efd708cf02bf8.jpg","text":"TemporaryFile(/tmp/multipartBody5790905126656615270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_44_02_544632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec15930411c1ae89a66bc1cba01192cc.jpg","text":"TemporaryFile(/tmp/multipartBody6267949169721890356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_43_02_946384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c21f244a68b72a4e9c16d9f26b86b27e.jpg","text":"TemporaryFile(/tmp/multipartBody8122583219812907480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311577999,"filename":"image_08012025_05_43_02_946384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397829","file1":"1327397828","file0":"1327397826","file4":"1327397836","file5":"1327397839","file3":"1327397832"},"map_files_photo_id_array":[{"photo_id":"1327397839","filename":"file5"},{"photo_id":"1327397829","filename":"file2"},{"photo_id":"1327397836","filename":"file4"},{"photo_id":"1327397828","filename":"file1"},{"photo_id":"1327397826","filename":"file0"},{"photo_id":"1327397832","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397828":["hashtag1","hashtag2"]},{"1327397836":["hashtag1","hashtag2"]},{"1327397839":["hashtag1","hashtag2"]},{"1327397832":["hashtag1","hashtag2"]},{"1327397829":["hashtag1","hashtag2"]},{"1327397826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397828, 1327397836, 1327397839, 1327397832, 1327397829, 1327397826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48069763183594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:46:02.397316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0003.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0000.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0001.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0003.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0000.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0001.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.919669151306152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:46:21.987145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0003.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0000.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0001.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0002.jpg', '/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0003.jpg', '/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/44/image_08012025_05_44_02_544632_0003.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0000.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0001.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0002.jpg
/home/pi/Desktop/images/08012025/05/45/image_08012025_05_45_02_205398_0003.jpg
/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397858","1327397852","1327397860","1327397854","1327397850","1327397856"],"photo_ids_order":["1327397850","1327397852","1327397854","1327397856","1327397858","1327397860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32bc78ecce9368a196793a0d4c9bd9f4.jpg","text":"TemporaryFile(/tmp/multipartBody1711620482507365604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_45_02_205398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14d76fe7379460991734ae937cd1cc66.jpg","text":"TemporaryFile(/tmp/multipartBody9201486610100084503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_45_02_205398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4ac21564081b4040909393a9528209f.jpg","text":"TemporaryFile(/tmp/multipartBody5148696511805679143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_46_02_720923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4a1222855a68005e8ebb5119ec9a9c2.jpg","text":"TemporaryFile(/tmp/multipartBody8862493476384220783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_45_02_205398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e18fe7307268f6bb01c420b71e7dfa21.jpg","text":"TemporaryFile(/tmp/multipartBody3534617387039280643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_44_02_544632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84243acd553bb4ac846b789f82dda918.jpg","text":"TemporaryFile(/tmp/multipartBody7555104181758882048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311657124,"filename":"image_08012025_05_45_02_205398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397854","file1":"1327397852","file0":"1327397850","file4":"1327397858","file5":"1327397860","file3":"1327397856"},"map_files_photo_id_array":[{"photo_id":"1327397860","filename":"file5"},{"photo_id":"1327397854","filename":"file2"},{"photo_id":"1327397858","filename":"file4"},{"photo_id":"1327397852","filename":"file1"},{"photo_id":"1327397850","filename":"file0"},{"photo_id":"1327397856","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397858":["hashtag1","hashtag2"]},{"1327397852":["hashtag1","hashtag2"]},{"1327397860":["hashtag1","hashtag2"]},{"1327397854":["hashtag1","hashtag2"]},{"1327397850":["hashtag1","hashtag2"]},{"1327397856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397858, 1327397852, 1327397860, 1327397854, 1327397850, 1327397856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47633171081543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:47:22.536010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0001.jpg', '/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0002.jpg', '/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0003.jpg', '/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0000.jpg', '/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0001.jpg', '/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0001.jpg
/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0002.jpg
/home/pi/Desktop/images/08012025/05/46/image_08012025_05_46_02_720923_0003.jpg
/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0000.jpg
/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0001.jpg
/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397870","1327397864","1327397873","1327397872","1327397865","1327397868"],"photo_ids_order":["1327397864","1327397865","1327397868","1327397870","1327397872","1327397873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2e7ecb40bbfe5079e83f53026d4e62a.jpg","text":"TemporaryFile(/tmp/multipartBody4893264391360445257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_47_02_394958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e61a3c2a99cc540e72c7914a71de2c79.jpg","text":"TemporaryFile(/tmp/multipartBody6788283291293928351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_46_02_720923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da7f97e6e8b1ec7330ef9e30ea23f75d.jpg","text":"TemporaryFile(/tmp/multipartBody8022030087085606937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_47_02_394958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0744ba253f0ede16d49d080c15f59e15.jpg","text":"TemporaryFile(/tmp/multipartBody5364031127022404312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_47_02_394958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb457cd2cefb96903337cc4fa50ce6ed.jpg","text":"TemporaryFile(/tmp/multipartBody6142579548775701691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_46_02_720923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb74ff7cbd3f768cfaef950b0981a105.jpg","text":"TemporaryFile(/tmp/multipartBody8724960657498660274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311717696,"filename":"image_08012025_05_46_02_720923_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397868","file1":"1327397865","file0":"1327397864","file4":"1327397872","file5":"1327397873","file3":"1327397870"},"map_files_photo_id_array":[{"photo_id":"1327397873","filename":"file5"},{"photo_id":"1327397868","filename":"file2"},{"photo_id":"1327397872","filename":"file4"},{"photo_id":"1327397865","filename":"file1"},{"photo_id":"1327397864","filename":"file0"},{"photo_id":"1327397870","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397870":["hashtag1","hashtag2"]},{"1327397864":["hashtag1","hashtag2"]},{"1327397873":["hashtag1","hashtag2"]},{"1327397872":["hashtag1","hashtag2"]},{"1327397865":["hashtag1","hashtag2"]},{"1327397868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397870, 1327397864, 1327397873, 1327397872, 1327397865, 1327397868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.80143141746521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:49:03.108385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0003.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0000.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0001.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0003.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0000.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0001.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92162537574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:49:22.472891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0003.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0000.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0001.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0002.jpg', '/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0003.jpg', '/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/47/image_08012025_05_47_02_394958_0003.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0000.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0001.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0002.jpg
/home/pi/Desktop/images/08012025/05/48/image_08012025_05_48_02_917070_0003.jpg
/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397890","1327397887","1327397896","1327397892","1327397889","1327397894"],"photo_ids_order":["1327397887","1327397889","1327397890","1327397892","1327397894","1327397896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a1cd8a2ffd3eae7537af095b1e82fef.jpg","text":"TemporaryFile(/tmp/multipartBody3680318262115930866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_48_02_917070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc57c6b0e6f2f4bec10d4be10b5535af.jpg","text":"TemporaryFile(/tmp/multipartBody6973106029842361826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_47_02_394958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c308da673681b233223885de9adf1690.jpg","text":"TemporaryFile(/tmp/multipartBody3129223519710826152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_49_02_397374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/19d47afb61ed01f9f2b434559b9779d7.jpg","text":"TemporaryFile(/tmp/multipartBody6528599366631972671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_48_02_917070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/584849e1fec085e6ec3ebbe3083334c8.jpg","text":"TemporaryFile(/tmp/multipartBody8823616897507345209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_48_02_917070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/749c863c0a2f5e6a5966cf0daa4cbd9c.jpg","text":"TemporaryFile(/tmp/multipartBody3716286717759881462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311837481,"filename":"image_08012025_05_48_02_917070_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397890","file1":"1327397889","file0":"1327397887","file4":"1327397894","file5":"1327397896","file3":"1327397892"},"map_files_photo_id_array":[{"photo_id":"1327397896","filename":"file5"},{"photo_id":"1327397890","filename":"file2"},{"photo_id":"1327397894","filename":"file4"},{"photo_id":"1327397889","filename":"file1"},{"photo_id":"1327397887","filename":"file0"},{"photo_id":"1327397892","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397890":["hashtag1","hashtag2"]},{"1327397887":["hashtag1","hashtag2"]},{"1327397896":["hashtag1","hashtag2"]},{"1327397892":["hashtag1","hashtag2"]},{"1327397889":["hashtag1","hashtag2"]},{"1327397894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397890, 1327397887, 1327397896, 1327397892, 1327397889, 1327397894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.42292284965515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:50:22.311534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0001.jpg', '/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0002.jpg', '/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0003.jpg', '/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0000.jpg', '/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0001.jpg', '/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0001.jpg
/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0002.jpg
/home/pi/Desktop/images/08012025/05/49/image_08012025_05_49_02_397374_0003.jpg
/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0000.jpg
/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0001.jpg
/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397902","1327397911","1327397905","1327397908","1327397898","1327397913"],"photo_ids_order":["1327397898","1327397902","1327397905","1327397908","1327397911","1327397913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ea86a1749a037495ddef6edb982253d.jpg","text":"TemporaryFile(/tmp/multipartBody6068616241291219770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_49_02_397374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/edb6fa7f068e70aff2813f5a4f6e0023.jpg","text":"TemporaryFile(/tmp/multipartBody6581078374443346738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_50_02_948544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca52335f30afeb48fb60cdf777dc1665.jpg","text":"TemporaryFile(/tmp/multipartBody3435085452678090800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_49_02_397374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f402754658fef5ac4e0dc235129a5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7956816233364548241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_50_02_948544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/edbb76550301992d202fbd83b97342dc.jpg","text":"TemporaryFile(/tmp/multipartBody3886593337732448183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_49_02_397374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/384bf1111ade7db0323b57da48a3e68c.jpg","text":"TemporaryFile(/tmp/multipartBody7096038700268301117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311897247,"filename":"image_08012025_05_50_02_948544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397905","file1":"1327397902","file0":"1327397898","file4":"1327397911","file5":"1327397913","file3":"1327397908"},"map_files_photo_id_array":[{"photo_id":"1327397913","filename":"file5"},{"photo_id":"1327397905","filename":"file2"},{"photo_id":"1327397911","filename":"file4"},{"photo_id":"1327397902","filename":"file1"},{"photo_id":"1327397898","filename":"file0"},{"photo_id":"1327397908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397902":["hashtag1","hashtag2"]},{"1327397911":["hashtag1","hashtag2"]},{"1327397905":["hashtag1","hashtag2"]},{"1327397908":["hashtag1","hashtag2"]},{"1327397898":["hashtag1","hashtag2"]},{"1327397913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397902, 1327397911, 1327397905, 1327397908, 1327397898, 1327397913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5280442237854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:51:21.717994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0003.jpg', '/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0000.jpg', '/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0001.jpg', '/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/50/image_08012025_05_50_02_948544_0003.jpg
/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0000.jpg
/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0001.jpg
/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397921","1327397915","1327397917","1327397919"],"photo_ids_order":["1327397915","1327397917","1327397919","1327397921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a0efbe3db79ddbb43885ebf9b257fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1757987267437198168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311951950,"filename":"image_08012025_05_51_02_612040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e70d55ff947d0912db1870977338b93.jpg","text":"TemporaryFile(/tmp/multipartBody5707844072139686501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311951950,"filename":"image_08012025_05_50_02_948544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/958a6d10ec1031faf8a8e3fd49a660e1.jpg","text":"TemporaryFile(/tmp/multipartBody5422381368376097409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311951950,"filename":"image_08012025_05_51_02_612040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fd66018d20be352c533d22912488a31.jpg","text":"TemporaryFile(/tmp/multipartBody8681907842019242264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736311951950,"filename":"image_08012025_05_51_02_612040_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397919","file1":"1327397917","file0":"1327397915","file3":"1327397921"},"map_files_photo_id_array":[{"photo_id":"1327397919","filename":"file2"},{"photo_id":"1327397917","filename":"file1"},{"photo_id":"1327397915","filename":"file0"},{"photo_id":"1327397921","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397921":["hashtag1","hashtag2"]},{"1327397915":["hashtag1","hashtag2"]},{"1327397917":["hashtag1","hashtag2"]},{"1327397919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397921, 1327397915, 1327397917, 1327397919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57304358482361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:52:02.756967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:52:22.315678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0003.jpg', '/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0000.jpg', '/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0001.jpg', '/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/51/image_08012025_05_51_02_612040_0003.jpg
/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0000.jpg
/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0001.jpg
/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397927","1327397929","1327397932","1327397925"],"photo_ids_order":["1327397925","1327397927","1327397929","1327397932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1761974f2101c17cffa084c4d0f4ba7f.jpg","text":"TemporaryFile(/tmp/multipartBody4799323639759572750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312012453,"filename":"image_08012025_05_52_02_176491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86576baf11ccfef2880e110c0a9161ad.jpg","text":"TemporaryFile(/tmp/multipartBody610404447849979359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312012453,"filename":"image_08012025_05_52_02_176491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4dc6c73c2c8da1fbaecd085ff673d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8044574312051635838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312012453,"filename":"image_08012025_05_52_02_176491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/900efe4055ba171241b180013a54bdac.jpg","text":"TemporaryFile(/tmp/multipartBody8202025627483573674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312012453,"filename":"image_08012025_05_51_02_612040_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397929","file1":"1327397927","file0":"1327397925","file3":"1327397932"},"map_files_photo_id_array":[{"photo_id":"1327397929","filename":"file2"},{"photo_id":"1327397927","filename":"file1"},{"photo_id":"1327397925","filename":"file0"},{"photo_id":"1327397932","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397927":["hashtag1","hashtag2"]},{"1327397929":["hashtag1","hashtag2"]},{"1327397932":["hashtag1","hashtag2"]},{"1327397925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397927, 1327397929, 1327397932, 1327397925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27414631843567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:53:21.849195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0003.jpg', '/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0000.jpg', '/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0001.jpg', '/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/52/image_08012025_05_52_02_176491_0003.jpg
/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0000.jpg
/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0001.jpg
/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397942","1327397944","1327397946","1327397940"],"photo_ids_order":["1327397940","1327397942","1327397944","1327397946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a740b453047c61f971d81a171b974994.jpg","text":"TemporaryFile(/tmp/multipartBody8781563201340910800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312071984,"filename":"image_08012025_05_53_02_733375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d7166892cff59c11e56611c1668c607.jpg","text":"TemporaryFile(/tmp/multipartBody5073487520721641490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312071984,"filename":"image_08012025_05_53_02_733375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7f3d4a7990be774c4a252ba510e4b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3776563433383668696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312071984,"filename":"image_08012025_05_53_02_733375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/958cf03ae0c21ed254fe89e5b7e4bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody3860265400328607190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312071984,"filename":"image_08012025_05_52_02_176491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397944","file1":"1327397942","file0":"1327397940","file3":"1327397946"},"map_files_photo_id_array":[{"photo_id":"1327397944","filename":"file2"},{"photo_id":"1327397942","filename":"file1"},{"photo_id":"1327397940","filename":"file0"},{"photo_id":"1327397946","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397942":["hashtag1","hashtag2"]},{"1327397944":["hashtag1","hashtag2"]},{"1327397946":["hashtag1","hashtag2"]},{"1327397940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397942, 1327397944, 1327397946, 1327397940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50618624687195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:54:02.662390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:54:22.358978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0003.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0000.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0001.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0003.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0000.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0001.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.65040898323059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:55:02.527597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0003.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0000.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0001.jpg', '/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/53/image_08012025_05_53_02_733375_0003.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0000.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0001.jpg
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397965","1327397962","1327397959","1327397964"],"photo_ids_order":["1327397959","1327397962","1327397964","1327397965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/660a2393809d40e8863284b4a5c50dd7.jpg","text":"TemporaryFile(/tmp/multipartBody810914324716039937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312172648,"filename":"image_08012025_05_54_02_239760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0625e79c2c3874a335056fe986906c55.jpg","text":"TemporaryFile(/tmp/multipartBody5995180668783619663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312172648,"filename":"image_08012025_05_54_02_239760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e523aac64c865549db69722dab79e997.jpg","text":"TemporaryFile(/tmp/multipartBody8963633358090916522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312172648,"filename":"image_08012025_05_53_02_733375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b15911372ad6e0ec5e0f33f9ad553fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1758367520928534162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312172648,"filename":"image_08012025_05_54_02_239760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397964","file1":"1327397962","file0":"1327397959","file3":"1327397965"},"map_files_photo_id_array":[{"photo_id":"1327397964","filename":"file2"},{"photo_id":"1327397962","filename":"file1"},{"photo_id":"1327397959","filename":"file0"},{"photo_id":"1327397965","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397965":["hashtag1","hashtag2"]},{"1327397962":["hashtag1","hashtag2"]},{"1327397959":["hashtag1","hashtag2"]},{"1327397964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397965, 1327397962, 1327397959, 1327397964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10496211051941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 05:56:03.160282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0003.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0000.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0001.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0003.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0000.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0001.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.802958965301514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:56:22.749387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0003.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0000.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0001.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0002.jpg', '/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0003.jpg', '/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/54/image_08012025_05_54_02_239760_0003.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0000.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0001.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0002.jpg
/home/pi/Desktop/images/08012025/05/55/image_08012025_05_55_02_779074_0003.jpg
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327397983","1327397989","1327397991","1327397985","1327397979","1327397987"],"photo_ids_order":["1327397979","1327397983","1327397985","1327397987","1327397989","1327397991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9929b40ba53c98e75d0f9f5b47c3f213.jpg","text":"TemporaryFile(/tmp/multipartBody662144557745565578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_55_02_779074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3514ea08804ee924a5129760023088c1.jpg","text":"TemporaryFile(/tmp/multipartBody1662297027163829046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_55_02_779074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01fa345f23ab4c6fe2b94087d6acbaf9.jpg","text":"TemporaryFile(/tmp/multipartBody1306586577969198054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_56_02_299554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/147896dc61b34e5a84e2b0ec9fc72b95.jpg","text":"TemporaryFile(/tmp/multipartBody3628251788979487554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_55_02_779074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00a823f1582b4c24d93f968ea09292e7.jpg","text":"TemporaryFile(/tmp/multipartBody6724455003886794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_54_02_239760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7b2f2c5ea8087f6609b10a3664e71db.jpg","text":"TemporaryFile(/tmp/multipartBody7914441101714249150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312257745,"filename":"image_08012025_05_55_02_779074_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327397985","file1":"1327397983","file0":"1327397979","file4":"1327397989","file5":"1327397991","file3":"1327397987"},"map_files_photo_id_array":[{"photo_id":"1327397991","filename":"file5"},{"photo_id":"1327397985","filename":"file2"},{"photo_id":"1327397989","filename":"file4"},{"photo_id":"1327397983","filename":"file1"},{"photo_id":"1327397979","filename":"file0"},{"photo_id":"1327397987","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327397983":["hashtag1","hashtag2"]},{"1327397989":["hashtag1","hashtag2"]},{"1327397991":["hashtag1","hashtag2"]},{"1327397985":["hashtag1","hashtag2"]},{"1327397979":["hashtag1","hashtag2"]},{"1327397987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327397983, 1327397989, 1327397991, 1327397985, 1327397979, 1327397987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25350308418274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 05:57:22.206137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0001.jpg', '/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0002.jpg', '/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0003.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0000.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0001.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0001.jpg
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0002.jpg
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0003.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0000.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0001.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_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-08 05:59:02.407594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0001.jpg', '/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0002.jpg', '/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0003.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0000.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0001.jpg', '/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0001.jpg
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0002.jpg
/home/pi/Desktop/images/08012025/05/56/image_08012025_05_56_02_299554_0003.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0000.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0001.jpg
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327398047","1327398049","1327398043","1327398031","1327398039","1327398050"],"photo_ids_order":["1327398031","1327398039","1327398043","1327398047","1327398049","1327398050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a0e20af670135ca4b3aa8b389b4e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody3769462269582563824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_57_03_074342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d1ac5643ca39c54276e3f6ece1f2fee.jpg","text":"TemporaryFile(/tmp/multipartBody2015234369799693966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_57_03_074342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a785520754543d4c3952c643cb7c3283.jpg","text":"TemporaryFile(/tmp/multipartBody8740530489853489070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_56_02_299554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36644acd1adf88d66949783c5ceef9aa.jpg","text":"TemporaryFile(/tmp/multipartBody7416508279477388169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_56_02_299554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65e951ab9bf3036455f7204db686bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7935765534687067694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_56_02_299554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95fb4b156b6bbaef1af37cef4d19e65b.jpg","text":"TemporaryFile(/tmp/multipartBody5918409847698166882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312417403,"filename":"image_08012025_05_57_03_074342_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327398043","file1":"1327398039","file0":"1327398031","file4":"1327398049","file5":"1327398050","file3":"1327398047"},"map_files_photo_id_array":[{"photo_id":"1327398050","filename":"file5"},{"photo_id":"1327398043","filename":"file2"},{"photo_id":"1327398049","filename":"file4"},{"photo_id":"1327398039","filename":"file1"},{"photo_id":"1327398031","filename":"file0"},{"photo_id":"1327398047","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327398047":["hashtag1","hashtag2"]},{"1327398049":["hashtag1","hashtag2"]},{"1327398043":["hashtag1","hashtag2"]},{"1327398031":["hashtag1","hashtag2"]},{"1327398039":["hashtag1","hashtag2"]},{"1327398050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327398047, 1327398049, 1327398043, 1327398031, 1327398039, 1327398050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.26087522506714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:00:22.450010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0003.jpg', '/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0000.jpg', '/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0001.jpg', '/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0002.jpg', '/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0003.jpg', '/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/57/image_08012025_05_57_03_074342_0003.jpg
/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0000.jpg
/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0001.jpg
/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0002.jpg
/home/pi/Desktop/images/08012025/05/58/image_08012025_05_58_02_618749_0003.jpg
/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327398716","1327398184","1327398474","1327398063","1327398920","1327398065"],"photo_ids_order":["1327398063","1327398065","1327398184","1327398474","1327398716","1327398920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e53faf4f2606e20cb2bf2fbad4dfc802.jpg","text":"TemporaryFile(/tmp/multipartBody6195506486348254045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_58_02_618749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7d15d7c0bd7f0bbdce47c512c51f821.jpg","text":"TemporaryFile(/tmp/multipartBody176373047978074564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_58_02_618749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/708aa10c43b5040b7ec7fe5953007868.jpg","text":"TemporaryFile(/tmp/multipartBody7393955205486754502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_58_02_618749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe93bfdb5f1881a29cec928d07f86961.jpg","text":"TemporaryFile(/tmp/multipartBody1039262063890670748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_57_03_074342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b5a7b96abe42f61e8ff274c8e1ea92f9.jpg","text":"TemporaryFile(/tmp/multipartBody2563893279562075954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_59_02_180687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce564df9731215f2ceeea1181d0af985.jpg","text":"TemporaryFile(/tmp/multipartBody6520610453677828387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312497147,"filename":"image_08012025_05_58_02_618749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327398184","file1":"1327398065","file0":"1327398063","file4":"1327398716","file5":"1327398920","file3":"1327398474"},"map_files_photo_id_array":[{"photo_id":"1327398920","filename":"file5"},{"photo_id":"1327398184","filename":"file2"},{"photo_id":"1327398716","filename":"file4"},{"photo_id":"1327398065","filename":"file1"},{"photo_id":"1327398063","filename":"file0"},{"photo_id":"1327398474","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327398716":["hashtag1","hashtag2"]},{"1327398184":["hashtag1","hashtag2"]},{"1327398474":["hashtag1","hashtag2"]},{"1327398063":["hashtag1","hashtag2"]},{"1327398920":["hashtag1","hashtag2"]},{"1327398065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327398716, 1327398184, 1327398474, 1327398063, 1327398920, 1327398065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.560473680496216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:01:22.017948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0001.jpg', '/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0002.jpg', '/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0003.jpg', '/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0000.jpg', '/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0001.jpg', '/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0001.jpg
/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0002.jpg
/home/pi/Desktop/images/08012025/05/59/image_08012025_05_59_02_180687_0003.jpg
/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0000.jpg
/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0001.jpg
/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327400058","1327400067","1327400069","1327400060","1327400063","1327400065"],"photo_ids_order":["1327400058","1327400060","1327400063","1327400065","1327400067","1327400069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22c30e4baa8a0552aa9433dd7e6f02cb.jpg","text":"TemporaryFile(/tmp/multipartBody7263130743256743031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_05_59_02_180687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb6383d5ce7d17ad04621b7cf5444e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1698131004371023418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_06_00_02_346834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5da1ea7c8ba687ade4352bd92237790a.jpg","text":"TemporaryFile(/tmp/multipartBody1673610121780127151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_06_00_02_346834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adee59fdbf9580c18a66a77a6aded737.jpg","text":"TemporaryFile(/tmp/multipartBody3243564050082839275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_05_59_02_180687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50d270734ad914c623c5240f66dd3ad6.jpg","text":"TemporaryFile(/tmp/multipartBody9158195165274564354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_05_59_02_180687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd3104a253d66b4f1be9f36e6a6c7c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6150140672910801215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312557000,"filename":"image_08012025_06_00_02_346834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327400063","file1":"1327400060","file0":"1327400058","file4":"1327400067","file5":"1327400069","file3":"1327400065"},"map_files_photo_id_array":[{"photo_id":"1327400069","filename":"file5"},{"photo_id":"1327400063","filename":"file2"},{"photo_id":"1327400067","filename":"file4"},{"photo_id":"1327400060","filename":"file1"},{"photo_id":"1327400058","filename":"file0"},{"photo_id":"1327400065","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327400058":["hashtag1","hashtag2"]},{"1327400067":["hashtag1","hashtag2"]},{"1327400069":["hashtag1","hashtag2"]},{"1327400060":["hashtag1","hashtag2"]},{"1327400063":["hashtag1","hashtag2"]},{"1327400065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327400058, 1327400067, 1327400069, 1327400060, 1327400063, 1327400065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.322317600250244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:02:22.579564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0003.jpg', '/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0000.jpg', '/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0001.jpg', '/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0002.jpg', '/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0003.jpg', '/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/00/image_08012025_06_00_02_346834_0003.jpg
/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0000.jpg
/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0001.jpg
/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0002.jpg
/home/pi/Desktop/images/08012025/06/01/image_08012025_06_01_02_867632_0003.jpg
/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327400844","1327400355","1327401047","1327400411","1327400602","1327401255"],"photo_ids_order":["1327400355","1327400411","1327400602","1327400844","1327401047","1327401255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8d843be27f7ffb7dbf86337c2a7ad05.jpg","text":"TemporaryFile(/tmp/multipartBody1997691058649813734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_01_02_867632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36e9a8cc68b4a34792f9edd903c589be.jpg","text":"TemporaryFile(/tmp/multipartBody5619960123780047764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_00_02_346834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2151bff7058bb63f37bbf4671d0c873d.jpg","text":"TemporaryFile(/tmp/multipartBody2218146692216669178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_01_02_867632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e95225e8defcb3cea2a1052227dc2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6191765295638514164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_01_02_867632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6933c7cf23da0c4406a2256a20d002d2.jpg","text":"TemporaryFile(/tmp/multipartBody3215172139782061811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_01_02_867632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69f39873d8196c520a816c2285d49355.jpg","text":"TemporaryFile(/tmp/multipartBody8202506544357859059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312617783,"filename":"image_08012025_06_02_02_382129_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327400602","file1":"1327400411","file0":"1327400355","file4":"1327401047","file5":"1327401255","file3":"1327400844"},"map_files_photo_id_array":[{"photo_id":"1327401255","filename":"file5"},{"photo_id":"1327400602","filename":"file2"},{"photo_id":"1327401047","filename":"file4"},{"photo_id":"1327400411","filename":"file1"},{"photo_id":"1327400355","filename":"file0"},{"photo_id":"1327400844","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327400844":["hashtag1","hashtag2"]},{"1327400355":["hashtag1","hashtag2"]},{"1327401047":["hashtag1","hashtag2"]},{"1327400411":["hashtag1","hashtag2"]},{"1327400602":["hashtag1","hashtag2"]},{"1327401255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327400844, 1327400355, 1327401047, 1327400411, 1327400602, 1327401255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34038734436035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:03:22.036802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0001.jpg', '/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0002.jpg', '/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0003.jpg', '/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0000.jpg', '/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0001.jpg', '/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0001.jpg
/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0002.jpg
/home/pi/Desktop/images/08012025/06/02/image_08012025_06_02_02_382129_0003.jpg
/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0000.jpg
/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0001.jpg
/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402274","1327402277","1327402232","1327402205","1327402165","1327402243"],"photo_ids_order":["1327402165","1327402205","1327402232","1327402243","1327402274","1327402277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d54ea09a9f2fde54582fc624cfa1f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody1616637352323660141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_03_02_907146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7ad62c01f7e57bfe71fbea6478e8b08.jpg","text":"TemporaryFile(/tmp/multipartBody7684171505465873923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_03_02_907146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61aa068c8615d597fafdf4c7a439feaf.jpg","text":"TemporaryFile(/tmp/multipartBody4487156288748864415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_02_02_382129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e22e2334eb13d3092c5a45fedc54973.jpg","text":"TemporaryFile(/tmp/multipartBody8827037796497512480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_02_02_382129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33f40d5fd500b1e048e867acebd45af3.jpg","text":"TemporaryFile(/tmp/multipartBody1011764240617697315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_02_02_382129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3b1b8d869072a9bb44d876bd3fa1156.jpg","text":"TemporaryFile(/tmp/multipartBody4046261461117120414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312677057,"filename":"image_08012025_06_03_02_907146_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402232","file1":"1327402205","file0":"1327402165","file4":"1327402274","file5":"1327402277","file3":"1327402243"},"map_files_photo_id_array":[{"photo_id":"1327402277","filename":"file5"},{"photo_id":"1327402232","filename":"file2"},{"photo_id":"1327402274","filename":"file4"},{"photo_id":"1327402205","filename":"file1"},{"photo_id":"1327402165","filename":"file0"},{"photo_id":"1327402243","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402274":["hashtag1","hashtag2"]},{"1327402277":["hashtag1","hashtag2"]},{"1327402232":["hashtag1","hashtag2"]},{"1327402205":["hashtag1","hashtag2"]},{"1327402165":["hashtag1","hashtag2"]},{"1327402243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402274, 1327402277, 1327402232, 1327402205, 1327402165, 1327402243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.61520051956177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:04:22.638204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0003.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0000.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0001.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0003.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0000.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0001.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.894044160842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:05:02.774188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0003.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0000.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0001.jpg', '/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/03/image_08012025_06_03_02_907146_0003.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0000.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0001.jpg
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402754","1327402786","1327402717","1327402719"],"photo_ids_order":["1327402717","1327402719","1327402754","1327402786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b3aa85590ef70efb9c25a0196b0f576.jpg","text":"TemporaryFile(/tmp/multipartBody8781137031667877548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312773176,"filename":"image_08012025_06_04_02_478475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6219f703f244e68db340e1628a19e30f.jpg","text":"TemporaryFile(/tmp/multipartBody2686575502500551862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312773176,"filename":"image_08012025_06_04_02_478475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f96811a0cb0498bdaf768850d543534.jpg","text":"TemporaryFile(/tmp/multipartBody8904743325973340875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312773176,"filename":"image_08012025_06_03_02_907146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e954819971fed8f269d28b93d3c32821.jpg","text":"TemporaryFile(/tmp/multipartBody3869625401618714896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312773176,"filename":"image_08012025_06_04_02_478475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402754","file1":"1327402719","file0":"1327402717","file3":"1327402786"},"map_files_photo_id_array":[{"photo_id":"1327402754","filename":"file2"},{"photo_id":"1327402719","filename":"file1"},{"photo_id":"1327402717","filename":"file0"},{"photo_id":"1327402786","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402754":["hashtag1","hashtag2"]},{"1327402786":["hashtag1","hashtag2"]},{"1327402717":["hashtag1","hashtag2"]},{"1327402719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402754, 1327402786, 1327402717, 1327402719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.85824275016785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:06:03.133541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0003.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0000.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0001.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0003.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0000.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0001.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92458724975586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:06:22.668538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0003.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0000.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0001.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0002.jpg', '/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0003.jpg', '/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/04/image_08012025_06_04_02_478475_0003.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0000.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0001.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0002.jpg
/home/pi/Desktop/images/08012025/06/05/image_08012025_06_05_03_036508_0003.jpg
/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402823","1327402816","1327402825","1327402819","1327402813","1327402821"],"photo_ids_order":["1327402813","1327402816","1327402819","1327402821","1327402823","1327402825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eae40f9091ff2bcb03472fa957218041.jpg","text":"TemporaryFile(/tmp/multipartBody6785770665696402553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_05_03_036508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6783fdd92870081acc557d442b6a901f.jpg","text":"TemporaryFile(/tmp/multipartBody6492032164661328283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_05_03_036508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2780e493466fff63ba13e686ac8964d.jpg","text":"TemporaryFile(/tmp/multipartBody127337115141949036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_06_02_495003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc022af4b2dc9e79f05585e69faceb67.jpg","text":"TemporaryFile(/tmp/multipartBody1026037364063222261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_05_03_036508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ddafa13fa8973f80578e2e53c656ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8456921287814767746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_04_02_478475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db34053a6dee9cb0b4e2325d22c6d5c7.jpg","text":"TemporaryFile(/tmp/multipartBody4682414202338489666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312857745,"filename":"image_08012025_06_05_03_036508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402819","file1":"1327402816","file0":"1327402813","file4":"1327402823","file5":"1327402825","file3":"1327402821"},"map_files_photo_id_array":[{"photo_id":"1327402825","filename":"file5"},{"photo_id":"1327402819","filename":"file2"},{"photo_id":"1327402823","filename":"file4"},{"photo_id":"1327402816","filename":"file1"},{"photo_id":"1327402813","filename":"file0"},{"photo_id":"1327402821","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402823":["hashtag1","hashtag2"]},{"1327402816":["hashtag1","hashtag2"]},{"1327402825":["hashtag1","hashtag2"]},{"1327402819":["hashtag1","hashtag2"]},{"1327402813":["hashtag1","hashtag2"]},{"1327402821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402823, 1327402816, 1327402825, 1327402819, 1327402813, 1327402821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.227662801742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:07:22.186831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0001.jpg', '/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0002.jpg', '/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0003.jpg', '/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0000.jpg', '/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0001.jpg', '/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0001.jpg
/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0002.jpg
/home/pi/Desktop/images/08012025/06/06/image_08012025_06_06_02_495003_0003.jpg
/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0000.jpg
/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0001.jpg
/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402841","1327402843","1327402837","1327402839","1327402833","1327402830"],"photo_ids_order":["1327402830","1327402833","1327402837","1327402839","1327402841","1327402843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd9cee811492a53467412664f8c36abb.jpg","text":"TemporaryFile(/tmp/multipartBody6800252459932333760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_07_03_043907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86d3293f112d4a2a51aa1e63c9d9a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody663322345106640703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_07_03_043907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8411537bb9e2484ad97b44d1dc480fce.jpg","text":"TemporaryFile(/tmp/multipartBody2130057152592063859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_06_02_495003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4eaad42ec9c9cd6e969cf72f54a5f98c.jpg","text":"TemporaryFile(/tmp/multipartBody1136708561697153710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_07_03_043907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c798fd18fc4efc0d3e4bdf1d7b189c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5996124569587491977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_06_02_495003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dffa5ca93ffebdb36a4a1c899a50eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5540456447257529815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736312917123,"filename":"image_08012025_06_06_02_495003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402837","file1":"1327402833","file0":"1327402830","file4":"1327402841","file5":"1327402843","file3":"1327402839"},"map_files_photo_id_array":[{"photo_id":"1327402843","filename":"file5"},{"photo_id":"1327402837","filename":"file2"},{"photo_id":"1327402841","filename":"file4"},{"photo_id":"1327402833","filename":"file1"},{"photo_id":"1327402830","filename":"file0"},{"photo_id":"1327402839","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402841":["hashtag1","hashtag2"]},{"1327402843":["hashtag1","hashtag2"]},{"1327402837":["hashtag1","hashtag2"]},{"1327402839":["hashtag1","hashtag2"]},{"1327402833":["hashtag1","hashtag2"]},{"1327402830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402841, 1327402843, 1327402837, 1327402839, 1327402833, 1327402830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.00718092918396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:09:02.697685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0003.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0000.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0001.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0003.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0000.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0001.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.94557499885559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:09:22.115440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0003.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0000.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0001.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0002.jpg', '/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0003.jpg', '/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/07/image_08012025_06_07_03_043907_0003.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0000.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0001.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0002.jpg
/home/pi/Desktop/images/08012025/06/08/image_08012025_06_08_02_590249_0003.jpg
/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402870","1327402867","1327402876","1327402864","1327402872","1327402874"],"photo_ids_order":["1327402864","1327402867","1327402870","1327402872","1327402874","1327402876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7c336df275d556b115eace1740fbca6.jpg","text":"TemporaryFile(/tmp/multipartBody5712829285190104535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_08_02_590249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fdc84308aba314ca46b230a30d70489.jpg","text":"TemporaryFile(/tmp/multipartBody2511961242864584281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_08_02_590249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a1dd6fe5dbc79a8787525c5cd591d91.jpg","text":"TemporaryFile(/tmp/multipartBody4669927733492347728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_09_03_052328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e51dda48a26575b9393864456688044b.jpg","text":"TemporaryFile(/tmp/multipartBody5785692514723804341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_07_03_043907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b6e64e0888825e258f1e6a4e5d89e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7985369359744244312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_08_02_590249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e62b61f3ed9fc28ceacd5111b0fc1518.jpg","text":"TemporaryFile(/tmp/multipartBody8601578758758890067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313037177,"filename":"image_08012025_06_08_02_590249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402870","file1":"1327402867","file0":"1327402864","file4":"1327402874","file5":"1327402876","file3":"1327402872"},"map_files_photo_id_array":[{"photo_id":"1327402876","filename":"file5"},{"photo_id":"1327402870","filename":"file2"},{"photo_id":"1327402874","filename":"file4"},{"photo_id":"1327402867","filename":"file1"},{"photo_id":"1327402864","filename":"file0"},{"photo_id":"1327402872","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402870":["hashtag1","hashtag2"]},{"1327402867":["hashtag1","hashtag2"]},{"1327402876":["hashtag1","hashtag2"]},{"1327402864":["hashtag1","hashtag2"]},{"1327402872":["hashtag1","hashtag2"]},{"1327402874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402870, 1327402867, 1327402876, 1327402864, 1327402872, 1327402874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56482744216919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:10:21.859574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0001.jpg', '/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0002.jpg', '/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0003.jpg', '/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0000.jpg', '/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0001.jpg', '/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0001.jpg
/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0002.jpg
/home/pi/Desktop/images/08012025/06/09/image_08012025_06_09_03_052328_0003.jpg
/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0000.jpg
/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0001.jpg
/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402881","1327402899","1327402890","1327402884","1327402902","1327402895"],"photo_ids_order":["1327402881","1327402884","1327402890","1327402895","1327402899","1327402902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ffb47be7f8f826a4672be5b4dd2ba03.jpg","text":"TemporaryFile(/tmp/multipartBody3595605699478611708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_09_03_052328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e5d5e2a52ec2a3f03cc7b18dfb433f6.jpg","text":"TemporaryFile(/tmp/multipartBody7518049999301575148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_10_02_649396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9394ea6ec82b4c425fd3d3388aff5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5586058420437895882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_09_03_052328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4436b6666284f068f8915957e369cf30.jpg","text":"TemporaryFile(/tmp/multipartBody2537896211282135583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_09_03_052328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32fde1f1437553f171ec13c69769ab4d.jpg","text":"TemporaryFile(/tmp/multipartBody7679285196239061142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_10_02_649396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d14d3a003828e1de2b55b5bd5c6c5994.jpg","text":"TemporaryFile(/tmp/multipartBody5764610313425725057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313096731,"filename":"image_08012025_06_10_02_649396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402890","file1":"1327402884","file0":"1327402881","file4":"1327402899","file5":"1327402902","file3":"1327402895"},"map_files_photo_id_array":[{"photo_id":"1327402902","filename":"file5"},{"photo_id":"1327402890","filename":"file2"},{"photo_id":"1327402899","filename":"file4"},{"photo_id":"1327402884","filename":"file1"},{"photo_id":"1327402881","filename":"file0"},{"photo_id":"1327402895","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402881":["hashtag1","hashtag2"]},{"1327402899":["hashtag1","hashtag2"]},{"1327402890":["hashtag1","hashtag2"]},{"1327402884":["hashtag1","hashtag2"]},{"1327402902":["hashtag1","hashtag2"]},{"1327402895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402881, 1327402899, 1327402890, 1327402884, 1327402902, 1327402895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49959993362427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:11:22.378094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0003.jpg', '/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0000.jpg', '/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0001.jpg', '/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/10/image_08012025_06_10_02_649396_0003.jpg
/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0000.jpg
/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0001.jpg
/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402910","1327402913","1327402916","1327402908"],"photo_ids_order":["1327402908","1327402910","1327402913","1327402916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8f32e57f07b65c0ffd96439d2fff85b.jpg","text":"TemporaryFile(/tmp/multipartBody1708842745787771084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313152398,"filename":"image_08012025_06_11_02_228211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/828cd55489e41f7b30d941e89e0545ec.jpg","text":"TemporaryFile(/tmp/multipartBody8520287456515067960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313152398,"filename":"image_08012025_06_11_02_228211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75ffe57fdbc2861b6d5d1145ac24cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody7135526007595023141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313152398,"filename":"image_08012025_06_11_02_228211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61a9968761ff000111df9fdb65464e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1016363202241964369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313152398,"filename":"image_08012025_06_10_02_649396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402913","file1":"1327402910","file0":"1327402908","file3":"1327402916"},"map_files_photo_id_array":[{"photo_id":"1327402913","filename":"file2"},{"photo_id":"1327402910","filename":"file1"},{"photo_id":"1327402908","filename":"file0"},{"photo_id":"1327402916","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402910":["hashtag1","hashtag2"]},{"1327402913":["hashtag1","hashtag2"]},{"1327402916":["hashtag1","hashtag2"]},{"1327402908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402910, 1327402913, 1327402916, 1327402908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.906747341156006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:12:02.305287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:12:21.976293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0003.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0000.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0001.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0003.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0000.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0001.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.650602102279663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:13:03.122226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0003.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0000.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0001.jpg', '/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/11/image_08012025_06_11_02_228211_0003.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0000.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0001.jpg
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327402940","1327402943","1327402937","1327402938"],"photo_ids_order":["1327402937","1327402938","1327402940","1327402943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3de60d9166f933ae6e0223e4c8d3003.jpg","text":"TemporaryFile(/tmp/multipartBody2132231280241087229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313253230,"filename":"image_08012025_06_12_02_800420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0f7374aac7956456e17fc76f43021d5.jpg","text":"TemporaryFile(/tmp/multipartBody3785171813855026737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313253230,"filename":"image_08012025_06_12_02_800420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/273c1976c746317dff6da02628d4a25f.jpg","text":"TemporaryFile(/tmp/multipartBody5304414056509744747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313253230,"filename":"image_08012025_06_11_02_228211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f98c07f8b39d72c8877c79f394c6a833.jpg","text":"TemporaryFile(/tmp/multipartBody7365389579967778840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313253230,"filename":"image_08012025_06_12_02_800420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402940","file1":"1327402938","file0":"1327402937","file3":"1327402943"},"map_files_photo_id_array":[{"photo_id":"1327402940","filename":"file2"},{"photo_id":"1327402938","filename":"file1"},{"photo_id":"1327402937","filename":"file0"},{"photo_id":"1327402943","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402940":["hashtag1","hashtag2"]},{"1327402943":["hashtag1","hashtag2"]},{"1327402937":["hashtag1","hashtag2"]},{"1327402938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402940, 1327402943, 1327402937, 1327402938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67110538482666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:14:02.436831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0003.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0000.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0001.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0003.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0000.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0001.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.718813180923462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:14:22.050715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0003.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0000.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0001.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0002.jpg', '/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0003.jpg', '/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/12/image_08012025_06_12_02_800420_0003.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0000.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0001.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0002.jpg
/home/pi/Desktop/images/08012025/06/13/image_08012025_06_13_02_337206_0003.jpg
/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_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":["1327402976","1327402979","1327402981","1327402974","1327402983","1327402971"],"photo_ids_order":["1327402971","1327402974","1327402976","1327402979","1327402981","1327402983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c5788e20dfc95a5f332d3189749e257.jpg","text":"TemporaryFile(/tmp/multipartBody7035346763210297833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_13_02_337206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2e04423ae046fc3a15ae02de95ebb37.jpg","text":"TemporaryFile(/tmp/multipartBody8508252867240028440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_13_02_337206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8820b2696df27e13ae932440d4664a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1215824229853345028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_13_02_337206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db821afbb74b5559465e71b49a1c0299.jpg","text":"TemporaryFile(/tmp/multipartBody3860705806333377961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_13_02_337206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ee56ae6bd44452ab6feac72e2ed0868.jpg","text":"TemporaryFile(/tmp/multipartBody46171559504818319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_14_02_838716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c886795503d704ba20d2d19b052ac497.jpg","text":"TemporaryFile(/tmp/multipartBody6124153025118812757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313336871,"filename":"image_08012025_06_12_02_800420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327402976","file1":"1327402974","file0":"1327402971","file4":"1327402981","file5":"1327402983","file3":"1327402979"},"map_files_photo_id_array":[{"photo_id":"1327402983","filename":"file5"},{"photo_id":"1327402976","filename":"file2"},{"photo_id":"1327402981","filename":"file4"},{"photo_id":"1327402974","filename":"file1"},{"photo_id":"1327402971","filename":"file0"},{"photo_id":"1327402979","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327402976":["hashtag1","hashtag2"]},{"1327402979":["hashtag1","hashtag2"]},{"1327402981":["hashtag1","hashtag2"]},{"1327402974":["hashtag1","hashtag2"]},{"1327402983":["hashtag1","hashtag2"]},{"1327402971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327402976, 1327402979, 1327402981, 1327402974, 1327402983, 1327402971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.70565915107727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:16:02.542121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_0001.jpg', '/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_0003.jpg', '/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0001.jpg', '/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_0001.jpg
/home/pi/Desktop/images/08012025/06/14/image_08012025_06_14_02_838716_0003.jpg
/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0001.jpg
/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403024","1327403015","1327403037","1327403022"],"photo_ids_order":["1327403015","1327403022","1327403024","1327403037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab088b7ca5e94adc3f75368b6ba1d699.jpg","text":"TemporaryFile(/tmp/multipartBody9034476036041100255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313432687,"filename":"image_08012025_06_15_02_383712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d76603df741f352aec888955f67c90a1.jpg","text":"TemporaryFile(/tmp/multipartBody2873103393386376994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313432687,"filename":"image_08012025_06_14_02_838716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ba25402cfd1314f3039736dc3b8911d.jpg","text":"TemporaryFile(/tmp/multipartBody4996620317580810916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313432687,"filename":"image_08012025_06_15_02_383712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2cbdfb5d58e418de90411aef3f324a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2404899450017166863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313432687,"filename":"image_08012025_06_14_02_838716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403024","file1":"1327403022","file0":"1327403015","file3":"1327403037"},"map_files_photo_id_array":[{"photo_id":"1327403024","filename":"file2"},{"photo_id":"1327403022","filename":"file1"},{"photo_id":"1327403015","filename":"file0"},{"photo_id":"1327403037","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403024":["hashtag1","hashtag2"]},{"1327403015":["hashtag1","hashtag2"]},{"1327403037":["hashtag1","hashtag2"]},{"1327403022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403024, 1327403015, 1327403037, 1327403022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.54279279708862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:17:03.442464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0003.jpg', '/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0000.jpg', '/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0001.jpg', '/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/15/image_08012025_06_15_02_383712_0003.jpg
/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0000.jpg
/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0001.jpg
/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403092","1327403128","1327403091","1327403130"],"photo_ids_order":["1327403091","1327403092","1327403128","1327403130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6bf29068ba3e246c978565e824fc60d4.jpg","text":"TemporaryFile(/tmp/multipartBody2302109483287943363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313493499,"filename":"image_08012025_06_16_02_933462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb45f999242157f6d932c739cb5898de.jpg","text":"TemporaryFile(/tmp/multipartBody8270181984876610149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313493499,"filename":"image_08012025_06_16_02_933462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f98f2514c44888c52fb807343a01e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody1543014533550702248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313493499,"filename":"image_08012025_06_15_02_383712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2dbdeee98e47f1bc6ed463ba864f7ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8633510702497714599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313493499,"filename":"image_08012025_06_16_02_933462_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403128","file1":"1327403092","file0":"1327403091","file3":"1327403130"},"map_files_photo_id_array":[{"photo_id":"1327403128","filename":"file2"},{"photo_id":"1327403092","filename":"file1"},{"photo_id":"1327403091","filename":"file0"},{"photo_id":"1327403130","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403092":["hashtag1","hashtag2"]},{"1327403128":["hashtag1","hashtag2"]},{"1327403091":["hashtag1","hashtag2"]},{"1327403130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403092, 1327403128, 1327403091, 1327403130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.35158181190491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:18:02.723335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0003.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0000.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0001.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0003.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0000.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0001.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.826692819595337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:18:22.301301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0003.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0000.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0001.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0002.jpg', '/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0003.jpg', '/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/16/image_08012025_06_16_02_933462_0003.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0000.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0001.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0002.jpg
/home/pi/Desktop/images/08012025/06/17/image_08012025_06_17_02_506522_0003.jpg
/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403173","1327403175","1327403169","1327403163","1327403166","1327403171"],"photo_ids_order":["1327403163","1327403166","1327403169","1327403171","1327403173","1327403175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f89da26b4c4915ac839c2936e9c27cc.jpg","text":"TemporaryFile(/tmp/multipartBody2456022384943899617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_17_02_506522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98c29555de4d0929fd9b5993248b5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4896405598301372220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_18_03_032616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aeea264a52c9a2ae521c569a19347f1d.jpg","text":"TemporaryFile(/tmp/multipartBody9164863320311688506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_17_02_506522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42ec12ef56a908dee2a8a38c99b60fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8351032457727402989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_16_02_933462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/879b4538eb3c847d6f55da641926db97.jpg","text":"TemporaryFile(/tmp/multipartBody2864196561592437409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_17_02_506522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c4ba2e0d3cd5f3edd993aa7b4820e13.jpg","text":"TemporaryFile(/tmp/multipartBody5580883705488436278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313577221,"filename":"image_08012025_06_17_02_506522_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403169","file1":"1327403166","file0":"1327403163","file4":"1327403173","file5":"1327403175","file3":"1327403171"},"map_files_photo_id_array":[{"photo_id":"1327403175","filename":"file5"},{"photo_id":"1327403169","filename":"file2"},{"photo_id":"1327403173","filename":"file4"},{"photo_id":"1327403166","filename":"file1"},{"photo_id":"1327403163","filename":"file0"},{"photo_id":"1327403171","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403173":["hashtag1","hashtag2"]},{"1327403175":["hashtag1","hashtag2"]},{"1327403169":["hashtag1","hashtag2"]},{"1327403163":["hashtag1","hashtag2"]},{"1327403166":["hashtag1","hashtag2"]},{"1327403171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403173, 1327403175, 1327403169, 1327403163, 1327403166, 1327403171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.253995180130005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:19:21.834938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0001.jpg', '/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0002.jpg', '/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0003.jpg', '/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0000.jpg', '/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0001.jpg', '/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0001.jpg
/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0002.jpg
/home/pi/Desktop/images/08012025/06/18/image_08012025_06_18_03_032616_0003.jpg
/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0000.jpg
/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0001.jpg
/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403194","1327403179","1327403187","1327403181","1327403184","1327403192"],"photo_ids_order":["1327403179","1327403181","1327403184","1327403187","1327403192","1327403194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c54886db11e24f61030e6a8468f7bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6074173210150216636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_19_02_733104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8ef413c61ab2f5f36155454eea7f514.jpg","text":"TemporaryFile(/tmp/multipartBody8526587893861891187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_18_03_032616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0b35a59007a83b61a11acfb4672e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody7171418817920020729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_19_02_733104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8091b3a7bd22d478693082b1bf58a966.jpg","text":"TemporaryFile(/tmp/multipartBody561644967077697125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_18_03_032616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94bfb6a2ffe4f88d46bc289700cc20ee.jpg","text":"TemporaryFile(/tmp/multipartBody3881476717594922092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_18_03_032616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12e499d85b764d6c16a553de353cc537.jpg","text":"TemporaryFile(/tmp/multipartBody8118340682506984192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313636743,"filename":"image_08012025_06_19_02_733104_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403184","file1":"1327403181","file0":"1327403179","file4":"1327403192","file5":"1327403194","file3":"1327403187"},"map_files_photo_id_array":[{"photo_id":"1327403194","filename":"file5"},{"photo_id":"1327403184","filename":"file2"},{"photo_id":"1327403192","filename":"file4"},{"photo_id":"1327403181","filename":"file1"},{"photo_id":"1327403179","filename":"file0"},{"photo_id":"1327403187","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403194":["hashtag1","hashtag2"]},{"1327403179":["hashtag1","hashtag2"]},{"1327403187":["hashtag1","hashtag2"]},{"1327403181":["hashtag1","hashtag2"]},{"1327403184":["hashtag1","hashtag2"]},{"1327403192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403194, 1327403179, 1327403187, 1327403181, 1327403184, 1327403192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.67113137245178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:20:22.348524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0003.jpg', '/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0000.jpg', '/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0001.jpg', '/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/19/image_08012025_06_19_02_733104_0003.jpg
/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0000.jpg
/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0001.jpg
/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403204","1327403197","1327403209","1327403200"],"photo_ids_order":["1327403197","1327403200","1327403204","1327403209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ced1596d91b5f28317369d608c09deb.jpg","text":"TemporaryFile(/tmp/multipartBody5863813618261626018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313692471,"filename":"image_08012025_06_20_02_237305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f8ac34301a58451814268646a0381c1.jpg","text":"TemporaryFile(/tmp/multipartBody3326784607510869947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313692471,"filename":"image_08012025_06_19_02_733104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ea2d0e5259cb551762a41189bcc3277.jpg","text":"TemporaryFile(/tmp/multipartBody3312938461963633502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313692471,"filename":"image_08012025_06_20_02_237305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4477b4a5763baaa28562ae7418c9def.jpg","text":"TemporaryFile(/tmp/multipartBody5493701920547671837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313692471,"filename":"image_08012025_06_20_02_237305_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403204","file1":"1327403200","file0":"1327403197","file3":"1327403209"},"map_files_photo_id_array":[{"photo_id":"1327403204","filename":"file2"},{"photo_id":"1327403200","filename":"file1"},{"photo_id":"1327403197","filename":"file0"},{"photo_id":"1327403209","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403204":["hashtag1","hashtag2"]},{"1327403197":["hashtag1","hashtag2"]},{"1327403209":["hashtag1","hashtag2"]},{"1327403200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403204, 1327403197, 1327403209, 1327403200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.449586391448975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:21:02.432773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:21:21.801474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0003.jpg', '/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0000.jpg', '/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/20/image_08012025_06_20_02_237305_0003.jpg
/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0000.jpg
/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403224","1327403221","1327403217"],"photo_ids_order":["1327403217","1327403221","1327403224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5871c379ff9edc8c5c00e84962b725f.jpg","text":"TemporaryFile(/tmp/multipartBody7850140330071089520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313749568,"filename":"image_08012025_06_21_02_762716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b1b0e67190ad356e8c472b4556ab8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1877098613693637818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313749568,"filename":"image_08012025_06_21_02_762716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b059682e4f949628b32d5a67bf18a4db.jpg","text":"TemporaryFile(/tmp/multipartBody3539819578022558279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313749568,"filename":"image_08012025_06_20_02_237305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403224","file1":"1327403221","file0":"1327403217"},"map_files_photo_id_array":[{"photo_id":"1327403224","filename":"file2"},{"photo_id":"1327403221","filename":"file1"},{"photo_id":"1327403217","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403224":["hashtag1","hashtag2"]},{"1327403221":["hashtag1","hashtag2"]},{"1327403217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403224, 1327403221, 1327403217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.774529695510864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:22:02.794980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:22:22.437889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0003.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0000.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0001.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0003.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0000.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0001.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.846325397491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:23:02.675114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0003.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0000.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0001.jpg', '/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/21/image_08012025_06_21_02_762716_0003.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0000.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0001.jpg
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403248","1327403250","1327403252","1327403246"],"photo_ids_order":["1327403246","1327403248","1327403250","1327403252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b72e4224b649514a048e727087d0254.jpg","text":"TemporaryFile(/tmp/multipartBody4313008394711789572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313852963,"filename":"image_08012025_06_22_02_204005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da2900e15879e7fa692508a1e0d6b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6917417262983117153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313852963,"filename":"image_08012025_06_22_02_204005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fada5007070f516dcd43c12040d98bc.jpg","text":"TemporaryFile(/tmp/multipartBody3591286729349007800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313852963,"filename":"image_08012025_06_22_02_204005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d28891aa77ce34c92467efa4c62afae8.jpg","text":"TemporaryFile(/tmp/multipartBody2476570309793421019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313852963,"filename":"image_08012025_06_21_02_762716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403250","file1":"1327403248","file0":"1327403246","file3":"1327403252"},"map_files_photo_id_array":[{"photo_id":"1327403250","filename":"file2"},{"photo_id":"1327403248","filename":"file1"},{"photo_id":"1327403246","filename":"file0"},{"photo_id":"1327403252","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403248":["hashtag1","hashtag2"]},{"1327403250":["hashtag1","hashtag2"]},{"1327403252":["hashtag1","hashtag2"]},{"1327403246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403248, 1327403250, 1327403252, 1327403246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.00314974784851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:24:03.190305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0003.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0000.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0001.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0003.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0000.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0001.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.75004267692566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:24:22.598519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0003.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0000.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0001.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0002.jpg', '/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0003.jpg', '/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/22/image_08012025_06_22_02_204005_0003.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0000.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0001.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0002.jpg
/home/pi/Desktop/images/08012025/06/23/image_08012025_06_23_02_845919_0003.jpg
/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403275","1327403269","1327403278","1327403272","1327403280","1327403282"],"photo_ids_order":["1327403269","1327403272","1327403275","1327403278","1327403280","1327403282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/386f38dbe41589e024753af203b02a8a.jpg","text":"TemporaryFile(/tmp/multipartBody651267361661787323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_23_02_845919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4a5646b357392df2ecdb221205290da.jpg","text":"TemporaryFile(/tmp/multipartBody2609001853534818629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_22_02_204005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/777802830cbfc4724e87ef60fb3d9c16.jpg","text":"TemporaryFile(/tmp/multipartBody2136842784583211137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_23_02_845919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e425e04a357394c86c683fd31eb9110e.jpg","text":"TemporaryFile(/tmp/multipartBody5146922665879245284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_23_02_845919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a5c03f3d5b83ef7646a2375923bf369.jpg","text":"TemporaryFile(/tmp/multipartBody6548479467937623394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_23_02_845919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/674bcf96370e2e24683e188286317972.jpg","text":"TemporaryFile(/tmp/multipartBody5036306554583947254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313937344,"filename":"image_08012025_06_24_02_381615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403275","file1":"1327403272","file0":"1327403269","file4":"1327403280","file5":"1327403282","file3":"1327403278"},"map_files_photo_id_array":[{"photo_id":"1327403282","filename":"file5"},{"photo_id":"1327403275","filename":"file2"},{"photo_id":"1327403280","filename":"file4"},{"photo_id":"1327403272","filename":"file1"},{"photo_id":"1327403269","filename":"file0"},{"photo_id":"1327403278","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403275":["hashtag1","hashtag2"]},{"1327403269":["hashtag1","hashtag2"]},{"1327403278":["hashtag1","hashtag2"]},{"1327403272":["hashtag1","hashtag2"]},{"1327403280":["hashtag1","hashtag2"]},{"1327403282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403275, 1327403269, 1327403278, 1327403272, 1327403280, 1327403282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.10206723213196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:25:22.167357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0001.jpg', '/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0002.jpg', '/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0003.jpg', '/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0000.jpg', '/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0001.jpg', '/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0001.jpg
/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0002.jpg
/home/pi/Desktop/images/08012025/06/24/image_08012025_06_24_02_381615_0003.jpg
/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0000.jpg
/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0001.jpg
/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403300","1327403296","1327403298","1327403294","1327403291","1327403288"],"photo_ids_order":["1327403288","1327403291","1327403294","1327403296","1327403298","1327403300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adfbe7ea819106a57588fd13b2d58729.jpg","text":"TemporaryFile(/tmp/multipartBody5802298248495130638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_25_03_045284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7649b3274cad5762ab3ace1a2031acc.jpg","text":"TemporaryFile(/tmp/multipartBody9218993504858587475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_25_03_045284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46bcc64c9bb71907b76b93ab785d3616.jpg","text":"TemporaryFile(/tmp/multipartBody2179896959099751944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_25_03_045284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/152245005306bf2abf643fde5933810c.jpg","text":"TemporaryFile(/tmp/multipartBody7057802119757668479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_24_02_381615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12da89c84fc6f1ed6a8d18a2b615523a.jpg","text":"TemporaryFile(/tmp/multipartBody280126253017326538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_24_02_381615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bde823282839f0e7a057db79ad301788.jpg","text":"TemporaryFile(/tmp/multipartBody4723850872664165311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736313996959,"filename":"image_08012025_06_24_02_381615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403294","file1":"1327403291","file0":"1327403288","file4":"1327403298","file5":"1327403300","file3":"1327403296"},"map_files_photo_id_array":[{"photo_id":"1327403300","filename":"file5"},{"photo_id":"1327403294","filename":"file2"},{"photo_id":"1327403298","filename":"file4"},{"photo_id":"1327403291","filename":"file1"},{"photo_id":"1327403288","filename":"file0"},{"photo_id":"1327403296","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403300":["hashtag1","hashtag2"]},{"1327403296":["hashtag1","hashtag2"]},{"1327403298":["hashtag1","hashtag2"]},{"1327403294":["hashtag1","hashtag2"]},{"1327403291":["hashtag1","hashtag2"]},{"1327403288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403300, 1327403296, 1327403298, 1327403294, 1327403291, 1327403288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75835132598877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:26:22.686276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0003.jpg', '/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0000.jpg', '/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0001.jpg', '/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/25/image_08012025_06_25_03_045284_0003.jpg
/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0000.jpg
/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0001.jpg
/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403303","1327403306","1327403310","1327403313"],"photo_ids_order":["1327403303","1327403306","1327403310","1327403313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e82e57391c554bb17921636bdc7951b.jpg","text":"TemporaryFile(/tmp/multipartBody8842487169768640186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314052822,"filename":"image_08012025_06_25_03_045284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37df39720108bacf0dd44a537bd33497.jpg","text":"TemporaryFile(/tmp/multipartBody8353408536895675475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314052822,"filename":"image_08012025_06_26_02_551460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af6b8ea1771fc2e57353838140169d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5751551816637972506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314052822,"filename":"image_08012025_06_26_02_551460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44d42ecb3aaefe81fcff33e351b13369.jpg","text":"TemporaryFile(/tmp/multipartBody1272576452648252334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314052822,"filename":"image_08012025_06_26_02_551460_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403310","file1":"1327403306","file0":"1327403303","file3":"1327403313"},"map_files_photo_id_array":[{"photo_id":"1327403310","filename":"file2"},{"photo_id":"1327403306","filename":"file1"},{"photo_id":"1327403303","filename":"file0"},{"photo_id":"1327403313","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403303":["hashtag1","hashtag2"]},{"1327403306":["hashtag1","hashtag2"]},{"1327403310":["hashtag1","hashtag2"]},{"1327403313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403303, 1327403306, 1327403310, 1327403313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71207880973816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:27:22.203959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0003.jpg', '/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0000.jpg', '/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0001.jpg', '/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/26/image_08012025_06_26_02_551460_0003.jpg
/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0000.jpg
/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0001.jpg
/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403332","1327403334","1327403325","1327403328"],"photo_ids_order":["1327403325","1327403328","1327403332","1327403334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1024fbea9085e76c460cea8fa75b8aee.jpg","text":"TemporaryFile(/tmp/multipartBody8821281249529838790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314112308,"filename":"image_08012025_06_27_03_068182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8006ac179657785d4938bae7de41ed48.jpg","text":"TemporaryFile(/tmp/multipartBody2215812975423877379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314112308,"filename":"image_08012025_06_27_03_068182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1a88944410ed2247530a0059b5b50f4.jpg","text":"TemporaryFile(/tmp/multipartBody3032829869134757509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314112308,"filename":"image_08012025_06_26_02_551460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df466ac9dfa9bffa327499f1920672b5.jpg","text":"TemporaryFile(/tmp/multipartBody6219783322735908492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314112308,"filename":"image_08012025_06_27_03_068182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403332","file1":"1327403328","file0":"1327403325","file3":"1327403334"},"map_files_photo_id_array":[{"photo_id":"1327403332","filename":"file2"},{"photo_id":"1327403328","filename":"file1"},{"photo_id":"1327403325","filename":"file0"},{"photo_id":"1327403334","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403332":["hashtag1","hashtag2"]},{"1327403334":["hashtag1","hashtag2"]},{"1327403325":["hashtag1","hashtag2"]},{"1327403328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403332, 1327403334, 1327403325, 1327403328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.51582598686218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:28:22.758833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0003.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0000.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0001.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0003.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0000.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0001.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85669493675232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:29:02.993083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0003.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0000.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0001.jpg', '/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/27/image_08012025_06_27_03_068182_0003.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0000.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0001.jpg
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403364","1327403357","1327403366","1327403360"],"photo_ids_order":["1327403357","1327403360","1327403364","1327403366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7f5e16fa9150165757e72beb2d86c08.jpg","text":"TemporaryFile(/tmp/multipartBody4604533949168224049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314213252,"filename":"image_08012025_06_28_02_572632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b30d1ecae315de45212c3638aa29ac41.jpg","text":"TemporaryFile(/tmp/multipartBody949951826374496415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314213252,"filename":"image_08012025_06_27_03_068182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/357a5ab481d451e82af6c9c6c5e83c22.jpg","text":"TemporaryFile(/tmp/multipartBody9000296820322296246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314213252,"filename":"image_08012025_06_28_02_572632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eab94c71581e2720ac3df00c21bdfe9c.jpg","text":"TemporaryFile(/tmp/multipartBody1271031042737372426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314213252,"filename":"image_08012025_06_28_02_572632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403364","file1":"1327403360","file0":"1327403357","file3":"1327403366"},"map_files_photo_id_array":[{"photo_id":"1327403364","filename":"file2"},{"photo_id":"1327403360","filename":"file1"},{"photo_id":"1327403357","filename":"file0"},{"photo_id":"1327403366","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403364":["hashtag1","hashtag2"]},{"1327403357":["hashtag1","hashtag2"]},{"1327403366":["hashtag1","hashtag2"]},{"1327403360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403364, 1327403357, 1327403366, 1327403360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.990241050720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:30:02.334651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0003.jpg', '/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0000.jpg', '/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0001.jpg', '/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/28/image_08012025_06_28_02_572632_0003.jpg
/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0000.jpg
/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0001.jpg
/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403392","1327403394","1327403390","1327403387"],"photo_ids_order":["1327403387","1327403390","1327403392","1327403394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12acf60b3eadc5e9d1a8b950544375f6.jpg","text":"TemporaryFile(/tmp/multipartBody8404033929884355466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314272673,"filename":"image_08012025_06_29_03_071737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f60afed9c88804e641204c70686312e9.jpg","text":"TemporaryFile(/tmp/multipartBody7612005221444619173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314272673,"filename":"image_08012025_06_29_03_071737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/141eda74939fad3980097730bf5fadc4.jpg","text":"TemporaryFile(/tmp/multipartBody5413367098316261596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314272673,"filename":"image_08012025_06_29_03_071737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72b6a536d0d03fe85c8df6d9e345a10f.jpg","text":"TemporaryFile(/tmp/multipartBody942710099789490919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314272673,"filename":"image_08012025_06_28_02_572632_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403392","file1":"1327403390","file0":"1327403387","file3":"1327403394"},"map_files_photo_id_array":[{"photo_id":"1327403392","filename":"file2"},{"photo_id":"1327403390","filename":"file1"},{"photo_id":"1327403387","filename":"file0"},{"photo_id":"1327403394","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403392":["hashtag1","hashtag2"]},{"1327403394":["hashtag1","hashtag2"]},{"1327403390":["hashtag1","hashtag2"]},{"1327403387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403392, 1327403394, 1327403390, 1327403387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.439661264419556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:31:03.053726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0003.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0000.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0001.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0003.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0000.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0001.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.851777791976929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:31:22.406689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0003.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0000.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0001.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0002.jpg', '/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0003.jpg', '/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/29/image_08012025_06_29_03_071737_0003.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0000.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0001.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0002.jpg
/home/pi/Desktop/images/08012025/06/30/image_08012025_06_30_02_592996_0003.jpg
/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403441","1327403437","1327403431","1327403425","1327403434","1327403428"],"photo_ids_order":["1327403425","1327403428","1327403431","1327403434","1327403437","1327403441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d9dcf132c508d9d5aa272c2b3223d83.jpg","text":"TemporaryFile(/tmp/multipartBody1346083566611681367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_31_02_294146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d135b59e6990a4c24bd5c47e90a65512.jpg","text":"TemporaryFile(/tmp/multipartBody4346904437997718428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_30_02_592996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca631e8eb7fe344a719cd6beccc2a5df.jpg","text":"TemporaryFile(/tmp/multipartBody2312058187695292156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_30_02_592996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/275398427241fe8dfd9d9038da724983.jpg","text":"TemporaryFile(/tmp/multipartBody626085538379148171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_29_03_071737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc487a3a23bd50b33d0e4594908b936f.jpg","text":"TemporaryFile(/tmp/multipartBody8811633695364979148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_30_02_592996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/120c0b3a9de784823570cbef4d94df95.jpg","text":"TemporaryFile(/tmp/multipartBody8250879662914669925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314357323,"filename":"image_08012025_06_30_02_592996_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403431","file1":"1327403428","file0":"1327403425","file4":"1327403437","file5":"1327403441","file3":"1327403434"},"map_files_photo_id_array":[{"photo_id":"1327403441","filename":"file5"},{"photo_id":"1327403431","filename":"file2"},{"photo_id":"1327403437","filename":"file4"},{"photo_id":"1327403428","filename":"file1"},{"photo_id":"1327403425","filename":"file0"},{"photo_id":"1327403434","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403441":["hashtag1","hashtag2"]},{"1327403437":["hashtag1","hashtag2"]},{"1327403431":["hashtag1","hashtag2"]},{"1327403425":["hashtag1","hashtag2"]},{"1327403434":["hashtag1","hashtag2"]},{"1327403428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403441, 1327403437, 1327403431, 1327403425, 1327403434, 1327403428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.354387044906616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:32:22.064177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0001.jpg', '/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0002.jpg', '/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0003.jpg', '/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0000.jpg', '/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0001.jpg', '/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0001.jpg
/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0002.jpg
/home/pi/Desktop/images/08012025/06/31/image_08012025_06_31_02_294146_0003.jpg
/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0000.jpg
/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0001.jpg
/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403449","1327403452","1327403466","1327403460","1327403456","1327403471"],"photo_ids_order":["1327403449","1327403452","1327403456","1327403460","1327403466","1327403471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12c8be0d0feac8cedb1eadde9162c72c.jpg","text":"TemporaryFile(/tmp/multipartBody3137147778147054962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_31_02_294146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdcecce9edfccdf05a988f9a5c390a76.jpg","text":"TemporaryFile(/tmp/multipartBody367566351777301077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_31_02_294146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4f0e5790b53d877b02df4ca8a7347e6.jpg","text":"TemporaryFile(/tmp/multipartBody7517311455191154871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_32_02_797474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10e0ff43b0da0aa8cd3fb1d23ec6421f.jpg","text":"TemporaryFile(/tmp/multipartBody8684011689756777894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_32_02_797474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46491fc30abf6ab4be71923d0aaa23fb.jpg","text":"TemporaryFile(/tmp/multipartBody1900395350973080197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_31_02_294146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77e7aa5c5faf1c753401717602ebea3e.jpg","text":"TemporaryFile(/tmp/multipartBody3049254213435274373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314417040,"filename":"image_08012025_06_32_02_797474_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403456","file1":"1327403452","file0":"1327403449","file4":"1327403466","file5":"1327403471","file3":"1327403460"},"map_files_photo_id_array":[{"photo_id":"1327403471","filename":"file5"},{"photo_id":"1327403456","filename":"file2"},{"photo_id":"1327403466","filename":"file4"},{"photo_id":"1327403452","filename":"file1"},{"photo_id":"1327403449","filename":"file0"},{"photo_id":"1327403460","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403449":["hashtag1","hashtag2"]},{"1327403452":["hashtag1","hashtag2"]},{"1327403466":["hashtag1","hashtag2"]},{"1327403460":["hashtag1","hashtag2"]},{"1327403456":["hashtag1","hashtag2"]},{"1327403471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403449, 1327403452, 1327403466, 1327403460, 1327403456, 1327403471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10631990432739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:33:22.652650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0003.jpg', '/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0000.jpg', '/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0001.jpg', '/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/32/image_08012025_06_32_02_797474_0003.jpg
/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0000.jpg
/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0001.jpg
/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403485","1327403494","1327403481","1327403489"],"photo_ids_order":["1327403481","1327403485","1327403489","1327403494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/232f70461a3843b0e588170555b2dbe5.jpg","text":"TemporaryFile(/tmp/multipartBody2134507551856105641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314472811,"filename":"image_08012025_06_33_02_477804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3033ecd95f804c1e2251e0c0be086542.jpg","text":"TemporaryFile(/tmp/multipartBody4734611306205302589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314472811,"filename":"image_08012025_06_33_02_477804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10df1a94a5781a1dbce6597129a26808.jpg","text":"TemporaryFile(/tmp/multipartBody436599287570127735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314472811,"filename":"image_08012025_06_32_02_797474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bc6ce131b34dcdfbb045096a663bc61.jpg","text":"TemporaryFile(/tmp/multipartBody5144892578861252989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314472811,"filename":"image_08012025_06_33_02_477804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403489","file1":"1327403485","file0":"1327403481","file3":"1327403494"},"map_files_photo_id_array":[{"photo_id":"1327403489","filename":"file2"},{"photo_id":"1327403485","filename":"file1"},{"photo_id":"1327403481","filename":"file0"},{"photo_id":"1327403494","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403485":["hashtag1","hashtag2"]},{"1327403494":["hashtag1","hashtag2"]},{"1327403481":["hashtag1","hashtag2"]},{"1327403489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403485, 1327403494, 1327403481, 1327403489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13503313064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:34:02.382212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:34:22.049333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0003.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0000.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0001.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0003.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0000.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0001.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.654876947402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:35:03.197159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0003.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0000.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0001.jpg', '/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/33/image_08012025_06_33_02_477804_0003.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0000.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0001.jpg
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403522","1327403521","1327403524","1327403527"],"photo_ids_order":["1327403521","1327403522","1327403524","1327403527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/229c15d9d32284b6b72770ec3ff181d6.jpg","text":"TemporaryFile(/tmp/multipartBody5137696683477340414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314573316,"filename":"image_08012025_06_34_02_973713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4d9af68aa89a4d1e9089eaa1faeb96a.jpg","text":"TemporaryFile(/tmp/multipartBody5925301411916912220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314573316,"filename":"image_08012025_06_33_02_477804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c753208b90e4f83bfafa11b32894c74f.jpg","text":"TemporaryFile(/tmp/multipartBody5708709067195714000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314573316,"filename":"image_08012025_06_34_02_973713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54d36d90bf75a111f264144b722a705f.jpg","text":"TemporaryFile(/tmp/multipartBody4498110327845013312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314573316,"filename":"image_08012025_06_34_02_973713_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403524","file1":"1327403522","file0":"1327403521","file3":"1327403527"},"map_files_photo_id_array":[{"photo_id":"1327403524","filename":"file2"},{"photo_id":"1327403522","filename":"file1"},{"photo_id":"1327403521","filename":"file0"},{"photo_id":"1327403527","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403522":["hashtag1","hashtag2"]},{"1327403521":["hashtag1","hashtag2"]},{"1327403524":["hashtag1","hashtag2"]},{"1327403527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403522, 1327403521, 1327403524, 1327403527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.75184941291809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:36:02.668317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0003.jpg', '/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0000.jpg', '/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0001.jpg', '/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/34/image_08012025_06_34_02_973713_0003.jpg
/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0000.jpg
/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0001.jpg
/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403542","1327403545","1327403547","1327403543"],"photo_ids_order":["1327403542","1327403543","1327403545","1327403547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/077952bd4a1b4f6d6b6ef267c8e1f095.jpg","text":"TemporaryFile(/tmp/multipartBody5957649420606532653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314632921,"filename":"image_08012025_06_34_02_973713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46ea64fa0438297939e07c4c7eb1ce25.jpg","text":"TemporaryFile(/tmp/multipartBody47000739859838086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314632921,"filename":"image_08012025_06_35_02_509615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7e4a584d0f66d2d983f0ade2247e030.jpg","text":"TemporaryFile(/tmp/multipartBody7646849465356855478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314632921,"filename":"image_08012025_06_35_02_509615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c55d84617e9f0782f4abe2c0d3ecf56.jpg","text":"TemporaryFile(/tmp/multipartBody951149036289018265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314632921,"filename":"image_08012025_06_35_02_509615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403545","file1":"1327403543","file0":"1327403542","file3":"1327403547"},"map_files_photo_id_array":[{"photo_id":"1327403545","filename":"file2"},{"photo_id":"1327403543","filename":"file1"},{"photo_id":"1327403542","filename":"file0"},{"photo_id":"1327403547","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403542":["hashtag1","hashtag2"]},{"1327403545":["hashtag1","hashtag2"]},{"1327403547":["hashtag1","hashtag2"]},{"1327403543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403542, 1327403545, 1327403547, 1327403543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05450749397278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:37:02.642164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0003.jpg', '/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0000.jpg', '/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0001.jpg', '/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/35/image_08012025_06_35_02_509615_0003.jpg
/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0000.jpg
/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0001.jpg
/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403562","1327403559","1327403564","1327403558"],"photo_ids_order":["1327403558","1327403559","1327403562","1327403564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a79cbf20995777652875946da46457a7.jpg","text":"TemporaryFile(/tmp/multipartBody1731442272049588012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314692767,"filename":"image_08012025_06_36_03_084574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ce5b5ccadb0a974dcb4041c0254de31.jpg","text":"TemporaryFile(/tmp/multipartBody7591212782911345286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314692767,"filename":"image_08012025_06_36_03_084574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97269ad63cb4fbd88adc6195a984a907.jpg","text":"TemporaryFile(/tmp/multipartBody5333514537690177833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314692767,"filename":"image_08012025_06_36_03_084574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2a86de5edba81b15aeb4c58e2ff91ec.jpg","text":"TemporaryFile(/tmp/multipartBody829748918164955351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314692767,"filename":"image_08012025_06_35_02_509615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403562","file1":"1327403559","file0":"1327403558","file3":"1327403564"},"map_files_photo_id_array":[{"photo_id":"1327403562","filename":"file2"},{"photo_id":"1327403559","filename":"file1"},{"photo_id":"1327403558","filename":"file0"},{"photo_id":"1327403564","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403562":["hashtag1","hashtag2"]},{"1327403559":["hashtag1","hashtag2"]},{"1327403564":["hashtag1","hashtag2"]},{"1327403558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403562, 1327403559, 1327403564, 1327403558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76917743682861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:38:02.939006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0003.jpg', '/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0000.jpg', '/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0001.jpg', '/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/36/image_08012025_06_36_03_084574_0003.jpg
/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0000.jpg
/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0001.jpg
/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403578","1327403575","1327403580","1327403576"],"photo_ids_order":["1327403575","1327403576","1327403578","1327403580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53fd9ccba2d1217004c74d5e35793f20.jpg","text":"TemporaryFile(/tmp/multipartBody1634884290681746134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314753220,"filename":"image_08012025_06_37_02_737438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/319044eb2b7088f403c03ff71430acad.jpg","text":"TemporaryFile(/tmp/multipartBody263913349184377033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314753220,"filename":"image_08012025_06_36_03_084574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f27e2902b1cd098962b1cac05eda6875.jpg","text":"TemporaryFile(/tmp/multipartBody1000990252071369114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314753220,"filename":"image_08012025_06_37_02_737438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3646b5f95ed2637815d33f9ac03fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody598978406850378639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314753220,"filename":"image_08012025_06_37_02_737438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403578","file1":"1327403576","file0":"1327403575","file3":"1327403580"},"map_files_photo_id_array":[{"photo_id":"1327403578","filename":"file2"},{"photo_id":"1327403576","filename":"file1"},{"photo_id":"1327403575","filename":"file0"},{"photo_id":"1327403580","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403578":["hashtag1","hashtag2"]},{"1327403575":["hashtag1","hashtag2"]},{"1327403580":["hashtag1","hashtag2"]},{"1327403576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403578, 1327403575, 1327403580, 1327403576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.196763038635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:39:02.639902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0003.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0000.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0001.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0003.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0000.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0001.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.7968111038208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:39:21.963076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0003.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0000.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0001.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0002.jpg', '/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0003.jpg', '/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/37/image_08012025_06_37_02_737438_0003.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0000.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0001.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0002.jpg
/home/pi/Desktop/images/08012025/06/38/image_08012025_06_38_02_287646_0003.jpg
/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403609","1327403611","1327403605","1327403598","1327403607","1327403601"],"photo_ids_order":["1327403598","1327403601","1327403605","1327403607","1327403609","1327403611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73035ae8ba6a1317c353e921abcb5f53.jpg","text":"TemporaryFile(/tmp/multipartBody5466389695937777967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_38_02_287646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6e97a4632a8122dda5c8e3dcd65fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody4076330984654749337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_39_02_878077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a63ee6490a334ea71236979bf02174dd.jpg","text":"TemporaryFile(/tmp/multipartBody8229033202609628819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_38_02_287646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28c91054d0ab17acb2dfef44bbde19ba.jpg","text":"TemporaryFile(/tmp/multipartBody3401931636895878431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_37_02_737438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f52381a9fc34723eef220ced1fd7cd23.jpg","text":"TemporaryFile(/tmp/multipartBody8703731663259530977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_38_02_287646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75eb1de0710c9f7dc0a35caf2aaf2822.jpg","text":"TemporaryFile(/tmp/multipartBody6626312294642500321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314836871,"filename":"image_08012025_06_38_02_287646_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403605","file1":"1327403601","file0":"1327403598","file4":"1327403609","file5":"1327403611","file3":"1327403607"},"map_files_photo_id_array":[{"photo_id":"1327403611","filename":"file5"},{"photo_id":"1327403605","filename":"file2"},{"photo_id":"1327403609","filename":"file4"},{"photo_id":"1327403601","filename":"file1"},{"photo_id":"1327403598","filename":"file0"},{"photo_id":"1327403607","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403609":["hashtag1","hashtag2"]},{"1327403611":["hashtag1","hashtag2"]},{"1327403605":["hashtag1","hashtag2"]},{"1327403598":["hashtag1","hashtag2"]},{"1327403607":["hashtag1","hashtag2"]},{"1327403601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403609, 1327403611, 1327403605, 1327403598, 1327403607, 1327403601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.72172522544861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:40:22.631062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0001.jpg', '/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0002.jpg', '/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0003.jpg', '/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0000.jpg', '/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0001.jpg', '/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0001.jpg
/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0002.jpg
/home/pi/Desktop/images/08012025/06/39/image_08012025_06_39_02_878077_0003.jpg
/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0000.jpg
/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0001.jpg
/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403621","1327403626","1327403628","1327403630","1327403624","1327403618"],"photo_ids_order":["1327403618","1327403621","1327403624","1327403626","1327403628","1327403630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/040a9ab2d735a1aac21c5e8a33997e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3812656451767025281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_39_02_878077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b946c718c8bd4a4c8592639587c7e08c.jpg","text":"TemporaryFile(/tmp/multipartBody8493085960330190121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_40_02_404103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98ea31cb92b93791ef1f6ae2ef95e72c.jpg","text":"TemporaryFile(/tmp/multipartBody3753663136122103419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_40_02_404103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4587816d0f9b651350ece35ad698fec3.jpg","text":"TemporaryFile(/tmp/multipartBody1361311664451892380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_40_02_404103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7846d71386e3a4ac8aa366b0482a2db.jpg","text":"TemporaryFile(/tmp/multipartBody5992491655521151802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_39_02_878077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb52ae70796dd316a37ffce8fb6a4f92.jpg","text":"TemporaryFile(/tmp/multipartBody7077596164525287238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314897598,"filename":"image_08012025_06_39_02_878077_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403624","file1":"1327403621","file0":"1327403618","file4":"1327403628","file5":"1327403630","file3":"1327403626"},"map_files_photo_id_array":[{"photo_id":"1327403630","filename":"file5"},{"photo_id":"1327403624","filename":"file2"},{"photo_id":"1327403628","filename":"file4"},{"photo_id":"1327403621","filename":"file1"},{"photo_id":"1327403618","filename":"file0"},{"photo_id":"1327403626","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403621":["hashtag1","hashtag2"]},{"1327403626":["hashtag1","hashtag2"]},{"1327403628":["hashtag1","hashtag2"]},{"1327403630":["hashtag1","hashtag2"]},{"1327403624":["hashtag1","hashtag2"]},{"1327403618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403621, 1327403626, 1327403628, 1327403630, 1327403624, 1327403618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.42016410827637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:41:22.122593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0003.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0000.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0001.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0003.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0000.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0001.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.718541145324707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:42:03.223787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0003.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0000.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0001.jpg', '/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/40/image_08012025_06_40_02_404103_0003.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0000.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0001.jpg
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403647","1327403646","1327403649","1327403651"],"photo_ids_order":["1327403646","1327403647","1327403649","1327403651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/767366b6f7f5572bb6884dee63fef3e9.jpg","text":"TemporaryFile(/tmp/multipartBody536761028870348241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314993328,"filename":"image_08012025_06_41_02_998574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e28c61f9c7991c29961359dcdd1986e.jpg","text":"TemporaryFile(/tmp/multipartBody2518208838785917244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314993328,"filename":"image_08012025_06_40_02_404103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/938ef00f6ea0e78e74233afff10b86a9.jpg","text":"TemporaryFile(/tmp/multipartBody8051120588484687358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314993328,"filename":"image_08012025_06_41_02_998574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14f582709998683c28d946a698e85d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2886704362685449981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736314993328,"filename":"image_08012025_06_41_02_998574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403649","file1":"1327403647","file0":"1327403646","file3":"1327403651"},"map_files_photo_id_array":[{"photo_id":"1327403649","filename":"file2"},{"photo_id":"1327403647","filename":"file1"},{"photo_id":"1327403646","filename":"file0"},{"photo_id":"1327403651","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403647":["hashtag1","hashtag2"]},{"1327403646":["hashtag1","hashtag2"]},{"1327403649":["hashtag1","hashtag2"]},{"1327403651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403647, 1327403646, 1327403649, 1327403651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51836061477661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:43:03.036863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0003.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0000.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0001.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0003.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0000.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0001.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.871317386627197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:43:22.280452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0003.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0000.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0001.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0002.jpg', '/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0003.jpg', '/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/41/image_08012025_06_41_02_998574_0003.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0000.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0001.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0002.jpg
/home/pi/Desktop/images/08012025/06/42/image_08012025_06_42_02_503408_0003.jpg
/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403677","1327403674","1327403679","1327403670","1327403681","1327403684"],"photo_ids_order":["1327403670","1327403674","1327403677","1327403679","1327403681","1327403684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03aa2b372267a6a4c8b9048ee0cf597d.jpg","text":"TemporaryFile(/tmp/multipartBody8406725149086533068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_42_02_503408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa02c78334932ea793746692e0611cce.jpg","text":"TemporaryFile(/tmp/multipartBody2140845751946333566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_42_02_503408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f05529c778f5571af74daf8b0d935be1.jpg","text":"TemporaryFile(/tmp/multipartBody683432530261459997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_42_02_503408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cccd7752969dbc06af9025b81fc6f98.jpg","text":"TemporaryFile(/tmp/multipartBody5286994171941503877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_41_02_998574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae1966814ce850cc0161a637c0c5a415.jpg","text":"TemporaryFile(/tmp/multipartBody5699333640302565917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_42_02_503408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d7623c9a23334657555b22c9c30a603.jpg","text":"TemporaryFile(/tmp/multipartBody1833504738733814214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315077351,"filename":"image_08012025_06_43_03_097929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403677","file1":"1327403674","file0":"1327403670","file4":"1327403681","file5":"1327403684","file3":"1327403679"},"map_files_photo_id_array":[{"photo_id":"1327403684","filename":"file5"},{"photo_id":"1327403677","filename":"file2"},{"photo_id":"1327403681","filename":"file4"},{"photo_id":"1327403674","filename":"file1"},{"photo_id":"1327403670","filename":"file0"},{"photo_id":"1327403679","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403677":["hashtag1","hashtag2"]},{"1327403674":["hashtag1","hashtag2"]},{"1327403679":["hashtag1","hashtag2"]},{"1327403670":["hashtag1","hashtag2"]},{"1327403681":["hashtag1","hashtag2"]},{"1327403684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403677, 1327403674, 1327403679, 1327403670, 1327403681, 1327403684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94504690170288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:44:21.909652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0001.jpg', '/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0002.jpg', '/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0003.jpg', '/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0000.jpg', '/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0001.jpg', '/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0001.jpg
/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0002.jpg
/home/pi/Desktop/images/08012025/06/43/image_08012025_06_43_03_097929_0003.jpg
/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0000.jpg
/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0001.jpg
/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403705","1327403702","1327403715","1327403709","1327403699","1327403696"],"photo_ids_order":["1327403696","1327403699","1327403702","1327403705","1327403709","1327403715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/576b85a286ce44dc2216b02d00b0fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody3047617736788361173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_44_02_649564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99f4fcb857210836ffc64013f776d81e.jpg","text":"TemporaryFile(/tmp/multipartBody189449584492828338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_43_03_097929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e29db1e3c96593322f55d3f0f08417d3.jpg","text":"TemporaryFile(/tmp/multipartBody6392843612699004274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_44_02_649564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbf790679ad9d825fb85a4e56e6cf6fe.jpg","text":"TemporaryFile(/tmp/multipartBody50740513978639503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_44_02_649564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99a882b550dfef9de66498aa0c8b117d.jpg","text":"TemporaryFile(/tmp/multipartBody1358486864083730850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_43_03_097929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d61d2c335e2d383a455afcb661ab327.jpg","text":"TemporaryFile(/tmp/multipartBody1395717568368375539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315137008,"filename":"image_08012025_06_43_03_097929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403702","file1":"1327403699","file0":"1327403696","file4":"1327403709","file5":"1327403715","file3":"1327403705"},"map_files_photo_id_array":[{"photo_id":"1327403715","filename":"file5"},{"photo_id":"1327403702","filename":"file2"},{"photo_id":"1327403709","filename":"file4"},{"photo_id":"1327403699","filename":"file1"},{"photo_id":"1327403696","filename":"file0"},{"photo_id":"1327403705","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403705":["hashtag1","hashtag2"]},{"1327403702":["hashtag1","hashtag2"]},{"1327403715":["hashtag1","hashtag2"]},{"1327403709":["hashtag1","hashtag2"]},{"1327403699":["hashtag1","hashtag2"]},{"1327403696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403705, 1327403702, 1327403715, 1327403709, 1327403699, 1327403696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.379507303237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:45:22.391170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0003.jpg', '/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0000.jpg', '/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0001.jpg', '/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/44/image_08012025_06_44_02_649564_0003.jpg
/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0000.jpg
/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0001.jpg
/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403731","1327403728","1327403725","1327403735"],"photo_ids_order":["1327403725","1327403728","1327403731","1327403735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf6d6a4e406637ae9509e29935397beb.jpg","text":"TemporaryFile(/tmp/multipartBody6137164936651761380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315192716,"filename":"image_08012025_06_45_02_248541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9605c0e185eea70c1728edeb5a3e1cc4.jpg","text":"TemporaryFile(/tmp/multipartBody7270860347905950484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315192716,"filename":"image_08012025_06_45_02_248541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5842b59f6a4ba6deb379181964d15255.jpg","text":"TemporaryFile(/tmp/multipartBody2422228668382506579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315192716,"filename":"image_08012025_06_44_02_649564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7855efc4f7b7ab7f498c2a8944ff9d59.jpg","text":"TemporaryFile(/tmp/multipartBody6930511279942746888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315192716,"filename":"image_08012025_06_45_02_248541_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403731","file1":"1327403728","file0":"1327403725","file3":"1327403735"},"map_files_photo_id_array":[{"photo_id":"1327403731","filename":"file2"},{"photo_id":"1327403728","filename":"file1"},{"photo_id":"1327403725","filename":"file0"},{"photo_id":"1327403735","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403731":["hashtag1","hashtag2"]},{"1327403728":["hashtag1","hashtag2"]},{"1327403725":["hashtag1","hashtag2"]},{"1327403735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403731, 1327403728, 1327403725, 1327403735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4213604927063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:46:02.465324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:46:21.977615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0003.jpg', '/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0000.jpg', '/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0001.jpg', '/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/45/image_08012025_06_45_02_248541_0003.jpg
/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0000.jpg
/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0001.jpg
/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403751","1327403745","1327403754","1327403748"],"photo_ids_order":["1327403745","1327403748","1327403751","1327403754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80c07ba4aaa65787ec9c5264a252ee88.jpg","text":"TemporaryFile(/tmp/multipartBody4515322339310588736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315252289,"filename":"image_08012025_06_46_02_842471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f05f329825def3e7cdf7ca4f8d538066.jpg","text":"TemporaryFile(/tmp/multipartBody4745686231065893644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315252289,"filename":"image_08012025_06_45_02_248541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d27afb243401dda6eeab85017c4bf256.jpg","text":"TemporaryFile(/tmp/multipartBody8914954741600112102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315252289,"filename":"image_08012025_06_46_02_842471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88313a004011ff362af3955402f84ebf.jpg","text":"TemporaryFile(/tmp/multipartBody5436670269360417447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315252289,"filename":"image_08012025_06_46_02_842471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403751","file1":"1327403748","file0":"1327403745","file3":"1327403754"},"map_files_photo_id_array":[{"photo_id":"1327403751","filename":"file2"},{"photo_id":"1327403748","filename":"file1"},{"photo_id":"1327403745","filename":"file0"},{"photo_id":"1327403754","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403751":["hashtag1","hashtag2"]},{"1327403745":["hashtag1","hashtag2"]},{"1327403754":["hashtag1","hashtag2"]},{"1327403748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403751, 1327403745, 1327403754, 1327403748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.633646726608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:47:03.091649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:47:22.431989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0003.jpg', '/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0000.jpg', '/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0001.jpg', '/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/46/image_08012025_06_46_02_842471_0003.jpg
/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0000.jpg
/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0001.jpg
/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403770","1327403764","1327403767","1327403760"],"photo_ids_order":["1327403760","1327403764","1327403767","1327403770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4405c6940158c4ab03bd357e6cc4ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3501371094693236594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315312507,"filename":"image_08012025_06_47_02_377428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c40422ce689afcd4e1f5065395ed3ba.jpg","text":"TemporaryFile(/tmp/multipartBody417197295090293704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315312507,"filename":"image_08012025_06_47_02_377428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd16b84d283a340fdede3cb92e4b86a0.jpg","text":"TemporaryFile(/tmp/multipartBody7132754717855911274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315312507,"filename":"image_08012025_06_47_02_377428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6f3b173fccc9f74f943d117810bfca9.jpg","text":"TemporaryFile(/tmp/multipartBody3914124664043083139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315312507,"filename":"image_08012025_06_46_02_842471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403767","file1":"1327403764","file0":"1327403760","file3":"1327403770"},"map_files_photo_id_array":[{"photo_id":"1327403767","filename":"file2"},{"photo_id":"1327403764","filename":"file1"},{"photo_id":"1327403760","filename":"file0"},{"photo_id":"1327403770","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403770":["hashtag1","hashtag2"]},{"1327403764":["hashtag1","hashtag2"]},{"1327403767":["hashtag1","hashtag2"]},{"1327403760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403770, 1327403764, 1327403767, 1327403760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36013865470886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:48:02.586977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:48:22.135486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0003.jpg', '/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0000.jpg', '/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0001.jpg', '/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/47/image_08012025_06_47_02_377428_0003.jpg
/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0000.jpg
/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0001.jpg
/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403788","1327403780","1327403783","1327403777"],"photo_ids_order":["1327403777","1327403780","1327403783","1327403788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b190c97450f6b0b45e8a658efa446771.jpg","text":"TemporaryFile(/tmp/multipartBody8885165031563115307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315372250,"filename":"image_08012025_06_48_02_936840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa5c79ad370698d2f65ea57f3b45c14f.jpg","text":"TemporaryFile(/tmp/multipartBody6939979709393439321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315372250,"filename":"image_08012025_06_48_02_936840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d54d36d830e52896756eb67d21e5487c.jpg","text":"TemporaryFile(/tmp/multipartBody229886977428520526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315372250,"filename":"image_08012025_06_48_02_936840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/316f59cb34df676da4aa2b7c73788866.jpg","text":"TemporaryFile(/tmp/multipartBody1927929452440016953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315372250,"filename":"image_08012025_06_47_02_377428_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403783","file1":"1327403780","file0":"1327403777","file3":"1327403788"},"map_files_photo_id_array":[{"photo_id":"1327403783","filename":"file2"},{"photo_id":"1327403780","filename":"file1"},{"photo_id":"1327403777","filename":"file0"},{"photo_id":"1327403788","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403788":["hashtag1","hashtag2"]},{"1327403780":["hashtag1","hashtag2"]},{"1327403783":["hashtag1","hashtag2"]},{"1327403777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403788, 1327403780, 1327403783, 1327403777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14462327957153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:49:03.331984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:49:22.555259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0003.jpg', '/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0000.jpg', '/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0001.jpg', '/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/48/image_08012025_06_48_02_936840_0003.jpg
/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0000.jpg
/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0001.jpg
/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403799","1327403805","1327403808","1327403802"],"photo_ids_order":["1327403799","1327403802","1327403805","1327403808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc67ee372ebaa5cb11ae61671f2c2c1c.jpg","text":"TemporaryFile(/tmp/multipartBody4178921387301178228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315432624,"filename":"image_08012025_06_48_02_936840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ccc0ce450113c52f675244a420bff7c.jpg","text":"TemporaryFile(/tmp/multipartBody5582447475566318780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315432624,"filename":"image_08012025_06_49_02_507797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/122a6636f1403cf7f4ca8b0c5b326782.jpg","text":"TemporaryFile(/tmp/multipartBody1471338293781666368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315432624,"filename":"image_08012025_06_49_02_507797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f1b1aa7ce60bdd39e360dc4c7a2eafe.jpg","text":"TemporaryFile(/tmp/multipartBody5392842529429931083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315432624,"filename":"image_08012025_06_49_02_507797_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403805","file1":"1327403802","file0":"1327403799","file3":"1327403808"},"map_files_photo_id_array":[{"photo_id":"1327403805","filename":"file2"},{"photo_id":"1327403802","filename":"file1"},{"photo_id":"1327403799","filename":"file0"},{"photo_id":"1327403808","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403799":["hashtag1","hashtag2"]},{"1327403805":["hashtag1","hashtag2"]},{"1327403808":["hashtag1","hashtag2"]},{"1327403802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403799, 1327403805, 1327403808, 1327403802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.093443393707275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:50:22.203819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0003.jpg', '/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0000.jpg', '/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0001.jpg', '/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/49/image_08012025_06_49_02_507797_0003.jpg
/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0000.jpg
/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0001.jpg
/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403815","1327403818","1327403826","1327403822"],"photo_ids_order":["1327403815","1327403818","1327403822","1327403826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bb0ecd8d2e7275e656396ccc4f1edea.jpg","text":"TemporaryFile(/tmp/multipartBody6243538653676612466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315492327,"filename":"image_08012025_06_49_02_507797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68ec84a9adad4eb29b80eb67067ab4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7764379496400373633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315492327,"filename":"image_08012025_06_50_02_958060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e997a00198145d7f1daa507723ef236f.jpg","text":"TemporaryFile(/tmp/multipartBody6008601622729805899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315492327,"filename":"image_08012025_06_50_02_958060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bcb126693595e96c8885f229f6711bf.jpg","text":"TemporaryFile(/tmp/multipartBody2849989202998213681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315492327,"filename":"image_08012025_06_50_02_958060_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403822","file1":"1327403818","file0":"1327403815","file3":"1327403826"},"map_files_photo_id_array":[{"photo_id":"1327403822","filename":"file2"},{"photo_id":"1327403818","filename":"file1"},{"photo_id":"1327403815","filename":"file0"},{"photo_id":"1327403826","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403815":["hashtag1","hashtag2"]},{"1327403818":["hashtag1","hashtag2"]},{"1327403826":["hashtag1","hashtag2"]},{"1327403822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403815, 1327403818, 1327403826, 1327403822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.26453948020935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:51:21.747797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0003.jpg', '/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0000.jpg', '/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0001.jpg', '/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/50/image_08012025_06_50_02_958060_0003.jpg
/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0000.jpg
/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0001.jpg
/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403845","1327403836","1327403841","1327403843"],"photo_ids_order":["1327403836","1327403841","1327403843","1327403845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/895ddb092b40665fa8baa2e91cd46655.jpg","text":"TemporaryFile(/tmp/multipartBody6319890390259825362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315551800,"filename":"image_08012025_06_51_02_632099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4890fbd1032bbf19b5d0b46780a1948.jpg","text":"TemporaryFile(/tmp/multipartBody5704276033367804366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315551800,"filename":"image_08012025_06_50_02_958060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d680047ab56fc10f7ddfe3a9c237e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3404115218183548804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315551800,"filename":"image_08012025_06_51_02_632099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e8c8a259f83e526999793d2e77ac087.jpg","text":"TemporaryFile(/tmp/multipartBody2693269163052651912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315551800,"filename":"image_08012025_06_51_02_632099_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403843","file1":"1327403841","file0":"1327403836","file3":"1327403845"},"map_files_photo_id_array":[{"photo_id":"1327403843","filename":"file2"},{"photo_id":"1327403841","filename":"file1"},{"photo_id":"1327403836","filename":"file0"},{"photo_id":"1327403845","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403845":["hashtag1","hashtag2"]},{"1327403836":["hashtag1","hashtag2"]},{"1327403841":["hashtag1","hashtag2"]},{"1327403843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403845, 1327403836, 1327403841, 1327403843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.20026969909668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:52:22.328602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0003.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0000.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0001.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0003.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0000.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0001.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.659525632858276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:53:02.358373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0003.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0000.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0001.jpg', '/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/51/image_08012025_06_51_02_632099_0003.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0000.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0001.jpg
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403866","1327403862","1327403864","1327403861"],"photo_ids_order":["1327403861","1327403862","1327403864","1327403866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/191a7cbc4a414108bdcbae6270167b48.jpg","text":"TemporaryFile(/tmp/multipartBody7636995445219498272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315652478,"filename":"image_08012025_06_52_02_177397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b51aecaf0c0fbc4fb4e57b1396bd44e3.jpg","text":"TemporaryFile(/tmp/multipartBody985477106300865399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315652478,"filename":"image_08012025_06_52_02_177397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5d24279d263a26f25bbb03f103e42d8.jpg","text":"TemporaryFile(/tmp/multipartBody5728746780621900331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315652478,"filename":"image_08012025_06_52_02_177397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da12699aad6cac8dbc4282f486c31b71.jpg","text":"TemporaryFile(/tmp/multipartBody1113655455038105801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315652478,"filename":"image_08012025_06_51_02_632099_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403864","file1":"1327403862","file0":"1327403861","file3":"1327403866"},"map_files_photo_id_array":[{"photo_id":"1327403864","filename":"file2"},{"photo_id":"1327403862","filename":"file1"},{"photo_id":"1327403861","filename":"file0"},{"photo_id":"1327403866","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403866":["hashtag1","hashtag2"]},{"1327403862":["hashtag1","hashtag2"]},{"1327403864":["hashtag1","hashtag2"]},{"1327403861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403866, 1327403862, 1327403864, 1327403861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.05904507637024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:54:02.789961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0003.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0000.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0001.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0003.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0000.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0001.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.872031688690186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:54:22.504700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0003.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0000.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0001.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0002.jpg', '/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0003.jpg', '/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/52/image_08012025_06_52_02_177397_0003.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0000.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0001.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0002.jpg
/home/pi/Desktop/images/08012025/06/53/image_08012025_06_53_02_698765_0003.jpg
/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403893","1327403887","1327403895","1327403889","1327403891","1327403885"],"photo_ids_order":["1327403885","1327403887","1327403889","1327403891","1327403893","1327403895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5721f587477b88c2c76ef593abc3e973.jpg","text":"TemporaryFile(/tmp/multipartBody6513970380160650944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_53_02_698765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef7617df4be4946897c8d39f8a611326.jpg","text":"TemporaryFile(/tmp/multipartBody4885575726921607097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_53_02_698765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57f8eb032dcccbfbaebc51dfc4546255.jpg","text":"TemporaryFile(/tmp/multipartBody3890473090284681646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_54_02_222766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d52a6e09f7b3a08f0f1438f36f9a33f.jpg","text":"TemporaryFile(/tmp/multipartBody3573756324826189595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_53_02_698765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b492d74212b9a9b82e92baf9204132b6.jpg","text":"TemporaryFile(/tmp/multipartBody6294912307408641873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_53_02_698765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0af5cb31ce1903fe2742d3496f709324.jpg","text":"TemporaryFile(/tmp/multipartBody1667021297063836283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315737485,"filename":"image_08012025_06_52_02_177397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403889","file1":"1327403887","file0":"1327403885","file4":"1327403893","file5":"1327403895","file3":"1327403891"},"map_files_photo_id_array":[{"photo_id":"1327403895","filename":"file5"},{"photo_id":"1327403889","filename":"file2"},{"photo_id":"1327403893","filename":"file4"},{"photo_id":"1327403887","filename":"file1"},{"photo_id":"1327403885","filename":"file0"},{"photo_id":"1327403891","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403893":["hashtag1","hashtag2"]},{"1327403887":["hashtag1","hashtag2"]},{"1327403895":["hashtag1","hashtag2"]},{"1327403889":["hashtag1","hashtag2"]},{"1327403891":["hashtag1","hashtag2"]},{"1327403885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403893, 1327403887, 1327403895, 1327403889, 1327403891, 1327403885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.133610010147095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:55:22.020607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0001.jpg', '/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0002.jpg', '/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0003.jpg', '/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0000.jpg', '/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0001.jpg', '/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0001.jpg
/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0002.jpg
/home/pi/Desktop/images/08012025/06/54/image_08012025_06_54_02_222766_0003.jpg
/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0000.jpg
/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0001.jpg
/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403912","1327403906","1327403908","1327403910","1327403904","1327403901"],"photo_ids_order":["1327403901","1327403904","1327403906","1327403908","1327403910","1327403912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdb94987014d5424e82b7cad28bb215c.jpg","text":"TemporaryFile(/tmp/multipartBody6944128298810081067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_55_02_910329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd5fac2a432a4f6f1c9c595d2bd1b7a0.jpg","text":"TemporaryFile(/tmp/multipartBody2218530825138009144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_54_02_222766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b3198b6028a04fabe0f26492f7e1048.jpg","text":"TemporaryFile(/tmp/multipartBody8589663817915569379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_55_02_910329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00de683abf605956792d20351e18234c.jpg","text":"TemporaryFile(/tmp/multipartBody3301761230024230618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_55_02_910329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11eddda35319efa27c6a90aca17619e4.jpg","text":"TemporaryFile(/tmp/multipartBody8754706859268014063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_54_02_222766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25a752a6c906866dbcb1ae6e6cc70639.jpg","text":"TemporaryFile(/tmp/multipartBody2842688878501636275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315797036,"filename":"image_08012025_06_54_02_222766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403906","file1":"1327403904","file0":"1327403901","file4":"1327403910","file5":"1327403912","file3":"1327403908"},"map_files_photo_id_array":[{"photo_id":"1327403912","filename":"file5"},{"photo_id":"1327403906","filename":"file2"},{"photo_id":"1327403910","filename":"file4"},{"photo_id":"1327403904","filename":"file1"},{"photo_id":"1327403901","filename":"file0"},{"photo_id":"1327403908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403912":["hashtag1","hashtag2"]},{"1327403906":["hashtag1","hashtag2"]},{"1327403908":["hashtag1","hashtag2"]},{"1327403910":["hashtag1","hashtag2"]},{"1327403904":["hashtag1","hashtag2"]},{"1327403901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403912, 1327403906, 1327403908, 1327403910, 1327403904, 1327403901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89794182777405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:56:22.665091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0003.jpg', '/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0000.jpg', '/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0001.jpg', '/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/55/image_08012025_06_55_02_910329_0003.jpg
/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0000.jpg
/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0001.jpg
/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403924","1327403922","1327403919","1327403916"],"photo_ids_order":["1327403916","1327403919","1327403922","1327403924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f413c821c95ac147eb4a5a3f6066e39.jpg","text":"TemporaryFile(/tmp/multipartBody4537636320810390504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315852824,"filename":"image_08012025_06_56_02_477772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef660d2bd7212ef2f95c31f32f7967fb.jpg","text":"TemporaryFile(/tmp/multipartBody2621268379400639016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315852824,"filename":"image_08012025_06_56_02_477772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebcdc292485c22d30f53ca410190cf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4484975802983334367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315852824,"filename":"image_08012025_06_56_02_477772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1464d8581f1c2b3f2fa8547f24e09b13.jpg","text":"TemporaryFile(/tmp/multipartBody3252122012822465765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315852824,"filename":"image_08012025_06_55_02_910329_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403922","file1":"1327403919","file0":"1327403916","file3":"1327403924"},"map_files_photo_id_array":[{"photo_id":"1327403922","filename":"file2"},{"photo_id":"1327403919","filename":"file1"},{"photo_id":"1327403916","filename":"file0"},{"photo_id":"1327403924","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403924":["hashtag1","hashtag2"]},{"1327403922":["hashtag1","hashtag2"]},{"1327403919":["hashtag1","hashtag2"]},{"1327403916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403924, 1327403922, 1327403919, 1327403916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.716254472732544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:57:02.767001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:57:22.136052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0003.jpg', '/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0000.jpg', '/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0001.jpg', '/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/56/image_08012025_06_56_02_477772_0003.jpg
/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0000.jpg
/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0001.jpg
/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403938","1327403941","1327403943","1327403934"],"photo_ids_order":["1327403934","1327403938","1327403941","1327403943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d24c7468b7a16855870a05879a9b754b.jpg","text":"TemporaryFile(/tmp/multipartBody1118112934453377285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315912283,"filename":"image_08012025_06_57_03_010861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e608def754a8e3c1dcec3e24688000b8.jpg","text":"TemporaryFile(/tmp/multipartBody3103874868530373835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315912283,"filename":"image_08012025_06_57_03_010861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59bb76aa0d0f19d9d550cf15917886bd.jpg","text":"TemporaryFile(/tmp/multipartBody1217098698049578034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315912283,"filename":"image_08012025_06_57_03_010861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57c088c79102c1039ccc94c6833528f3.jpg","text":"TemporaryFile(/tmp/multipartBody9064714168133809530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736315912283,"filename":"image_08012025_06_56_02_477772_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403941","file1":"1327403938","file0":"1327403934","file3":"1327403943"},"map_files_photo_id_array":[{"photo_id":"1327403941","filename":"file2"},{"photo_id":"1327403938","filename":"file1"},{"photo_id":"1327403934","filename":"file0"},{"photo_id":"1327403943","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403938":["hashtag1","hashtag2"]},{"1327403941":["hashtag1","hashtag2"]},{"1327403943":["hashtag1","hashtag2"]},{"1327403934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403938, 1327403941, 1327403943, 1327403934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99475169181824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 06:59:02.787937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 06:59:22.024983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0003.jpg', '/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0000.jpg', '/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0001.jpg', '/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0002.jpg', '/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0003.jpg', '/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/57/image_08012025_06_57_03_010861_0003.jpg
/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0000.jpg
/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0001.jpg
/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0002.jpg
/home/pi/Desktop/images/08012025/06/58/image_08012025_06_58_02_594906_0003.jpg
/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327403992","1327403980","1327403982","1327403996","1327403984","1327403987"],"photo_ids_order":["1327403980","1327403982","1327403984","1327403987","1327403992","1327403996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/827f3745c805e9cbc02f38206e465c73.jpg","text":"TemporaryFile(/tmp/multipartBody7473746204969487570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_58_02_594906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41a30f5d084d975d8ec3a64ee6131ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5887241289519371804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_57_03_010861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56263e680f3899942001fb04ff9f5395.jpg","text":"TemporaryFile(/tmp/multipartBody3128303398898916865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_58_02_594906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84320faf5befda33188e715809f4320d.jpg","text":"TemporaryFile(/tmp/multipartBody499469163302863533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_59_02_239173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2425561e270043bd4d39a1e4540a65a4.jpg","text":"TemporaryFile(/tmp/multipartBody209302136962186924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_58_02_594906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fcee45e311b81ae480e6a4a83aba825.jpg","text":"TemporaryFile(/tmp/multipartBody39519942090089994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316037016,"filename":"image_08012025_06_58_02_594906_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327403984","file1":"1327403982","file0":"1327403980","file4":"1327403992","file5":"1327403996","file3":"1327403987"},"map_files_photo_id_array":[{"photo_id":"1327403996","filename":"file5"},{"photo_id":"1327403984","filename":"file2"},{"photo_id":"1327403992","filename":"file4"},{"photo_id":"1327403982","filename":"file1"},{"photo_id":"1327403980","filename":"file0"},{"photo_id":"1327403987","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327403992":["hashtag1","hashtag2"]},{"1327403980":["hashtag1","hashtag2"]},{"1327403982":["hashtag1","hashtag2"]},{"1327403996":["hashtag1","hashtag2"]},{"1327403984":["hashtag1","hashtag2"]},{"1327403987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327403992, 1327403980, 1327403982, 1327403996, 1327403984, 1327403987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.665963649749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:00:21.816277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0001.jpg', '/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0002.jpg', '/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0003.jpg', '/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0000.jpg', '/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0001.jpg', '/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0001.jpg
/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0002.jpg
/home/pi/Desktop/images/08012025/06/59/image_08012025_06_59_02_239173_0003.jpg
/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0000.jpg
/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0001.jpg
/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404031","1327404033","1327404026","1327404029","1327404020","1327404017"],"photo_ids_order":["1327404017","1327404020","1327404026","1327404029","1327404031","1327404033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c1c22ab9260b361cebad6139dfb90d2.jpg","text":"TemporaryFile(/tmp/multipartBody721737680461292062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_07_00_02_589665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba3ff7281d2c58bd8557942c0d5c0059.jpg","text":"TemporaryFile(/tmp/multipartBody1840371101543816827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_07_00_02_589665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0160f77a3f3c5708ee3fdd2e5f6ce103.jpg","text":"TemporaryFile(/tmp/multipartBody3328147943803218989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_06_59_02_239173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/508d3296ba8e036661392248585fc460.jpg","text":"TemporaryFile(/tmp/multipartBody4536381891429836812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_07_00_02_589665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b3caabb9dc458eb99c3403009d135fa.jpg","text":"TemporaryFile(/tmp/multipartBody7025232808331393273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_06_59_02_239173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f54c33804cf57534fa88aead23f605b5.jpg","text":"TemporaryFile(/tmp/multipartBody3304474255216508606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316096952,"filename":"image_08012025_06_59_02_239173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404026","file1":"1327404020","file0":"1327404017","file4":"1327404031","file5":"1327404033","file3":"1327404029"},"map_files_photo_id_array":[{"photo_id":"1327404033","filename":"file5"},{"photo_id":"1327404026","filename":"file2"},{"photo_id":"1327404031","filename":"file4"},{"photo_id":"1327404020","filename":"file1"},{"photo_id":"1327404017","filename":"file0"},{"photo_id":"1327404029","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404031":["hashtag1","hashtag2"]},{"1327404033":["hashtag1","hashtag2"]},{"1327404026":["hashtag1","hashtag2"]},{"1327404029":["hashtag1","hashtag2"]},{"1327404020":["hashtag1","hashtag2"]},{"1327404017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404031, 1327404033, 1327404026, 1327404029, 1327404020, 1327404017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18108105659485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:01:22.440747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0003.jpg', '/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0000.jpg', '/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0001.jpg', '/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/00/image_08012025_07_00_02_589665_0003.jpg
/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0000.jpg
/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0001.jpg
/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404048","1327404045","1327404041","1327404038"],"photo_ids_order":["1327404038","1327404041","1327404045","1327404048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34755a8e5768d1c7ab829fcea14cc2f1.jpg","text":"TemporaryFile(/tmp/multipartBody8991306958216770691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316152708,"filename":"image_08012025_07_01_02_241704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0867fb7e244814aa95816ed40082c0a.jpg","text":"TemporaryFile(/tmp/multipartBody4922566545694110101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316152708,"filename":"image_08012025_07_01_02_241704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d500383aaaf90b4f31997e7c202cc05.jpg","text":"TemporaryFile(/tmp/multipartBody8176604457266753984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316152708,"filename":"image_08012025_07_01_02_241704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43a48b46d8008927511745fb85b73cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7822998215604143245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316152708,"filename":"image_08012025_07_00_02_589665_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404045","file1":"1327404041","file0":"1327404038","file3":"1327404048"},"map_files_photo_id_array":[{"photo_id":"1327404045","filename":"file2"},{"photo_id":"1327404041","filename":"file1"},{"photo_id":"1327404038","filename":"file0"},{"photo_id":"1327404048","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404048":["hashtag1","hashtag2"]},{"1327404045":["hashtag1","hashtag2"]},{"1327404041":["hashtag1","hashtag2"]},{"1327404038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404048, 1327404045, 1327404041, 1327404038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.583256006240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:02:21.935949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0003.jpg', '/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0000.jpg', '/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0001.jpg', '/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/01/image_08012025_07_01_02_241704_0003.jpg
/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0000.jpg
/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0001.jpg
/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404066","1327404069","1327404060","1327404063"],"photo_ids_order":["1327404060","1327404063","1327404066","1327404069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5da0b0c54f4f99f623ed7e26ea94de1.jpg","text":"TemporaryFile(/tmp/multipartBody6349235490090728844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316212122,"filename":"image_08012025_07_02_02_796627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/306e4c61f42d27ad419a56ef599d8803.jpg","text":"TemporaryFile(/tmp/multipartBody7020076820799448701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316212122,"filename":"image_08012025_07_02_02_796627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02322118a42f031c00327fc7d53eaed5.jpg","text":"TemporaryFile(/tmp/multipartBody2353062883761970770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316212122,"filename":"image_08012025_07_01_02_241704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3c7879d1b4230d323f0e3f5d2a06eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6758574000206463969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316212122,"filename":"image_08012025_07_02_02_796627_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404066","file1":"1327404063","file0":"1327404060","file3":"1327404069"},"map_files_photo_id_array":[{"photo_id":"1327404066","filename":"file2"},{"photo_id":"1327404063","filename":"file1"},{"photo_id":"1327404060","filename":"file0"},{"photo_id":"1327404069","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404066":["hashtag1","hashtag2"]},{"1327404069":["hashtag1","hashtag2"]},{"1327404060":["hashtag1","hashtag2"]},{"1327404063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404066, 1327404069, 1327404060, 1327404063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.049177408218384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:03:22.432964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0003.jpg', '/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0000.jpg', '/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0001.jpg', '/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/02/image_08012025_07_02_02_796627_0003.jpg
/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0000.jpg
/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0001.jpg
/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404076","1327404079","1327404084","1327404086"],"photo_ids_order":["1327404076","1327404079","1327404084","1327404086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5e49a41fd12a94374c317a5b90885cc.jpg","text":"TemporaryFile(/tmp/multipartBody8385455808518300263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316272667,"filename":"image_08012025_07_02_02_796627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2752a05426d2d1230e754cf515e4361.jpg","text":"TemporaryFile(/tmp/multipartBody5376700422138719083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316272667,"filename":"image_08012025_07_03_02_271660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bde4e5227bf9c2f0a86a5f05c89c3901.jpg","text":"TemporaryFile(/tmp/multipartBody3960927524906623751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316272667,"filename":"image_08012025_07_03_02_271660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa874f291842fa2820dff1a489c1d023.jpg","text":"TemporaryFile(/tmp/multipartBody8863038182631130768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316272667,"filename":"image_08012025_07_03_02_271660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404084","file1":"1327404079","file0":"1327404076","file3":"1327404086"},"map_files_photo_id_array":[{"photo_id":"1327404084","filename":"file2"},{"photo_id":"1327404079","filename":"file1"},{"photo_id":"1327404076","filename":"file0"},{"photo_id":"1327404086","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404076":["hashtag1","hashtag2"]},{"1327404079":["hashtag1","hashtag2"]},{"1327404084":["hashtag1","hashtag2"]},{"1327404086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404076, 1327404079, 1327404084, 1327404086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.99273633956909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:04:21.914962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0003.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0000.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0001.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0003.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0000.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0001.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.67798662185669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:05:03.018914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0003.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0000.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0001.jpg', '/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/03/image_08012025_07_03_02_271660_0003.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0000.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0001.jpg
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404109","1327404105","1327404107","1327404104"],"photo_ids_order":["1327404104","1327404105","1327404107","1327404109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c5c138dab4519deedc54bca1d5760a7.jpg","text":"TemporaryFile(/tmp/multipartBody177397664394531953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316373139,"filename":"image_08012025_07_04_02_786552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3be590a49618310167a8aa1e3f237b20.jpg","text":"TemporaryFile(/tmp/multipartBody182254454857691112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316373139,"filename":"image_08012025_07_04_02_786552_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5bded8ec3c1463ab90c7ecf7abff1d71.jpg","text":"TemporaryFile(/tmp/multipartBody161044982594623143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316373139,"filename":"image_08012025_07_04_02_786552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64f6fbf7d81289f144edd5097b37b382.jpg","text":"TemporaryFile(/tmp/multipartBody703794699268422726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316373139,"filename":"image_08012025_07_03_02_271660_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404107","file1":"1327404105","file0":"1327404104","file3":"1327404109"},"map_files_photo_id_array":[{"photo_id":"1327404107","filename":"file2"},{"photo_id":"1327404105","filename":"file1"},{"photo_id":"1327404104","filename":"file0"},{"photo_id":"1327404109","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404109":["hashtag1","hashtag2"]},{"1327404105":["hashtag1","hashtag2"]},{"1327404107":["hashtag1","hashtag2"]},{"1327404104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404109, 1327404105, 1327404107, 1327404104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03258943557739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:06:02.531834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0003.jpg', '/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0000.jpg', '/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0001.jpg', '/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/04/image_08012025_07_04_02_786552_0003.jpg
/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0000.jpg
/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0001.jpg
/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404130","1327404126","1327404125","1327404128"],"photo_ids_order":["1327404125","1327404126","1327404128","1327404130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffd5e3f69f29982506b6b6a00e1563b2.jpg","text":"TemporaryFile(/tmp/multipartBody6149065468684236379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316432693,"filename":"image_08012025_07_05_02_319096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9346295aaf1566f7abac06b5194794e3.jpg","text":"TemporaryFile(/tmp/multipartBody1530627322935474713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316432693,"filename":"image_08012025_07_05_02_319096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2300e71e05581e98a5c9dd1000ce558a.jpg","text":"TemporaryFile(/tmp/multipartBody6078879934084821105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316432693,"filename":"image_08012025_07_04_02_786552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e68bd82170b0fec06308a7d097c19b3.jpg","text":"TemporaryFile(/tmp/multipartBody2140192619933364109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316432693,"filename":"image_08012025_07_05_02_319096_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404128","file1":"1327404126","file0":"1327404125","file3":"1327404130"},"map_files_photo_id_array":[{"photo_id":"1327404128","filename":"file2"},{"photo_id":"1327404126","filename":"file1"},{"photo_id":"1327404125","filename":"file0"},{"photo_id":"1327404130","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404130":["hashtag1","hashtag2"]},{"1327404126":["hashtag1","hashtag2"]},{"1327404125":["hashtag1","hashtag2"]},{"1327404128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404130, 1327404126, 1327404125, 1327404128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.198065519332886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:07:03.257232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0003.jpg', '/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0000.jpg', '/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0001.jpg', '/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/05/image_08012025_07_05_02_319096_0003.jpg
/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0000.jpg
/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0001.jpg
/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404142","1327404145","1327404147","1327404143"],"photo_ids_order":["1327404142","1327404143","1327404145","1327404147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00cc596bcbc25d963baf5ed888ac0f24.jpg","text":"TemporaryFile(/tmp/multipartBody5277080820960899240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316493539,"filename":"image_08012025_07_05_02_319096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63156c4ab34df9cecb008c59592a140b.jpg","text":"TemporaryFile(/tmp/multipartBody8829179888576747981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316493539,"filename":"image_08012025_07_06_02_850919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7fba9f3d6e491681dcf3a136bd73483.jpg","text":"TemporaryFile(/tmp/multipartBody6787981663995499280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316493539,"filename":"image_08012025_07_06_02_850919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a406d0b3458a5c52c9cd7674a9d0a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody9016967588955543572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316493539,"filename":"image_08012025_07_06_02_850919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404145","file1":"1327404143","file0":"1327404142","file3":"1327404147"},"map_files_photo_id_array":[{"photo_id":"1327404145","filename":"file2"},{"photo_id":"1327404143","filename":"file1"},{"photo_id":"1327404142","filename":"file0"},{"photo_id":"1327404147","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404142":["hashtag1","hashtag2"]},{"1327404145":["hashtag1","hashtag2"]},{"1327404147":["hashtag1","hashtag2"]},{"1327404143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404142, 1327404145, 1327404147, 1327404143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82648730278015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:08:02.689718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0003.jpg', '/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0000.jpg', '/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0001.jpg', '/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/06/image_08012025_07_06_02_850919_0003.jpg
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0000.jpg
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0001.jpg
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404160","1327404163","1327404165","1327404159"],"photo_ids_order":["1327404159","1327404160","1327404163","1327404165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e861734e49a92137e5807d1256d88bee.jpg","text":"TemporaryFile(/tmp/multipartBody7794336232394869987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316552974,"filename":"image_08012025_07_07_02_436802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/849fcca21360b6d058370265fe0c14fc.jpg","text":"TemporaryFile(/tmp/multipartBody177370687774631863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316552974,"filename":"image_08012025_07_07_02_436802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64b7c67a4931e82514f697c521974817.jpg","text":"TemporaryFile(/tmp/multipartBody4864938779285929269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316552974,"filename":"image_08012025_07_07_02_436802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fb1606d4aaf92c6334fea71e114e78a.jpg","text":"TemporaryFile(/tmp/multipartBody3436585316529703452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316552974,"filename":"image_08012025_07_06_02_850919_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404163","file1":"1327404160","file0":"1327404159","file3":"1327404165"},"map_files_photo_id_array":[{"photo_id":"1327404163","filename":"file2"},{"photo_id":"1327404160","filename":"file1"},{"photo_id":"1327404159","filename":"file0"},{"photo_id":"1327404165","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404160":["hashtag1","hashtag2"]},{"1327404163":["hashtag1","hashtag2"]},{"1327404165":["hashtag1","hashtag2"]},{"1327404159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404160, 1327404163, 1327404165, 1327404159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.384626388549805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:09:02.493820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_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>884hhd19j</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>884hhd19j</strong>.
uploaded 0 photos
time to upload: 40.061986207962036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:10:03.073899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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.714337587356567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:10:22.594929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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>884hhhmj7</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>884hhhmj7</strong>.
uploaded 0 photos
time to upload: 44.7097053527832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:11:22.160409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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>884hhl6m1</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>884hhl6m1</strong>.
uploaded 0 photos
time to upload: 44.7025043964386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:12:22.624539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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>884hhoi7e</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>884hhoi7e</strong>.
uploaded 0 photos
time to upload: 44.703407764434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:13:22.075905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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>884hi2269</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>884hi2269</strong>.
uploaded 0 photos
time to upload: 44.70907711982727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:14:22.564961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg', '/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/07/image_08012025_07_07_02_436802_0003.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0000.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0001.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0002.jpg
/home/pi/Desktop/images/08012025/07/08/image_08012025_07_08_02_987140_0003.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_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":["1327404198","1327404201","1327404204","1327404194","1327404206","1327404187"],"photo_ids_order":["1327404187","1327404194","1327404198","1327404201","1327404204","1327404206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f8ce6b2b94ba5c73b642d585e46016e.jpg","text":"TemporaryFile(/tmp/multipartBody1434045450135162894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_08_02_987140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4fb379a543285b7accc760cec1106a4.jpg","text":"TemporaryFile(/tmp/multipartBody777712733143617551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_08_02_987140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0553be358e6692e64a8407fb2afafb6b.jpg","text":"TemporaryFile(/tmp/multipartBody9203618008777568374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_08_02_987140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/739f7794302ec32575bad3b483ab710c.jpg","text":"TemporaryFile(/tmp/multipartBody4893264876901078146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_08_02_987140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/565a44e39ddc4f0cc219edcd02e45804.jpg","text":"TemporaryFile(/tmp/multipartBody4412684360839697573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_09_02_610116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b538df3a2646bc59d4e5660fa637d08d.jpg","text":"TemporaryFile(/tmp/multipartBody4187063827048495038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736316937684,"filename":"image_08012025_07_07_02_436802_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404198","file1":"1327404194","file0":"1327404187","file4":"1327404204","file5":"1327404206","file3":"1327404201"},"map_files_photo_id_array":[{"photo_id":"1327404206","filename":"file5"},{"photo_id":"1327404198","filename":"file2"},{"photo_id":"1327404204","filename":"file4"},{"photo_id":"1327404194","filename":"file1"},{"photo_id":"1327404187","filename":"file0"},{"photo_id":"1327404201","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404198":["hashtag1","hashtag2"]},{"1327404201":["hashtag1","hashtag2"]},{"1327404204":["hashtag1","hashtag2"]},{"1327404194":["hashtag1","hashtag2"]},{"1327404206":["hashtag1","hashtag2"]},{"1327404187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404198, 1327404201, 1327404204, 1327404194, 1327404206, 1327404187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.59535646438599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:16:03.186671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0001.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0002.jpg', '/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0003.jpg', '/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0000.jpg', '/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0001.jpg', '/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0001.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0002.jpg
/home/pi/Desktop/images/08012025/07/09/image_08012025_07_09_02_610116_0003.jpg
/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0000.jpg
/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0001.jpg
/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404241","1327404238","1327404246","1327404257","1327404251","1327404236"],"photo_ids_order":["1327404236","1327404238","1327404241","1327404246","1327404251","1327404257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdbf12752a993c4d53911997dc61b7c1.jpg","text":"TemporaryFile(/tmp/multipartBody5902621977547582168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_09_02_610116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c5fc2a26aa4f8997dd44a300ff42782.jpg","text":"TemporaryFile(/tmp/multipartBody6263795284603759897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_09_02_610116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53a879d2edb6c88eeb17ac2ccfad331b.jpg","text":"TemporaryFile(/tmp/multipartBody3491516529096269584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_10_02_295682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f641044b085c1e3f305bf5c54296252.jpg","text":"TemporaryFile(/tmp/multipartBody4806557255799935493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_10_02_295682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/872e9c2238abbd05ef0f4fc57532434b.jpg","text":"TemporaryFile(/tmp/multipartBody878601994130538993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_10_02_295682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ed8f84850e4315e011d79dc4eb18e68.jpg","text":"TemporaryFile(/tmp/multipartBody993757480690655218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317038141,"filename":"image_08012025_07_09_02_610116_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404241","file1":"1327404238","file0":"1327404236","file4":"1327404251","file5":"1327404257","file3":"1327404246"},"map_files_photo_id_array":[{"photo_id":"1327404257","filename":"file5"},{"photo_id":"1327404241","filename":"file2"},{"photo_id":"1327404251","filename":"file4"},{"photo_id":"1327404238","filename":"file1"},{"photo_id":"1327404236","filename":"file0"},{"photo_id":"1327404246","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404241":["hashtag1","hashtag2"]},{"1327404238":["hashtag1","hashtag2"]},{"1327404246":["hashtag1","hashtag2"]},{"1327404257":["hashtag1","hashtag2"]},{"1327404251":["hashtag1","hashtag2"]},{"1327404236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404241, 1327404238, 1327404246, 1327404257, 1327404251, 1327404236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.24478101730347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:17:22.173205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0003.jpg', '/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0000.jpg', '/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0001.jpg', '/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0002.jpg', '/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0003.jpg', '/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/10/image_08012025_07_10_02_295682_0003.jpg
/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0000.jpg
/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0001.jpg
/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0002.jpg
/home/pi/Desktop/images/08012025/07/11/image_08012025_07_11_02_960524_0003.jpg
/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404289","1327404276","1327404301","1327404306","1327404296","1327404281"],"photo_ids_order":["1327404276","1327404281","1327404289","1327404296","1327404301","1327404306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61675fe45bbf2d9ee75b414b7119c5ce.jpg","text":"TemporaryFile(/tmp/multipartBody9024923396924893248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_11_02_960524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/616929a0cb5625712485ccfe11577201.jpg","text":"TemporaryFile(/tmp/multipartBody4756333858318317260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_10_02_295682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45e259cf13e585b7313030fa35b76ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4396431313931009758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_11_02_960524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02ee86ccd21db6c3a5344730d55961f1.jpg","text":"TemporaryFile(/tmp/multipartBody7205182671325293514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_12_02_462465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14045ed04a1746682a35512e5ac551b9.jpg","text":"TemporaryFile(/tmp/multipartBody8119009594592835145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_11_02_960524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c9562855be3bb52baff325965a98843.jpg","text":"TemporaryFile(/tmp/multipartBody487329752367711971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317117184,"filename":"image_08012025_07_11_02_960524_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404289","file1":"1327404281","file0":"1327404276","file4":"1327404301","file5":"1327404306","file3":"1327404296"},"map_files_photo_id_array":[{"photo_id":"1327404306","filename":"file5"},{"photo_id":"1327404289","filename":"file2"},{"photo_id":"1327404301","filename":"file4"},{"photo_id":"1327404281","filename":"file1"},{"photo_id":"1327404276","filename":"file0"},{"photo_id":"1327404296","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404289":["hashtag1","hashtag2"]},{"1327404276":["hashtag1","hashtag2"]},{"1327404301":["hashtag1","hashtag2"]},{"1327404306":["hashtag1","hashtag2"]},{"1327404296":["hashtag1","hashtag2"]},{"1327404281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404289, 1327404276, 1327404301, 1327404306, 1327404296, 1327404281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55653119087219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:18:21.738496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0001.jpg', '/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0002.jpg', '/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0003.jpg', '/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0000.jpg', '/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0001.jpg', '/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0001.jpg
/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0002.jpg
/home/pi/Desktop/images/08012025/07/12/image_08012025_07_12_02_462465_0003.jpg
/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0000.jpg
/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0001.jpg
/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404339","1327404330","1327404344","1327404323","1327404335","1327404317"],"photo_ids_order":["1327404317","1327404323","1327404330","1327404335","1327404339","1327404344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81127bd91d60ee9a5b9a224b2771a097.jpg","text":"TemporaryFile(/tmp/multipartBody2716442792833936125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_13_02_960143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6f9070db9b8e6778489f85577363d52.jpg","text":"TemporaryFile(/tmp/multipartBody8129605384850680243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_12_02_462465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12d5db5e6d83461f2f76bc8ea4e576de.jpg","text":"TemporaryFile(/tmp/multipartBody2707218084452439698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_13_02_960143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4df9d99e113dca580317da0f1f4dafed.jpg","text":"TemporaryFile(/tmp/multipartBody5073853013519762025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_12_02_462465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51ea84ea306ecfbf7ccf02063b590a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7116524169098897055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_13_02_960143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce148048017bd9d93cc0cc2643d6cae6.jpg","text":"TemporaryFile(/tmp/multipartBody4437504906074573314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317176739,"filename":"image_08012025_07_12_02_462465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404330","file1":"1327404323","file0":"1327404317","file4":"1327404339","file5":"1327404344","file3":"1327404335"},"map_files_photo_id_array":[{"photo_id":"1327404344","filename":"file5"},{"photo_id":"1327404330","filename":"file2"},{"photo_id":"1327404339","filename":"file4"},{"photo_id":"1327404323","filename":"file1"},{"photo_id":"1327404317","filename":"file0"},{"photo_id":"1327404335","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404339":["hashtag1","hashtag2"]},{"1327404330":["hashtag1","hashtag2"]},{"1327404344":["hashtag1","hashtag2"]},{"1327404323":["hashtag1","hashtag2"]},{"1327404335":["hashtag1","hashtag2"]},{"1327404317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404339, 1327404330, 1327404344, 1327404323, 1327404335, 1327404317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.97491383552551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:19:22.403394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0003.jpg', '/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0000.jpg', '/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0001.jpg', '/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0002.jpg', '/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0003.jpg', '/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/13/image_08012025_07_13_02_960143_0003.jpg
/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0000.jpg
/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0001.jpg
/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0002.jpg
/home/pi/Desktop/images/08012025/07/14/image_08012025_07_14_02_431925_0003.jpg
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404378","1327404374","1327404368","1327404362","1327404371","1327404365"],"photo_ids_order":["1327404362","1327404365","1327404368","1327404371","1327404374","1327404378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5be3f68b7ca1c2726ffc5dc1b27a8e12.jpg","text":"TemporaryFile(/tmp/multipartBody7963414100263726453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_15_02_965976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/529ebaf371f714f3425046aac35c4004.jpg","text":"TemporaryFile(/tmp/multipartBody616467489330157768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_14_02_431925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76f3414ba869d002b16d78523f88b099.jpg","text":"TemporaryFile(/tmp/multipartBody6280307834547331204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_14_02_431925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26e1f1cacdcccd4c95191d8ed5811042.jpg","text":"TemporaryFile(/tmp/multipartBody7283547189187102310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_13_02_960143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d18f8c6888c4339de2a0e61583c2e86.jpg","text":"TemporaryFile(/tmp/multipartBody4126899189475598900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_14_02_431925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47ce368c280268757214fb6624e5c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2819687386790765326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317237599,"filename":"image_08012025_07_14_02_431925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404368","file1":"1327404365","file0":"1327404362","file4":"1327404374","file5":"1327404378","file3":"1327404371"},"map_files_photo_id_array":[{"photo_id":"1327404378","filename":"file5"},{"photo_id":"1327404368","filename":"file2"},{"photo_id":"1327404374","filename":"file4"},{"photo_id":"1327404365","filename":"file1"},{"photo_id":"1327404362","filename":"file0"},{"photo_id":"1327404371","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404378":["hashtag1","hashtag2"]},{"1327404374":["hashtag1","hashtag2"]},{"1327404368":["hashtag1","hashtag2"]},{"1327404362":["hashtag1","hashtag2"]},{"1327404371":["hashtag1","hashtag2"]},{"1327404365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404378, 1327404374, 1327404368, 1327404362, 1327404371, 1327404365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97584772109985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:20:21.840105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0001.jpg', '/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0002.jpg', '/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0003.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0000.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0001.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0001.jpg
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0002.jpg
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0003.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0000.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0001.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.719895362854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:21:02.953528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0001.jpg', '/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0002.jpg', '/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0003.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0000.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0001.jpg', '/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0001.jpg
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0002.jpg
/home/pi/Desktop/images/08012025/07/15/image_08012025_07_15_02_965976_0003.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0000.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0001.jpg
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404430","1327404412","1327404417","1327404422","1327404404","1327404407"],"photo_ids_order":["1327404404","1327404407","1327404412","1327404417","1327404422","1327404430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51562f2ced2b3614d30204f2a4c3fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody4696576839100614070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_16_02_487738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d07359c164066e7c301818a7123bdcbf.jpg","text":"TemporaryFile(/tmp/multipartBody3664026093066925850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_15_02_965976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c116e4311a93c6270f04179e744fa151.jpg","text":"TemporaryFile(/tmp/multipartBody3429169825261174634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_16_02_487738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6ada25b0c0cc23b2df53e9f7b4d0fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6262445581808229128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_16_02_487738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85e011f8ee2d27a9daf326334aafb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody5196180151917590838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_15_02_965976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e85bbfa9859cf310b5997d0794895b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1785296542196082689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317338092,"filename":"image_08012025_07_15_02_965976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404412","file1":"1327404407","file0":"1327404404","file4":"1327404422","file5":"1327404430","file3":"1327404417"},"map_files_photo_id_array":[{"photo_id":"1327404430","filename":"file5"},{"photo_id":"1327404412","filename":"file2"},{"photo_id":"1327404422","filename":"file4"},{"photo_id":"1327404407","filename":"file1"},{"photo_id":"1327404404","filename":"file0"},{"photo_id":"1327404417","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404430":["hashtag1","hashtag2"]},{"1327404412":["hashtag1","hashtag2"]},{"1327404417":["hashtag1","hashtag2"]},{"1327404422":["hashtag1","hashtag2"]},{"1327404404":["hashtag1","hashtag2"]},{"1327404407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404430, 1327404412, 1327404417, 1327404422, 1327404404, 1327404407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02682161331177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:22:02.392463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0003.jpg', '/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0000.jpg', '/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0001.jpg', '/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0002.jpg', '/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0003.jpg', '/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/16/image_08012025_07_16_02_487738_0003.jpg
/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0000.jpg
/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0001.jpg
/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0002.jpg
/home/pi/Desktop/images/08012025/07/17/image_08012025_07_17_03_078083_0003.jpg
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404448","1327404462","1327404453","1327404440","1327404458","1327404443"],"photo_ids_order":["1327404440","1327404443","1327404448","1327404453","1327404458","1327404462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e69a0e82a4e351aa1f644dd897ed496.jpg","text":"TemporaryFile(/tmp/multipartBody551398010983230491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_17_03_078083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6442247c10eb419a309dd425c2e23ac8.jpg","text":"TemporaryFile(/tmp/multipartBody855168127893152507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_18_02_622899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2584cd63e9074a5ebc335998312012fe.jpg","text":"TemporaryFile(/tmp/multipartBody2361580026918185430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_17_03_078083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa10c4a2dbc53f96255979ae4138ae09.jpg","text":"TemporaryFile(/tmp/multipartBody3195473965230327497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_16_02_487738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ab535a0a3de7b1a406feda920325dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2668074630859217778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_17_03_078083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbff638d0f6c0517bdde21a0ac3ab956.jpg","text":"TemporaryFile(/tmp/multipartBody6146541489189970669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317397464,"filename":"image_08012025_07_17_03_078083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404448","file1":"1327404443","file0":"1327404440","file4":"1327404458","file5":"1327404462","file3":"1327404453"},"map_files_photo_id_array":[{"photo_id":"1327404462","filename":"file5"},{"photo_id":"1327404448","filename":"file2"},{"photo_id":"1327404458","filename":"file4"},{"photo_id":"1327404443","filename":"file1"},{"photo_id":"1327404440","filename":"file0"},{"photo_id":"1327404453","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404448":["hashtag1","hashtag2"]},{"1327404462":["hashtag1","hashtag2"]},{"1327404453":["hashtag1","hashtag2"]},{"1327404440":["hashtag1","hashtag2"]},{"1327404458":["hashtag1","hashtag2"]},{"1327404443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404448, 1327404462, 1327404453, 1327404440, 1327404458, 1327404443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.938880920410156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:23:03.229402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0001.jpg', '/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0002.jpg', '/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0003.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0000.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0001.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0001.jpg
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0002.jpg
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0003.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0000.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0001.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.739057064056396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:23:22.630392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0001.jpg', '/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0002.jpg', '/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0003.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0000.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0001.jpg', '/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0001.jpg
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0002.jpg
/home/pi/Desktop/images/08012025/07/18/image_08012025_07_18_02_622899_0003.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0000.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0001.jpg
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404493","1327404508","1327404505","1327404486","1327404512","1327404500"],"photo_ids_order":["1327404486","1327404493","1327404500","1327404505","1327404508","1327404512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0528c0694ca05f1ea5d87f299256f167.jpg","text":"TemporaryFile(/tmp/multipartBody4601371011464675460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_18_02_622899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34e1c7ef4c91a32fe9f3a1bb53208372.jpg","text":"TemporaryFile(/tmp/multipartBody6372928863291099754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_19_02_184916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a9ee77ef64a89e46d0e9b37317a04c1.jpg","text":"TemporaryFile(/tmp/multipartBody7253110218132071966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_19_02_184916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90d61e9cf1f1dc609454bb22b0d08a10.jpg","text":"TemporaryFile(/tmp/multipartBody6996230782553085972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_18_02_622899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/383c3827249e925a7a404bea1366ae1b.jpg","text":"TemporaryFile(/tmp/multipartBody8030510073324370077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_19_02_184916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f073200a6154c571071174c4acffaf4.jpg","text":"TemporaryFile(/tmp/multipartBody6533406398516851496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317477719,"filename":"image_08012025_07_18_02_622899_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404500","file1":"1327404493","file0":"1327404486","file4":"1327404508","file5":"1327404512","file3":"1327404505"},"map_files_photo_id_array":[{"photo_id":"1327404512","filename":"file5"},{"photo_id":"1327404500","filename":"file2"},{"photo_id":"1327404508","filename":"file4"},{"photo_id":"1327404493","filename":"file1"},{"photo_id":"1327404486","filename":"file0"},{"photo_id":"1327404505","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404493":["hashtag1","hashtag2"]},{"1327404508":["hashtag1","hashtag2"]},{"1327404505":["hashtag1","hashtag2"]},{"1327404486":["hashtag1","hashtag2"]},{"1327404512":["hashtag1","hashtag2"]},{"1327404500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404493, 1327404508, 1327404505, 1327404486, 1327404512, 1327404500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81276226043701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:24:22.291936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0003.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0000.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0001.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0002.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0003.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0003.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0000.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0001.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0002.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0003.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_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.669609785079956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:25:02.305284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0003.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0000.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0001.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0002.jpg', '/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0003.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/19/image_08012025_07_19_02_184916_0003.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0000.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0001.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0002.jpg
/home/pi/Desktop/images/08012025/07/20/image_08012025_07_20_02_751964_0003.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404565","1327404553","1327404556","1327404561","1327404558","1327404569"],"photo_ids_order":["1327404553","1327404556","1327404558","1327404561","1327404565","1327404569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bbe518286d00d7dd8c98665f6d952116.jpg","text":"TemporaryFile(/tmp/multipartBody5281278046592860541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_20_02_751964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c39210d9ac066775c337b361dda7daf.jpg","text":"TemporaryFile(/tmp/multipartBody59559231056299387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_19_02_184916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bc543190156fccfefce13560f5b4926.jpg","text":"TemporaryFile(/tmp/multipartBody2715753213527487940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_20_02_751964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/862dca67f9826f4e2f0cc02a368bb821.jpg","text":"TemporaryFile(/tmp/multipartBody4849394351312770344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_20_02_751964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f97f106d00e99c1346d3018866f2ef4.jpg","text":"TemporaryFile(/tmp/multipartBody7982327352256176916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_20_02_751964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5ec0572f7efecd11d3b984e05291f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5675440250035636570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317577462,"filename":"image_08012025_07_21_02_249438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404558","file1":"1327404556","file0":"1327404553","file4":"1327404565","file5":"1327404569","file3":"1327404561"},"map_files_photo_id_array":[{"photo_id":"1327404569","filename":"file5"},{"photo_id":"1327404558","filename":"file2"},{"photo_id":"1327404565","filename":"file4"},{"photo_id":"1327404556","filename":"file1"},{"photo_id":"1327404553","filename":"file0"},{"photo_id":"1327404561","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404565":["hashtag1","hashtag2"]},{"1327404553":["hashtag1","hashtag2"]},{"1327404556":["hashtag1","hashtag2"]},{"1327404561":["hashtag1","hashtag2"]},{"1327404558":["hashtag1","hashtag2"]},{"1327404569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404565, 1327404553, 1327404556, 1327404561, 1327404558, 1327404569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.49341702461243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:26:02.889305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0001.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0002.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0003.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0000.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0001.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0001.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0002.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0003.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0000.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0001.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.736014366149902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:26:22.452198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0001.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0002.jpg', '/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0003.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0000.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0001.jpg', '/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0001.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0002.jpg
/home/pi/Desktop/images/08012025/07/21/image_08012025_07_21_02_249438_0003.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0000.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0001.jpg
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404601","1327404594","1327404585","1327404596","1327404590","1327404598"],"photo_ids_order":["1327404585","1327404590","1327404594","1327404596","1327404598","1327404601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/824e3b85ea37fef56ed5c70c84667865.jpg","text":"TemporaryFile(/tmp/multipartBody694509346805721792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_22_02_727375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/695bf8ee1f1c62975d08f54d84269db6.jpg","text":"TemporaryFile(/tmp/multipartBody679794268717801891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_21_02_249438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f307fd3da0f7c555b6406a4317d8fbd7.jpg","text":"TemporaryFile(/tmp/multipartBody5182699951688205866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_21_02_249438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a79d3e0e975903e89554eac523470114.jpg","text":"TemporaryFile(/tmp/multipartBody8778443027810752195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_22_02_727375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b631e0cdbd9f9a24511ba282bc2f9f53.jpg","text":"TemporaryFile(/tmp/multipartBody1503032514535308152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_21_02_249438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94287e1459ae871739faa0e7ad150357.jpg","text":"TemporaryFile(/tmp/multipartBody8917901726430963573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317657604,"filename":"image_08012025_07_22_02_727375_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404594","file1":"1327404590","file0":"1327404585","file4":"1327404598","file5":"1327404601","file3":"1327404596"},"map_files_photo_id_array":[{"photo_id":"1327404601","filename":"file5"},{"photo_id":"1327404594","filename":"file2"},{"photo_id":"1327404598","filename":"file4"},{"photo_id":"1327404590","filename":"file1"},{"photo_id":"1327404585","filename":"file0"},{"photo_id":"1327404596","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404601":["hashtag1","hashtag2"]},{"1327404594":["hashtag1","hashtag2"]},{"1327404585":["hashtag1","hashtag2"]},{"1327404596":["hashtag1","hashtag2"]},{"1327404590":["hashtag1","hashtag2"]},{"1327404598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404601, 1327404594, 1327404585, 1327404596, 1327404590, 1327404598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76873230934143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:27:21.952089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0003.jpg', '/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0001.jpg', '/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0002.jpg', '/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0003.jpg', '/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0000.jpg', '/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/22/image_08012025_07_22_02_727375_0003.jpg
/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0001.jpg
/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0002.jpg
/home/pi/Desktop/images/08012025/07/23/image_08012025_07_23_02_420506_0003.jpg
/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0000.jpg
/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404613","1327404612","1327404606","1327404615","1327404609","1327404617"],"photo_ids_order":["1327404606","1327404609","1327404612","1327404613","1327404615","1327404617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac627108f5fb58b3d76e08e93b543c62.jpg","text":"TemporaryFile(/tmp/multipartBody2264485012293951291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_23_02_420506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6b78d76ae3951ce555a18f4af83ead6.jpg","text":"TemporaryFile(/tmp/multipartBody4383467770295527713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_23_02_420506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c95e5c0e08ba86e83ccd1c66d780c3a8.jpg","text":"TemporaryFile(/tmp/multipartBody5158907204889857467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_22_02_727375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef987cd23e5f98f5bc3c87a0bda78134.jpg","text":"TemporaryFile(/tmp/multipartBody8782443272248320263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_24_02_946545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e083ed07d31ec8924b9680bbd90105f4.jpg","text":"TemporaryFile(/tmp/multipartBody3026968960103363975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_23_02_420506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b1f4714ebea2993d02cad7b3874ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody5504209753956184463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317717054,"filename":"image_08012025_07_24_02_946545_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404612","file1":"1327404609","file0":"1327404606","file4":"1327404615","file5":"1327404617","file3":"1327404613"},"map_files_photo_id_array":[{"photo_id":"1327404617","filename":"file5"},{"photo_id":"1327404612","filename":"file2"},{"photo_id":"1327404615","filename":"file4"},{"photo_id":"1327404609","filename":"file1"},{"photo_id":"1327404606","filename":"file0"},{"photo_id":"1327404613","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404613":["hashtag1","hashtag2"]},{"1327404612":["hashtag1","hashtag2"]},{"1327404606":["hashtag1","hashtag2"]},{"1327404615":["hashtag1","hashtag2"]},{"1327404609":["hashtag1","hashtag2"]},{"1327404617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404613, 1327404612, 1327404606, 1327404615, 1327404609, 1327404617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.219947814941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:28:22.482908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0002.jpg', '/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0003.jpg', '/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0000.jpg', '/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0001.jpg', '/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0002.jpg', '/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0002.jpg
/home/pi/Desktop/images/08012025/07/24/image_08012025_07_24_02_946545_0003.jpg
/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0000.jpg
/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0001.jpg
/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0002.jpg
/home/pi/Desktop/images/08012025/07/25/image_08012025_07_25_02_601732_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404771","1327404765","1327404768","1327404776","1327404692","1327404761"],"photo_ids_order":["1327404692","1327404761","1327404765","1327404768","1327404771","1327404776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3be8bf9682dfe7a310953e287a393a09.jpg","text":"TemporaryFile(/tmp/multipartBody8309604533693239529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_25_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/8/a5c6944c25bdfcc25e7532434a963fde.jpg","text":"TemporaryFile(/tmp/multipartBody1032597752580983279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_25_02_601732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69f980000e965406a810c1542a83fab0.jpg","text":"TemporaryFile(/tmp/multipartBody8919582767638803897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_25_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/8/4c1e849fa2442615a472b1776134da5c.jpg","text":"TemporaryFile(/tmp/multipartBody2481225071758154038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_25_02_601732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ba0a6d566498b12e4cb0375bfeb8474.jpg","text":"TemporaryFile(/tmp/multipartBody3917833075369433943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_24_02_946545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f03827304ff9070175a693071acdd579.jpg","text":"TemporaryFile(/tmp/multipartBody2108701317718514130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317777372,"filename":"image_08012025_07_24_02_946545_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404765","file1":"1327404761","file0":"1327404692","file4":"1327404771","file5":"1327404776","file3":"1327404768"},"map_files_photo_id_array":[{"photo_id":"1327404776","filename":"file5"},{"photo_id":"1327404765","filename":"file2"},{"photo_id":"1327404771","filename":"file4"},{"photo_id":"1327404761","filename":"file1"},{"photo_id":"1327404692","filename":"file0"},{"photo_id":"1327404768","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404771":["hashtag1","hashtag2"]},{"1327404765":["hashtag1","hashtag2"]},{"1327404768":["hashtag1","hashtag2"]},{"1327404776":["hashtag1","hashtag2"]},{"1327404692":["hashtag1","hashtag2"]},{"1327404761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404771, 1327404765, 1327404768, 1327404776, 1327404692, 1327404761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21792554855347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:29:22.054112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0000.jpg', '/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0001.jpg', '/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0002.jpg', '/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0003.jpg', '/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0000.jpg', '/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0000.jpg
/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0001.jpg
/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0002.jpg
/home/pi/Desktop/images/08012025/07/26/image_08012025_07_26_02_179208_0003.jpg
/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0000.jpg
/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404805","1327404808","1327404798","1327404802","1327404792","1327404795"],"photo_ids_order":["1327404792","1327404795","1327404798","1327404802","1327404805","1327404808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37f6ee3ef5e4a3f2b46a40cad3147818.jpg","text":"TemporaryFile(/tmp/multipartBody6410535273251562355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_27_02_818491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff553141d06cc85dcf9461baf957dda2.jpg","text":"TemporaryFile(/tmp/multipartBody1946193923541211449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_27_02_818491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84f3cef472cba21e3496d762bd341afb.jpg","text":"TemporaryFile(/tmp/multipartBody3601369541493395850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_26_02_179208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2bd7df50361b418cd0b2c0f04e35a63.jpg","text":"TemporaryFile(/tmp/multipartBody3855264930239852346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_26_02_179208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3eaf43d6dc09f3ad2f7ff83ba971078b.jpg","text":"TemporaryFile(/tmp/multipartBody8175614305425364750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_26_02_179208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/186bd554be91a93832baab7c44e7d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7864413665900737507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317837036,"filename":"image_08012025_07_26_02_179208_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404798","file1":"1327404795","file0":"1327404792","file4":"1327404805","file5":"1327404808","file3":"1327404802"},"map_files_photo_id_array":[{"photo_id":"1327404808","filename":"file5"},{"photo_id":"1327404798","filename":"file2"},{"photo_id":"1327404805","filename":"file4"},{"photo_id":"1327404795","filename":"file1"},{"photo_id":"1327404792","filename":"file0"},{"photo_id":"1327404802","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404805":["hashtag1","hashtag2"]},{"1327404808":["hashtag1","hashtag2"]},{"1327404798":["hashtag1","hashtag2"]},{"1327404802":["hashtag1","hashtag2"]},{"1327404792":["hashtag1","hashtag2"]},{"1327404795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404805, 1327404808, 1327404798, 1327404802, 1327404792, 1327404795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.443771839141846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:30:22.612231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0002.jpg', '/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0003.jpg', '/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0000.jpg', '/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0001.jpg', '/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0002.jpg', '/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0002.jpg
/home/pi/Desktop/images/08012025/07/27/image_08012025_07_27_02_818491_0003.jpg
/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0000.jpg
/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0001.jpg
/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0002.jpg
/home/pi/Desktop/images/08012025/07/28/image_08012025_07_28_02_327157_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404826","1327404828","1327404822","1327404819","1327404815","1327404824"],"photo_ids_order":["1327404815","1327404819","1327404822","1327404824","1327404826","1327404828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aca1ea82077ba90e135ad1038e1303dd.jpg","text":"TemporaryFile(/tmp/multipartBody5667430470880482558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_28_02_327157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff69bf5cfa42d3116b051596354fd8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7807303324232859945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_28_02_327157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2b9f6526a5c768c119a96e3f515f08e.jpg","text":"TemporaryFile(/tmp/multipartBody3589836877647317208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_28_02_327157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c727f8fb10c4d59de68b5ba69180d29.jpg","text":"TemporaryFile(/tmp/multipartBody3930088650861190587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_27_02_818491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8caf4666fc09a1b7ace0128f564c11c3.jpg","text":"TemporaryFile(/tmp/multipartBody6474486836966464897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_27_02_818491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f553176552de04a35e74fcd9212532a6.jpg","text":"TemporaryFile(/tmp/multipartBody924893811832382097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317897541,"filename":"image_08012025_07_28_02_327157_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404822","file1":"1327404819","file0":"1327404815","file4":"1327404826","file5":"1327404828","file3":"1327404824"},"map_files_photo_id_array":[{"photo_id":"1327404828","filename":"file5"},{"photo_id":"1327404822","filename":"file2"},{"photo_id":"1327404826","filename":"file4"},{"photo_id":"1327404819","filename":"file1"},{"photo_id":"1327404815","filename":"file0"},{"photo_id":"1327404824","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404826":["hashtag1","hashtag2"]},{"1327404828":["hashtag1","hashtag2"]},{"1327404822":["hashtag1","hashtag2"]},{"1327404819":["hashtag1","hashtag2"]},{"1327404815":["hashtag1","hashtag2"]},{"1327404824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404826, 1327404828, 1327404822, 1327404819, 1327404815, 1327404824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40302109718323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:31:22.177908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0000.jpg', '/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0001.jpg', '/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0002.jpg', '/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0003.jpg', '/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0000.jpg', '/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0000.jpg
/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0001.jpg
/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0002.jpg
/home/pi/Desktop/images/08012025/07/29/image_08012025_07_29_02_873158_0003.jpg
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0000.jpg
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404841","1327404844","1327404832","1327404835","1327404846","1327404839"],"photo_ids_order":["1327404832","1327404835","1327404839","1327404841","1327404844","1327404846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/140b47173a366506abea9b4fbfc96adb.jpg","text":"TemporaryFile(/tmp/multipartBody295370463051451405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_29_02_873158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/416778e81487f99fb6443c32a60ac14b.jpg","text":"TemporaryFile(/tmp/multipartBody4435262222710006699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_30_02_464194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8ce3cfa2dc18b17b648b9f940941982.jpg","text":"TemporaryFile(/tmp/multipartBody2185106436593278515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_29_02_873158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43a2d9dd1a1939e35eda219aebd6b9c0.jpg","text":"TemporaryFile(/tmp/multipartBody8094565215459150656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_29_02_873158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37ff0ccd6c3de9cf3d662ea1e2721093.jpg","text":"TemporaryFile(/tmp/multipartBody6603100056833732752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_30_02_464194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc6a35e93f373c643c1b9ee2033b0b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4343431406076153114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736317957117,"filename":"image_08012025_07_29_02_873158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404839","file1":"1327404835","file0":"1327404832","file4":"1327404844","file5":"1327404846","file3":"1327404841"},"map_files_photo_id_array":[{"photo_id":"1327404846","filename":"file5"},{"photo_id":"1327404839","filename":"file2"},{"photo_id":"1327404844","filename":"file4"},{"photo_id":"1327404835","filename":"file1"},{"photo_id":"1327404832","filename":"file0"},{"photo_id":"1327404841","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404841":["hashtag1","hashtag2"]},{"1327404844":["hashtag1","hashtag2"]},{"1327404832":["hashtag1","hashtag2"]},{"1327404835":["hashtag1","hashtag2"]},{"1327404846":["hashtag1","hashtag2"]},{"1327404839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404841, 1327404844, 1327404832, 1327404835, 1327404846, 1327404839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.255436182022095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:32:21.756233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0002.jpg', '/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0003.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0000.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0001.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0002.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0002.jpg
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0003.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0000.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0001.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0002.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.562378406524658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:33:02.790719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0002.jpg', '/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0003.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0000.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0001.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0002.jpg', '/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0002.jpg
/home/pi/Desktop/images/08012025/07/30/image_08012025_07_30_02_464194_0003.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0000.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0001.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_0002.jpg
/home/pi/Desktop/images/08012025/07/31/image_08012025_07_31_02_953870_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":["1327404865","1327404879","1327404867","1327404876","1327404872","1327404869"],"photo_ids_order":["1327404865","1327404867","1327404869","1327404872","1327404876","1327404879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b63d6c251949dce7dbba5ef94a1e9062.jpg","text":"TemporaryFile(/tmp/multipartBody4343968784814995286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_30_02_464194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11a3c1f035681d64dae066b1dbdb4446.jpg","text":"TemporaryFile(/tmp/multipartBody5711716129775142842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_31_02_953870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bddd9287c5b4996b3ecb03ff22eb8b3d.jpg","text":"TemporaryFile(/tmp/multipartBody796528632087708499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_30_02_464194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df0930e0253f38fa0c762176868aa5db.jpg","text":"TemporaryFile(/tmp/multipartBody8248472520158040633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_31_02_953870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f5e97b807d9a0e1490ffd9726741897.jpg","text":"TemporaryFile(/tmp/multipartBody2720697039388228597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_31_02_953870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdf8413c5ad00a9d399e91382dd00799.jpg","text":"TemporaryFile(/tmp/multipartBody5424483522364510964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318057835,"filename":"image_08012025_07_31_02_953870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404869","file1":"1327404867","file0":"1327404865","file4":"1327404876","file5":"1327404879","file3":"1327404872"},"map_files_photo_id_array":[{"photo_id":"1327404879","filename":"file5"},{"photo_id":"1327404869","filename":"file2"},{"photo_id":"1327404876","filename":"file4"},{"photo_id":"1327404867","filename":"file1"},{"photo_id":"1327404865","filename":"file0"},{"photo_id":"1327404872","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404865":["hashtag1","hashtag2"]},{"1327404879":["hashtag1","hashtag2"]},{"1327404867":["hashtag1","hashtag2"]},{"1327404876":["hashtag1","hashtag2"]},{"1327404872":["hashtag1","hashtag2"]},{"1327404869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404865, 1327404879, 1327404867, 1327404876, 1327404872, 1327404869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.362162351608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:34:21.807749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0000.jpg', '/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0001.jpg', '/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0002.jpg', '/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0003.jpg', '/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0000.jpg', '/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0000.jpg
/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0001.jpg
/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0002.jpg
/home/pi/Desktop/images/08012025/07/32/image_08012025_07_32_02_575732_0003.jpg
/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0000.jpg
/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404897","1327404901","1327404891","1327404894","1327404888","1327404899"],"photo_ids_order":["1327404888","1327404891","1327404894","1327404897","1327404899","1327404901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4e686cd55c9d9edc9ebcd7fa5b4c960.jpg","text":"TemporaryFile(/tmp/multipartBody5008604094590298548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_32_02_575732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12dbe655ffed3e3550f31a9d6d9b53da.jpg","text":"TemporaryFile(/tmp/multipartBody2647841600632911356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_33_02_096570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f822f61eb44ea69ba04aa5eb96576f9.jpg","text":"TemporaryFile(/tmp/multipartBody1134083008694728842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_32_02_575732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7b1442350bff8c340725c7dbf503511.jpg","text":"TemporaryFile(/tmp/multipartBody7122776345330581054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_32_02_575732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de4de31203812eb189ce2d28378a1fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4235948069158445109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_32_02_575732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f00204046ebaa4b63c3308520fc343d.jpg","text":"TemporaryFile(/tmp/multipartBody5409276062988628251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318136717,"filename":"image_08012025_07_33_02_096570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404894","file1":"1327404891","file0":"1327404888","file4":"1327404899","file5":"1327404901","file3":"1327404897"},"map_files_photo_id_array":[{"photo_id":"1327404901","filename":"file5"},{"photo_id":"1327404894","filename":"file2"},{"photo_id":"1327404899","filename":"file4"},{"photo_id":"1327404891","filename":"file1"},{"photo_id":"1327404888","filename":"file0"},{"photo_id":"1327404897","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404897":["hashtag1","hashtag2"]},{"1327404901":["hashtag1","hashtag2"]},{"1327404891":["hashtag1","hashtag2"]},{"1327404894":["hashtag1","hashtag2"]},{"1327404888":["hashtag1","hashtag2"]},{"1327404899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404897, 1327404901, 1327404891, 1327404894, 1327404888, 1327404899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90927219390869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:35:22.450824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0002.jpg', '/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0003.jpg', '/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0000.jpg', '/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0001.jpg', '/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0002.jpg', '/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0002.jpg
/home/pi/Desktop/images/08012025/07/33/image_08012025_07_33_02_096570_0003.jpg
/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0000.jpg
/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0001.jpg
/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0002.jpg
/home/pi/Desktop/images/08012025/07/34/image_08012025_07_34_02_631296_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404922","1327404919","1327404909","1327404914","1327404917","1327404905"],"photo_ids_order":["1327404905","1327404909","1327404914","1327404917","1327404919","1327404922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb048889188b094ff6396a30a0bda6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8408195023416635588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_34_02_631296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82a7964d6717726b1b66c50fbb134fe6.jpg","text":"TemporaryFile(/tmp/multipartBody8937309038581874014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_34_02_631296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0bae50a8bce26acc1b8fe37fa5ea6b36.jpg","text":"TemporaryFile(/tmp/multipartBody2013153165843907789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_33_02_096570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05ef1737582a1ad6a28c0a901e5ae3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1272365649839844103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_34_02_631296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd71a6bb7769de8006b89c9cf7b26043.jpg","text":"TemporaryFile(/tmp/multipartBody5454179224571262690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_34_02_631296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea630c395d526b06d7c823b306a43e52.jpg","text":"TemporaryFile(/tmp/multipartBody2598645738094554608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318197388,"filename":"image_08012025_07_33_02_096570_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404914","file1":"1327404909","file0":"1327404905","file4":"1327404919","file5":"1327404922","file3":"1327404917"},"map_files_photo_id_array":[{"photo_id":"1327404922","filename":"file5"},{"photo_id":"1327404914","filename":"file2"},{"photo_id":"1327404919","filename":"file4"},{"photo_id":"1327404909","filename":"file1"},{"photo_id":"1327404905","filename":"file0"},{"photo_id":"1327404917","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404922":["hashtag1","hashtag2"]},{"1327404919":["hashtag1","hashtag2"]},{"1327404909":["hashtag1","hashtag2"]},{"1327404914":["hashtag1","hashtag2"]},{"1327404917":["hashtag1","hashtag2"]},{"1327404905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404922, 1327404919, 1327404909, 1327404914, 1327404917, 1327404905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.557201862335205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:36:21.836862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0000.jpg', '/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0001.jpg', '/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0002.jpg', '/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0003.jpg', '/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0000.jpg', '/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0000.jpg
/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0001.jpg
/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0002.jpg
/home/pi/Desktop/images/08012025/07/35/image_08012025_07_35_02_220662_0003.jpg
/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0000.jpg
/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404949","1327404946","1327404925","1327404933","1327404938","1327404929"],"photo_ids_order":["1327404925","1327404929","1327404933","1327404938","1327404946","1327404949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40483200c9509aa49392017b0dabf3c6.jpg","text":"TemporaryFile(/tmp/multipartBody1663251942411888243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_36_02_740321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa0df512eff89a18d8c817b1a5126a95.jpg","text":"TemporaryFile(/tmp/multipartBody5210005517847335303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_36_02_740321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38fa31567ab0aae0d336e1d1a4c20cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8751981873982429955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_35_02_220662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5d7b1afe165ddbdbec865d3613a70e8.jpg","text":"TemporaryFile(/tmp/multipartBody5448505944745608585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_35_02_220662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7f7e26af763d9e60c127fed2695db94.jpg","text":"TemporaryFile(/tmp/multipartBody5623438111021470473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_35_02_220662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a96855ab3206202fc00d4f2ce26ef6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7848833133638480975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318256705,"filename":"image_08012025_07_35_02_220662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404933","file1":"1327404929","file0":"1327404925","file4":"1327404946","file5":"1327404949","file3":"1327404938"},"map_files_photo_id_array":[{"photo_id":"1327404949","filename":"file5"},{"photo_id":"1327404933","filename":"file2"},{"photo_id":"1327404946","filename":"file4"},{"photo_id":"1327404929","filename":"file1"},{"photo_id":"1327404925","filename":"file0"},{"photo_id":"1327404938","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404949":["hashtag1","hashtag2"]},{"1327404946":["hashtag1","hashtag2"]},{"1327404925":["hashtag1","hashtag2"]},{"1327404933":["hashtag1","hashtag2"]},{"1327404938":["hashtag1","hashtag2"]},{"1327404929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404949, 1327404946, 1327404925, 1327404933, 1327404938, 1327404929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20346140861511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:37:22.480859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0002.jpg', '/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0003.jpg', '/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0000.jpg', '/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0001.jpg', '/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0002.jpg
/home/pi/Desktop/images/08012025/07/36/image_08012025_07_36_02_740321_0003.jpg
/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0000.jpg
/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0001.jpg
/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327404981","1327404984","1327404992","1327404989","1327404985"],"photo_ids_order":["1327404981","1327404984","1327404985","1327404989","1327404992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a8f416bdab717a30cce6f4e852286d9.jpg","text":"TemporaryFile(/tmp/multipartBody3430119950896581335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318314916,"filename":"image_08012025_07_36_02_740321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2aa3df76fa08daa9c6f08a023df84a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5607372525535031011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318314916,"filename":"image_08012025_07_36_02_740321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0b4598592e3abdb674a8b787c62c801.jpg","text":"TemporaryFile(/tmp/multipartBody2179502077700770390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318314916,"filename":"image_08012025_07_37_02_376195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b85cac35f82a1132c6de91b2890b1785.jpg","text":"TemporaryFile(/tmp/multipartBody7841334908401579914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318314916,"filename":"image_08012025_07_37_02_376195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82d63f6d2d1178e175b0001a1a960390.jpg","text":"TemporaryFile(/tmp/multipartBody2162705344166839614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318314916,"filename":"image_08012025_07_37_02_376195_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327404985","file1":"1327404984","file0":"1327404981","file4":"1327404992","file3":"1327404989"},"map_files_photo_id_array":[{"photo_id":"1327404985","filename":"file2"},{"photo_id":"1327404992","filename":"file4"},{"photo_id":"1327404984","filename":"file1"},{"photo_id":"1327404981","filename":"file0"},{"photo_id":"1327404989","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327404981":["hashtag1","hashtag2"]},{"1327404984":["hashtag1","hashtag2"]},{"1327404992":["hashtag1","hashtag2"]},{"1327404989":["hashtag1","hashtag2"]},{"1327404985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327404981, 1327404984, 1327404992, 1327404989, 1327404985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.12974715232849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:38:22.007423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0003.jpg', '/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0000.jpg', '/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/37/image_08012025_07_37_02_376195_0003.jpg
/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0000.jpg
/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405003","1327404998","1327405001"],"photo_ids_order":["1327404998","1327405001","1327405003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a98a2890ac361d978f705d9ee91897f.jpg","text":"TemporaryFile(/tmp/multipartBody5876720244684262515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318369691,"filename":"image_08012025_07_38_02_902503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73b9cc8b404cfed9786c734b35ceeb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3168071510501000503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318369691,"filename":"image_08012025_07_37_02_376195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9477210fe72dd109e03cda6a9e9c16e.jpg","text":"TemporaryFile(/tmp/multipartBody8652809937523944271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318369691,"filename":"image_08012025_07_38_02_902503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405003","file1":"1327405001","file0":"1327404998"},"map_files_photo_id_array":[{"photo_id":"1327405003","filename":"file2"},{"photo_id":"1327405001","filename":"file1"},{"photo_id":"1327404998","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405003":["hashtag1","hashtag2"]},{"1327404998":["hashtag1","hashtag2"]},{"1327405001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405003, 1327404998, 1327405001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.23995327949524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:39:03.300065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:39:22.546202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0003.jpg', '/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0000.jpg', '/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0001.jpg', '/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/38/image_08012025_07_38_02_902503_0003.jpg
/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0000.jpg
/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0001.jpg
/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405018","1327405014","1327405016","1327405021"],"photo_ids_order":["1327405014","1327405016","1327405018","1327405021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3167404e7828563ca93f3ab1737635c.jpg","text":"TemporaryFile(/tmp/multipartBody5847838597321830489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318432663,"filename":"image_08012025_07_39_02_453647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84c78d2aa0b6cb20885695059fb84538.jpg","text":"TemporaryFile(/tmp/multipartBody8406385554875673918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318432663,"filename":"image_08012025_07_38_02_902503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88bf2161d6469d816f80a05dcb4e05a7.jpg","text":"TemporaryFile(/tmp/multipartBody4871519252455542325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318432663,"filename":"image_08012025_07_39_02_453647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/469cd84569c67b3b168bf7c0537373ac.jpg","text":"TemporaryFile(/tmp/multipartBody3313794988006870580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318432663,"filename":"image_08012025_07_39_02_453647_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405018","file1":"1327405016","file0":"1327405014","file3":"1327405021"},"map_files_photo_id_array":[{"photo_id":"1327405018","filename":"file2"},{"photo_id":"1327405016","filename":"file1"},{"photo_id":"1327405014","filename":"file0"},{"photo_id":"1327405021","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405018":["hashtag1","hashtag2"]},{"1327405014":["hashtag1","hashtag2"]},{"1327405016":["hashtag1","hashtag2"]},{"1327405021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405018, 1327405014, 1327405016, 1327405021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9915566444397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:40:02.746675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:40:22.277747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0003.jpg', '/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0000.jpg', '/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0001.jpg', '/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/39/image_08012025_07_39_02_453647_0003.jpg
/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0000.jpg
/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0001.jpg
/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405062","1327405085","1327405079","1327405081"],"photo_ids_order":["1327405062","1327405079","1327405081","1327405085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93818dc2e2ec19f5be00503ffe33989f.jpg","text":"TemporaryFile(/tmp/multipartBody7414236938679426230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318492379,"filename":"image_08012025_07_39_02_453647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d99be7006bde89e1689bd1b5c4c156b0.jpg","text":"TemporaryFile(/tmp/multipartBody225971629891818497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318492379,"filename":"image_08012025_07_40_02_967320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d83fea19292861691af3d450ad06541.jpg","text":"TemporaryFile(/tmp/multipartBody1604417141871246746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318492379,"filename":"image_08012025_07_40_02_967320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e0cd3cf26a7d84a024b93407bf41b58.jpg","text":"TemporaryFile(/tmp/multipartBody3097621537184371496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318492379,"filename":"image_08012025_07_40_02_967320_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405081","file1":"1327405079","file0":"1327405062","file3":"1327405085"},"map_files_photo_id_array":[{"photo_id":"1327405081","filename":"file2"},{"photo_id":"1327405079","filename":"file1"},{"photo_id":"1327405062","filename":"file0"},{"photo_id":"1327405085","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405062":["hashtag1","hashtag2"]},{"1327405085":["hashtag1","hashtag2"]},{"1327405079":["hashtag1","hashtag2"]},{"1327405081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405062, 1327405085, 1327405079, 1327405081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.717097759246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:41:02.551261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:41:21.835033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0003.jpg', '/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0000.jpg', '/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0001.jpg', '/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/40/image_08012025_07_40_02_967320_0003.jpg
/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0000.jpg
/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0001.jpg
/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405104","1327405112","1327405106","1327405109"],"photo_ids_order":["1327405104","1327405106","1327405109","1327405112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f60a2d00e17fb283f3f69243e29fa75.jpg","text":"TemporaryFile(/tmp/multipartBody4004881015748717012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318552053,"filename":"image_08012025_07_40_02_967320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e9d04c5821d2c97abd9999656ceb9b5.jpg","text":"TemporaryFile(/tmp/multipartBody5045574386809858843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318552053,"filename":"image_08012025_07_41_02_729406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/143631bca40309efa6b6e0bda130e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3698605865067302202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318552053,"filename":"image_08012025_07_41_02_729406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6273dbb404c6f9b6d078aa0b8ff56d37.jpg","text":"TemporaryFile(/tmp/multipartBody5896948900182075861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318552053,"filename":"image_08012025_07_41_02_729406_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405109","file1":"1327405106","file0":"1327405104","file3":"1327405112"},"map_files_photo_id_array":[{"photo_id":"1327405109","filename":"file2"},{"photo_id":"1327405106","filename":"file1"},{"photo_id":"1327405104","filename":"file0"},{"photo_id":"1327405112","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405104":["hashtag1","hashtag2"]},{"1327405112":["hashtag1","hashtag2"]},{"1327405106":["hashtag1","hashtag2"]},{"1327405109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405104, 1327405112, 1327405106, 1327405109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0602343082428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:42:02.902956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:42:22.544823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0003.jpg', '/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0000.jpg', '/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0001.jpg', '/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/41/image_08012025_07_41_02_729406_0003.jpg
/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0000.jpg
/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0001.jpg
/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405123","1327405126","1327405132","1327405129"],"photo_ids_order":["1327405123","1327405126","1327405129","1327405132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70563299e055e8503c66388c28aa7c45.jpg","text":"TemporaryFile(/tmp/multipartBody7087310017573342369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318612876,"filename":"image_08012025_07_41_02_729406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d63759e1ff38606e64cbfa75f8f7216.jpg","text":"TemporaryFile(/tmp/multipartBody1379454606284406024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318612876,"filename":"image_08012025_07_42_02_275821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f215a5de44415bfcf59ad3b65c48b78.jpg","text":"TemporaryFile(/tmp/multipartBody7754953507601923912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318612876,"filename":"image_08012025_07_42_02_275821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02aa165eb1b1879371512810a28b77f2.jpg","text":"TemporaryFile(/tmp/multipartBody3851144203053212084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318612876,"filename":"image_08012025_07_42_02_275821_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405129","file1":"1327405126","file0":"1327405123","file3":"1327405132"},"map_files_photo_id_array":[{"photo_id":"1327405129","filename":"file2"},{"photo_id":"1327405126","filename":"file1"},{"photo_id":"1327405123","filename":"file0"},{"photo_id":"1327405132","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405123":["hashtag1","hashtag2"]},{"1327405126":["hashtag1","hashtag2"]},{"1327405132":["hashtag1","hashtag2"]},{"1327405129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405123, 1327405126, 1327405132, 1327405129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.039063692092896 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-08 07:43:22.111134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0003.jpg', '/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0000.jpg', '/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0001.jpg', '/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/42/image_08012025_07_42_02_275821_0003.jpg
/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0000.jpg
/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0001.jpg
/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405148","1327405145","1327405195","1327405192"],"photo_ids_order":["1327405145","1327405148","1327405192","1327405195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a3da4d605e7e3ee650836e2f5ad7ec3.jpg","text":"TemporaryFile(/tmp/multipartBody7778534139897935246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318672444,"filename":"image_08012025_07_43_02_978482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fca4ee2a07a9d0b3daa9d7544784f0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5645824069450948132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318672444,"filename":"image_08012025_07_42_02_275821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c856e14a318857ec1673afb4bcd6847.jpg","text":"TemporaryFile(/tmp/multipartBody3836093702586403521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318672444,"filename":"image_08012025_07_43_02_978482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b6b2675dc6703f28d659f4354bebdac.jpg","text":"TemporaryFile(/tmp/multipartBody3067766390284122305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318672444,"filename":"image_08012025_07_43_02_978482_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405192","file1":"1327405148","file0":"1327405145","file3":"1327405195"},"map_files_photo_id_array":[{"photo_id":"1327405192","filename":"file2"},{"photo_id":"1327405148","filename":"file1"},{"photo_id":"1327405145","filename":"file0"},{"photo_id":"1327405195","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405148":["hashtag1","hashtag2"]},{"1327405145":["hashtag1","hashtag2"]},{"1327405195":["hashtag1","hashtag2"]},{"1327405192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405148, 1327405145, 1327405195, 1327405192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48494100570679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:44:22.633970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0003.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0000.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0001.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0003.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0000.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0001.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.8430655002594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:45:02.796191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0003.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0000.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0001.jpg', '/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/43/image_08012025_07_43_02_978482_0003.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0000.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0001.jpg
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405272","1327405266","1327405270","1327405267"],"photo_ids_order":["1327405266","1327405267","1327405270","1327405272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b26dabb0d4b160606bed6875e1511b3b.jpg","text":"TemporaryFile(/tmp/multipartBody7953288771247595817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318773104,"filename":"image_08012025_07_44_02_503518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ff44025fec9951435d13b3d5d43cc54.jpg","text":"TemporaryFile(/tmp/multipartBody4367679850745077786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318773104,"filename":"image_08012025_07_43_02_978482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2770269a4ee6c2d8fe1895dd8c9e9f28.jpg","text":"TemporaryFile(/tmp/multipartBody4905641786448366543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318773104,"filename":"image_08012025_07_44_02_503518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/452f73df9069073e529a1363eec49940.jpg","text":"TemporaryFile(/tmp/multipartBody3186947763315657603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318773104,"filename":"image_08012025_07_44_02_503518_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405270","file1":"1327405267","file0":"1327405266","file3":"1327405272"},"map_files_photo_id_array":[{"photo_id":"1327405270","filename":"file2"},{"photo_id":"1327405267","filename":"file1"},{"photo_id":"1327405266","filename":"file0"},{"photo_id":"1327405272","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405272":["hashtag1","hashtag2"]},{"1327405266":["hashtag1","hashtag2"]},{"1327405270":["hashtag1","hashtag2"]},{"1327405267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405272, 1327405266, 1327405270, 1327405267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69302558898926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:46:02.389114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0003.jpg', '/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0000.jpg', '/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0001.jpg', '/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/44/image_08012025_07_44_02_503518_0003.jpg
/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0000.jpg
/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0001.jpg
/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405334","1327405331","1327405325","1327405327"],"photo_ids_order":["1327405325","1327405327","1327405331","1327405334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9a11e9e585a994db72c35fdf5e5dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1870972514649690423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318832796,"filename":"image_08012025_07_45_03_076012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a500b5f478fd0b9bad4dfc0ff8f97dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8196289048346446314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318832796,"filename":"image_08012025_07_45_03_076012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e04f338e1896e484377bf57bf966736d.jpg","text":"TemporaryFile(/tmp/multipartBody8800541025255085083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318832796,"filename":"image_08012025_07_44_02_503518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05ca3cb76e1c79501e340eeb0cf455a0.jpg","text":"TemporaryFile(/tmp/multipartBody7426258515116424599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318832796,"filename":"image_08012025_07_45_03_076012_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405331","file1":"1327405327","file0":"1327405325","file3":"1327405334"},"map_files_photo_id_array":[{"photo_id":"1327405331","filename":"file2"},{"photo_id":"1327405327","filename":"file1"},{"photo_id":"1327405325","filename":"file0"},{"photo_id":"1327405334","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405334":["hashtag1","hashtag2"]},{"1327405331":["hashtag1","hashtag2"]},{"1327405325":["hashtag1","hashtag2"]},{"1327405327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405334, 1327405331, 1327405325, 1327405327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63803482055664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:47:03.099508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0003.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0000.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0001.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0003.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0000.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0001.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.98229694366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:47:22.363831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0003.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0000.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0001.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0002.jpg', '/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0003.jpg', '/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/45/image_08012025_07_45_03_076012_0003.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0000.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0001.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0002.jpg
/home/pi/Desktop/images/08012025/07/46/image_08012025_07_46_02_632475_0003.jpg
/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405377","1327405365","1327405370","1327405373","1327405375","1327405360"],"photo_ids_order":["1327405360","1327405365","1327405370","1327405373","1327405375","1327405377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/522985e5f76be40f98c7450a81e5ba24.jpg","text":"TemporaryFile(/tmp/multipartBody5978478940225741252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_47_02_303128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac2498887205ef2dd271d0e950330fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3821895943520556353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_46_02_632475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e12b979a9399ca9e0c73e147a442328b.jpg","text":"TemporaryFile(/tmp/multipartBody5181672689664338300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_46_02_632475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/185434229dba7f32c997fa3a3eebda7c.jpg","text":"TemporaryFile(/tmp/multipartBody8456343879409540780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_46_02_632475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3844e628661c97e5904c0571fe4a5480.jpg","text":"TemporaryFile(/tmp/multipartBody547865547006451617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_46_02_632475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2fdd1d3c081e8d89824c75838325f0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2843739974430645729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318917507,"filename":"image_08012025_07_45_03_076012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405370","file1":"1327405365","file0":"1327405360","file4":"1327405375","file5":"1327405377","file3":"1327405373"},"map_files_photo_id_array":[{"photo_id":"1327405377","filename":"file5"},{"photo_id":"1327405370","filename":"file2"},{"photo_id":"1327405375","filename":"file4"},{"photo_id":"1327405365","filename":"file1"},{"photo_id":"1327405360","filename":"file0"},{"photo_id":"1327405373","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405377":["hashtag1","hashtag2"]},{"1327405365":["hashtag1","hashtag2"]},{"1327405370":["hashtag1","hashtag2"]},{"1327405373":["hashtag1","hashtag2"]},{"1327405375":["hashtag1","hashtag2"]},{"1327405360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405377, 1327405365, 1327405370, 1327405373, 1327405375, 1327405360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.057955741882324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:48:21.988953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0001.jpg', '/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0002.jpg', '/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0003.jpg', '/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0000.jpg', '/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0001.jpg', '/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0001.jpg
/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0002.jpg
/home/pi/Desktop/images/08012025/07/47/image_08012025_07_47_02_303128_0003.jpg
/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0000.jpg
/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0001.jpg
/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405410","1327405580","1327405573","1327405576","1327405570","1327405432"],"photo_ids_order":["1327405410","1327405432","1327405570","1327405573","1327405576","1327405580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c55f89227e1c56bb0f4d701ae3f9da8.jpg","text":"TemporaryFile(/tmp/multipartBody4264013305578734372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_47_02_303128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8fb69801cce528499a3160966ec077c.jpg","text":"TemporaryFile(/tmp/multipartBody4924906434641507028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_48_02_829459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c67f46daf37984a0dc0d4efb7014fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody6888988251910570022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_48_02_829459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92098e779dd3c01bb6c8b51b95d24614.jpg","text":"TemporaryFile(/tmp/multipartBody659156439137335463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_48_02_829459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f172f06c84bda7462a6eab44cabfa04.jpg","text":"TemporaryFile(/tmp/multipartBody4306775497502054768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_47_02_303128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e0933955a2ce0243c035eadd77a9b89.jpg","text":"TemporaryFile(/tmp/multipartBody5113068092940363022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736318977252,"filename":"image_08012025_07_47_02_303128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405570","file1":"1327405432","file0":"1327405410","file4":"1327405576","file5":"1327405580","file3":"1327405573"},"map_files_photo_id_array":[{"photo_id":"1327405580","filename":"file5"},{"photo_id":"1327405570","filename":"file2"},{"photo_id":"1327405576","filename":"file4"},{"photo_id":"1327405432","filename":"file1"},{"photo_id":"1327405410","filename":"file0"},{"photo_id":"1327405573","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405410":["hashtag1","hashtag2"]},{"1327405580":["hashtag1","hashtag2"]},{"1327405573":["hashtag1","hashtag2"]},{"1327405576":["hashtag1","hashtag2"]},{"1327405570":["hashtag1","hashtag2"]},{"1327405432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405410, 1327405580, 1327405573, 1327405576, 1327405570, 1327405432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.622167110443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:49:22.679232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0003.jpg', '/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0000.jpg', '/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0001.jpg', '/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/48/image_08012025_07_48_02_829459_0003.jpg
/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0000.jpg
/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0001.jpg
/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405600","1327405647","1327405644","1327405608"],"photo_ids_order":["1327405600","1327405608","1327405644","1327405647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa962db9823ba164df8ba8e1be973729.jpg","text":"TemporaryFile(/tmp/multipartBody318302598243876010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319032890,"filename":"image_08012025_07_48_02_829459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90ca84ff0f958b580150426930315956.jpg","text":"TemporaryFile(/tmp/multipartBody8492866491407178896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319032890,"filename":"image_08012025_07_49_02_488179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8292e7f4215ef9e90b169c619cee6de.jpg","text":"TemporaryFile(/tmp/multipartBody8571800961246540726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319032890,"filename":"image_08012025_07_49_02_488179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6289950920369b5c93c816e15822311d.jpg","text":"TemporaryFile(/tmp/multipartBody7226599712816624154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319032890,"filename":"image_08012025_07_49_02_488179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405644","file1":"1327405608","file0":"1327405600","file3":"1327405647"},"map_files_photo_id_array":[{"photo_id":"1327405644","filename":"file2"},{"photo_id":"1327405608","filename":"file1"},{"photo_id":"1327405600","filename":"file0"},{"photo_id":"1327405647","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405600":["hashtag1","hashtag2"]},{"1327405647":["hashtag1","hashtag2"]},{"1327405644":["hashtag1","hashtag2"]},{"1327405608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405600, 1327405647, 1327405644, 1327405608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.53360462188721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:50:22.297258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0003.jpg', '/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0000.jpg', '/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0001.jpg', '/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/49/image_08012025_07_49_02_488179_0003.jpg
/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0000.jpg
/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0001.jpg
/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405695","1327405689","1327405684","1327405678"],"photo_ids_order":["1327405678","1327405684","1327405689","1327405695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b838bc529463cf41f3d3927972a8287e.jpg","text":"TemporaryFile(/tmp/multipartBody2109619381920151901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319092597,"filename":"image_08012025_07_50_03_098701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3ca26eae3572a27db101f43ecbb0022.jpg","text":"TemporaryFile(/tmp/multipartBody7560590550739524440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319092597,"filename":"image_08012025_07_50_03_098701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91a064d4982bc9793094887df470e379.jpg","text":"TemporaryFile(/tmp/multipartBody1935223611938966505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319092597,"filename":"image_08012025_07_50_03_098701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6eea684ad5168c6a754f034adb4c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody7938211407457100429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319092597,"filename":"image_08012025_07_49_02_488179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405689","file1":"1327405684","file0":"1327405678","file3":"1327405695"},"map_files_photo_id_array":[{"photo_id":"1327405689","filename":"file2"},{"photo_id":"1327405684","filename":"file1"},{"photo_id":"1327405678","filename":"file0"},{"photo_id":"1327405695","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405695":["hashtag1","hashtag2"]},{"1327405689":["hashtag1","hashtag2"]},{"1327405684":["hashtag1","hashtag2"]},{"1327405678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405695, 1327405689, 1327405684, 1327405678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3954381942749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:51:02.223955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:51:21.655054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0003.jpg', '/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0000.jpg', '/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/50/image_08012025_07_50_03_098701_0003.jpg
/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0000.jpg
/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405714","1327405710","1327405706"],"photo_ids_order":["1327405706","1327405710","1327405714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaf95e52c6564331461793b6b451eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody8638365942852834704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319149540,"filename":"image_08012025_07_51_02_621572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f53717b0f9c8f6d63a1db9c04871729.jpg","text":"TemporaryFile(/tmp/multipartBody8776769818789354115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319149540,"filename":"image_08012025_07_51_02_621572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/269c8d0efe84c47767c004c1d2fed8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2425679953733265436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319149540,"filename":"image_08012025_07_50_03_098701_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405714","file1":"1327405710","file0":"1327405706"},"map_files_photo_id_array":[{"photo_id":"1327405714","filename":"file2"},{"photo_id":"1327405710","filename":"file1"},{"photo_id":"1327405706","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405714":["hashtag1","hashtag2"]},{"1327405710":["hashtag1","hashtag2"]},{"1327405706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405714, 1327405710, 1327405706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.660086393356323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:52:02.933467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:52:22.519809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0002.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0000.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0001.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0002.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0000.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0001.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.763641595840454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:53:02.681051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0002.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0000.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0001.jpg', '/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/51/image_08012025_07_51_02_621572_0002.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0000.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0001.jpg
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405831","1327405817","1327405808","1327405822"],"photo_ids_order":["1327405808","1327405817","1327405822","1327405831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58e577ec58c87711ed17e78087a16d5b.jpg","text":"TemporaryFile(/tmp/multipartBody5742989722186186118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319252903,"filename":"image_08012025_07_52_02_178905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65d0b1dd76e18d4be0e317c0c27fa51c.jpg","text":"TemporaryFile(/tmp/multipartBody975356770444467280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319252903,"filename":"image_08012025_07_52_02_178905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d7a0d37ddc57824e54c2c09bc644a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4363370689793732778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319252903,"filename":"image_08012025_07_51_02_621572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4444696d3db31dfc7d37554be6f5b715.jpg","text":"TemporaryFile(/tmp/multipartBody642246284286419337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319252903,"filename":"image_08012025_07_52_02_178905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405822","file1":"1327405817","file0":"1327405808","file3":"1327405831"},"map_files_photo_id_array":[{"photo_id":"1327405822","filename":"file2"},{"photo_id":"1327405817","filename":"file1"},{"photo_id":"1327405808","filename":"file0"},{"photo_id":"1327405831","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405831":["hashtag1","hashtag2"]},{"1327405817":["hashtag1","hashtag2"]},{"1327405808":["hashtag1","hashtag2"]},{"1327405822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405831, 1327405817, 1327405808, 1327405822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81639218330383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:54:02.208909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0003.jpg', '/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0000.jpg', '/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0001.jpg', '/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/52/image_08012025_07_52_02_178905_0003.jpg
/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0000.jpg
/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0001.jpg
/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327405906","1327405928","1327405879","1327405909"],"photo_ids_order":["1327405879","1327405906","1327405909","1327405928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d22ea3f67fb0d397e0e6f7b3911297fe.jpg","text":"TemporaryFile(/tmp/multipartBody4545110434842202169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319312612,"filename":"image_08012025_07_53_02_950087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a180d5e3aa0fb449bb451c7fdb54579b.jpg","text":"TemporaryFile(/tmp/multipartBody4708842903938679776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319312612,"filename":"image_08012025_07_53_02_950087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c110f2072a95b874fb4f0677157c04b9.jpg","text":"TemporaryFile(/tmp/multipartBody4411923749563935630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319312612,"filename":"image_08012025_07_52_02_178905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7721dfec2212b0fa65e7d8d3cd5ab39.jpg","text":"TemporaryFile(/tmp/multipartBody7679811918531275493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319312612,"filename":"image_08012025_07_53_02_950087_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405909","file1":"1327405906","file0":"1327405879","file3":"1327405928"},"map_files_photo_id_array":[{"photo_id":"1327405909","filename":"file2"},{"photo_id":"1327405906","filename":"file1"},{"photo_id":"1327405879","filename":"file0"},{"photo_id":"1327405928","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327405906":["hashtag1","hashtag2"]},{"1327405928":["hashtag1","hashtag2"]},{"1327405879":["hashtag1","hashtag2"]},{"1327405909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327405906, 1327405928, 1327405879, 1327405909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.646549701690674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 07:55:02.920397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0003.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0000.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0001.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0003.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0000.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0001.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.045315980911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:55:22.356948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0003.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0000.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0001.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0002.jpg', '/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0003.jpg', '/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/53/image_08012025_07_53_02_950087_0003.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0000.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0001.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0002.jpg
/home/pi/Desktop/images/08012025/07/54/image_08012025_07_54_02_529352_0003.jpg
/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327406081","1327405988","1327405982","1327406068","1327405990","1327405978"],"photo_ids_order":["1327405978","1327405982","1327405988","1327405990","1327406068","1327406081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18c9933e65b9488417d3c3611c47b68e.jpg","text":"TemporaryFile(/tmp/multipartBody8672682429391806394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_55_02_243988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c6b2e413e02c626ce6ec0b061de44ff.jpg","text":"TemporaryFile(/tmp/multipartBody6680584815065269622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_54_02_529352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9d1754144f125dc15c30101a15a05bb.jpg","text":"TemporaryFile(/tmp/multipartBody1275206223846821907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_54_02_529352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e16f1598db460fc4a0c3d3c32cdfa402.jpg","text":"TemporaryFile(/tmp/multipartBody8567936698585670454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_54_02_529352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b8dc0cee7d227ec6d8786a0fbda3b96.jpg","text":"TemporaryFile(/tmp/multipartBody7487767115503805016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_54_02_529352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54d916961a454931e485c4d3c123f233.jpg","text":"TemporaryFile(/tmp/multipartBody2690967569238094209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319397498,"filename":"image_08012025_07_53_02_950087_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327405988","file1":"1327405982","file0":"1327405978","file4":"1327406068","file5":"1327406081","file3":"1327405990"},"map_files_photo_id_array":[{"photo_id":"1327406081","filename":"file5"},{"photo_id":"1327405988","filename":"file2"},{"photo_id":"1327406068","filename":"file4"},{"photo_id":"1327405982","filename":"file1"},{"photo_id":"1327405978","filename":"file0"},{"photo_id":"1327405990","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327406081":["hashtag1","hashtag2"]},{"1327405988":["hashtag1","hashtag2"]},{"1327405982":["hashtag1","hashtag2"]},{"1327406068":["hashtag1","hashtag2"]},{"1327405990":["hashtag1","hashtag2"]},{"1327405978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327406081, 1327405988, 1327405982, 1327406068, 1327405990, 1327405978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.29626941680908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:56:22.098659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0001.jpg', '/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0002.jpg', '/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0003.jpg', '/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0000.jpg', '/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0001.jpg', '/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0001.jpg
/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0002.jpg
/home/pi/Desktop/images/08012025/07/55/image_08012025_07_55_02_243988_0003.jpg
/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0000.jpg
/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0001.jpg
/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327406106","1327406100","1327406103","1327406108","1327406094","1327406088"],"photo_ids_order":["1327406088","1327406094","1327406100","1327406103","1327406106","1327406108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1719329c79f2c1c2b523953156154273.jpg","text":"TemporaryFile(/tmp/multipartBody1542355744989206699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_56_02_783734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6903be837a1fa69663dd291170b2150c.jpg","text":"TemporaryFile(/tmp/multipartBody853124492802057084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_55_02_243988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9c79f13c337ac1713b1cc8ad0f6f394.jpg","text":"TemporaryFile(/tmp/multipartBody8082677775957627898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_56_02_783734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b034e013be018a8c9efa4055f5bed158.jpg","text":"TemporaryFile(/tmp/multipartBody9185590368249643396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_56_02_783734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b529cb269cb58740b45b1b703816d87.jpg","text":"TemporaryFile(/tmp/multipartBody2655902196358192831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_55_02_243988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97d42bfdd9e902e4c85bad516d559930.jpg","text":"TemporaryFile(/tmp/multipartBody5309512762146266906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319457042,"filename":"image_08012025_07_55_02_243988_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327406100","file1":"1327406094","file0":"1327406088","file4":"1327406106","file5":"1327406108","file3":"1327406103"},"map_files_photo_id_array":[{"photo_id":"1327406108","filename":"file5"},{"photo_id":"1327406100","filename":"file2"},{"photo_id":"1327406106","filename":"file4"},{"photo_id":"1327406094","filename":"file1"},{"photo_id":"1327406088","filename":"file0"},{"photo_id":"1327406103","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327406106":["hashtag1","hashtag2"]},{"1327406100":["hashtag1","hashtag2"]},{"1327406103":["hashtag1","hashtag2"]},{"1327406108":["hashtag1","hashtag2"]},{"1327406094":["hashtag1","hashtag2"]},{"1327406088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327406106, 1327406100, 1327406103, 1327406108, 1327406094, 1327406088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.70738863945007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 07:57:22.587668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0003.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0000.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0001.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0003.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0000.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0001.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_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-08 07:59:03.025863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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-08 07:59:22.293188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0003.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0000.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0001.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0002.jpg', '/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0003.jpg', '/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/56/image_08012025_07_56_02_783734_0003.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0000.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0001.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0002.jpg
/home/pi/Desktop/images/08012025/07/57/image_08012025_07_57_02_435586_0003.jpg
/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327406235","1327406244","1327406232","1327406240","1327406213","1327406216"],"photo_ids_order":["1327406213","1327406216","1327406232","1327406235","1327406240","1327406244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d26815a4d00657275fa65f925beaba0c.jpg","text":"TemporaryFile(/tmp/multipartBody8874128313056027915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_57_02_435586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd6f9745a705773a0d77d20a6a79049b.jpg","text":"TemporaryFile(/tmp/multipartBody3876898316870413560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_58_03_043462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/768b03824baa1a3494d049d3c2d6a27a.jpg","text":"TemporaryFile(/tmp/multipartBody4829543013292950051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_57_02_435586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1cd86a4d474038a44d1278581a072d0.jpg","text":"TemporaryFile(/tmp/multipartBody8821350047341869100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_57_02_435586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cfd2ed069dc0bc7dbbe507050b4b06f.jpg","text":"TemporaryFile(/tmp/multipartBody3154896947440047550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_56_02_783734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea0ce9cfa9fb3921ced4ffb655053ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8380858760735561444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319637322,"filename":"image_08012025_07_57_02_435586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327406232","file1":"1327406216","file0":"1327406213","file4":"1327406240","file5":"1327406244","file3":"1327406235"},"map_files_photo_id_array":[{"photo_id":"1327406244","filename":"file5"},{"photo_id":"1327406232","filename":"file2"},{"photo_id":"1327406240","filename":"file4"},{"photo_id":"1327406216","filename":"file1"},{"photo_id":"1327406213","filename":"file0"},{"photo_id":"1327406235","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327406235":["hashtag1","hashtag2"]},{"1327406244":["hashtag1","hashtag2"]},{"1327406232":["hashtag1","hashtag2"]},{"1327406240":["hashtag1","hashtag2"]},{"1327406213":["hashtag1","hashtag2"]},{"1327406216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327406235, 1327406244, 1327406232, 1327406240, 1327406213, 1327406216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29686403274536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:00:21.991451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0001.jpg', '/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0002.jpg', '/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0003.jpg', '/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0000.jpg', '/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0001.jpg', '/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0001.jpg
/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0002.jpg
/home/pi/Desktop/images/08012025/07/58/image_08012025_07_58_03_043462_0003.jpg
/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0000.jpg
/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0001.jpg
/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327406322","1327406319","1327406310","1327406313","1327406315","1327406317"],"photo_ids_order":["1327406310","1327406313","1327406315","1327406317","1327406319","1327406322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f5b471e3c500b65906a765b029a4a53.jpg","text":"TemporaryFile(/tmp/multipartBody6524498973871729218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_59_02_546139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c5cfa03d9145cc342ad32c655b0103f.jpg","text":"TemporaryFile(/tmp/multipartBody3646525583554296340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_59_02_546139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e544bc0667618b0787a17321f09bced6.jpg","text":"TemporaryFile(/tmp/multipartBody2167355057234398268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_58_03_043462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/425d37899ef6816698d948fd7add01ee.jpg","text":"TemporaryFile(/tmp/multipartBody6294335432248260985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_58_03_043462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0a51271c853b35d20b48b0659beb68a.jpg","text":"TemporaryFile(/tmp/multipartBody8927206415690777923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_58_03_043462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4871746034b10e3034621da01a853ad.jpg","text":"TemporaryFile(/tmp/multipartBody2313549373857528651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319697048,"filename":"image_08012025_07_59_02_546139_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327406315","file1":"1327406313","file0":"1327406310","file4":"1327406319","file5":"1327406322","file3":"1327406317"},"map_files_photo_id_array":[{"photo_id":"1327406322","filename":"file5"},{"photo_id":"1327406315","filename":"file2"},{"photo_id":"1327406319","filename":"file4"},{"photo_id":"1327406313","filename":"file1"},{"photo_id":"1327406310","filename":"file0"},{"photo_id":"1327406317","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327406322":["hashtag1","hashtag2"]},{"1327406319":["hashtag1","hashtag2"]},{"1327406310":["hashtag1","hashtag2"]},{"1327406313":["hashtag1","hashtag2"]},{"1327406315":["hashtag1","hashtag2"]},{"1327406317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327406322, 1327406319, 1327406310, 1327406313, 1327406315, 1327406317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.6796338558197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:01:22.571122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0003.jpg', '/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0000.jpg', '/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0001.jpg', '/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0002.jpg', '/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0003.jpg', '/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/07/59/image_08012025_07_59_02_546139_0003.jpg
/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0000.jpg
/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0001.jpg
/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0002.jpg
/home/pi/Desktop/images/08012025/08/00/image_08012025_08_00_02_779838_0003.jpg
/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327407420","1327407385","1327407025","1327407424","1327406404","1327406673"],"photo_ids_order":["1327406404","1327406673","1327407025","1327407385","1327407420","1327407424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d514639cefcd98dde8f38d781bd8e75f.jpg","text":"TemporaryFile(/tmp/multipartBody7602226780358595188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_08_00_02_779838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bdcc75efd5879fef3100e9929fd414d.jpg","text":"TemporaryFile(/tmp/multipartBody1334064319092698415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_08_00_02_779838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6537580ad60442d92aa206afe2df0ff9.jpg","text":"TemporaryFile(/tmp/multipartBody6342152159879426051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_08_00_02_779838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3989da28a0035831d3f8e2fa29912251.jpg","text":"TemporaryFile(/tmp/multipartBody3039110203407027721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_08_01_02_356342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e06d1472876bee2e2f402202f021a049.jpg","text":"TemporaryFile(/tmp/multipartBody1510299541052501915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_07_59_02_546139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35b262ba5b7f93d10409cb4e516f089a.jpg","text":"TemporaryFile(/tmp/multipartBody395377131601938106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319757674,"filename":"image_08012025_08_00_02_779838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327407025","file1":"1327406673","file0":"1327406404","file4":"1327407420","file5":"1327407424","file3":"1327407385"},"map_files_photo_id_array":[{"photo_id":"1327407424","filename":"file5"},{"photo_id":"1327407025","filename":"file2"},{"photo_id":"1327407420","filename":"file4"},{"photo_id":"1327406673","filename":"file1"},{"photo_id":"1327406404","filename":"file0"},{"photo_id":"1327407385","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327407420":["hashtag1","hashtag2"]},{"1327407385":["hashtag1","hashtag2"]},{"1327407025":["hashtag1","hashtag2"]},{"1327407424":["hashtag1","hashtag2"]},{"1327406404":["hashtag1","hashtag2"]},{"1327406673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327407420, 1327407385, 1327407025, 1327407424, 1327406404, 1327406673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.106112480163574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:02:22.067014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0001.jpg', '/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0002.jpg', '/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0003.jpg', '/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0000.jpg', '/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0001.jpg', '/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0001.jpg
/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0002.jpg
/home/pi/Desktop/images/08012025/08/01/image_08012025_08_01_02_356342_0003.jpg
/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0000.jpg
/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0001.jpg
/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327408937","1327408520","1327408980","1327408105","1327408935","1327408836"],"photo_ids_order":["1327408105","1327408520","1327408836","1327408935","1327408937","1327408980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3199d351f6b58c20c16fca974257ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody5796066812068415932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_02_02_919544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2186f19ef103fdd0874d6eaa2a0aefd9.jpg","text":"TemporaryFile(/tmp/multipartBody6558800639205599524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_01_02_356342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3168caf7e1b9b156a36249c4b1a9e763.jpg","text":"TemporaryFile(/tmp/multipartBody274290376153711779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_02_02_919544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d4a9a84246dd3405d362963431205dc.jpg","text":"TemporaryFile(/tmp/multipartBody3545074083719312490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_01_02_356342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9804143e51a2ac53b1211210b008c0f2.jpg","text":"TemporaryFile(/tmp/multipartBody169595820528940783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_02_02_919544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16692124786736cf610b85738ca98543.jpg","text":"TemporaryFile(/tmp/multipartBody711050791920546259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319816781,"filename":"image_08012025_08_01_02_356342_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327408836","file1":"1327408520","file0":"1327408105","file4":"1327408937","file5":"1327408980","file3":"1327408935"},"map_files_photo_id_array":[{"photo_id":"1327408980","filename":"file5"},{"photo_id":"1327408836","filename":"file2"},{"photo_id":"1327408937","filename":"file4"},{"photo_id":"1327408520","filename":"file1"},{"photo_id":"1327408105","filename":"file0"},{"photo_id":"1327408935","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327408937":["hashtag1","hashtag2"]},{"1327408520":["hashtag1","hashtag2"]},{"1327408980":["hashtag1","hashtag2"]},{"1327408105":["hashtag1","hashtag2"]},{"1327408935":["hashtag1","hashtag2"]},{"1327408836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327408937, 1327408520, 1327408980, 1327408105, 1327408935, 1327408836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76928758621216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:03:22.727951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0003.jpg', '/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0000.jpg', '/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0001.jpg', '/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/02/image_08012025_08_02_02_919544_0003.jpg
/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0000.jpg
/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0001.jpg
/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327409053","1327409463","1327409082","1327409049"],"photo_ids_order":["1327409049","1327409053","1327409082","1327409463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f949313d9593c8c759e181632abcd1c.jpg","text":"TemporaryFile(/tmp/multipartBody758133311651167975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319872954,"filename":"image_08012025_08_03_02_472674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d8cb591c1fb3b7c2a3c4fdd8b74006c.jpg","text":"TemporaryFile(/tmp/multipartBody5244526076742270328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319872954,"filename":"image_08012025_08_03_02_472674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ef565e25c741472901d7c9b31443352.jpg","text":"TemporaryFile(/tmp/multipartBody747574828450517471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319872954,"filename":"image_08012025_08_03_02_472674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20953d55be43e3822cab90f966769423.jpg","text":"TemporaryFile(/tmp/multipartBody1549121671291894228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319872954,"filename":"image_08012025_08_02_02_919544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327409082","file1":"1327409053","file0":"1327409049","file3":"1327409463"},"map_files_photo_id_array":[{"photo_id":"1327409082","filename":"file2"},{"photo_id":"1327409053","filename":"file1"},{"photo_id":"1327409049","filename":"file0"},{"photo_id":"1327409463","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327409053":["hashtag1","hashtag2"]},{"1327409463":["hashtag1","hashtag2"]},{"1327409082":["hashtag1","hashtag2"]},{"1327409049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327409053, 1327409463, 1327409082, 1327409049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.939196825027466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:04:22.171865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0003.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0000.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0001.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0003.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0000.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0001.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.825845956802368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:05:03.318035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0003.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0000.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0001.jpg', '/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/03/image_08012025_08_03_02_472674_0003.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0000.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0001.jpg
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327411015","1327411012","1327411038","1327411002"],"photo_ids_order":["1327411002","1327411012","1327411015","1327411038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98b2c58cc0cad2f428f63f5c4ffa5f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8555228702555587450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319973625,"filename":"image_08012025_08_04_03_043075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74416daf881c846c185aaa40baa482a5.jpg","text":"TemporaryFile(/tmp/multipartBody7314481547332236945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319973625,"filename":"image_08012025_08_04_03_043075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38b44ee32072a5f56317bbbeff9be818.jpg","text":"TemporaryFile(/tmp/multipartBody8515585689711754500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319973625,"filename":"image_08012025_08_04_03_043075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abf99b3a89a31bd8d71261939e1167f8.jpg","text":"TemporaryFile(/tmp/multipartBody997171959085149242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736319973625,"filename":"image_08012025_08_03_02_472674_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327411015","file1":"1327411012","file0":"1327411002","file3":"1327411038"},"map_files_photo_id_array":[{"photo_id":"1327411015","filename":"file2"},{"photo_id":"1327411012","filename":"file1"},{"photo_id":"1327411002","filename":"file0"},{"photo_id":"1327411038","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327411015":["hashtag1","hashtag2"]},{"1327411012":["hashtag1","hashtag2"]},{"1327411038":["hashtag1","hashtag2"]},{"1327411002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327411015, 1327411012, 1327411038, 1327411002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.8281991481781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:06:02.775498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0003.jpg', '/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0000.jpg', '/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0001.jpg', '/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/04/image_08012025_08_04_03_043075_0003.jpg
/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0000.jpg
/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0001.jpg
/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327411642","1327411552","1327411609","1327411640"],"photo_ids_order":["1327411552","1327411609","1327411640","1327411642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcc754670b904c57793f760438901da6.jpg","text":"TemporaryFile(/tmp/multipartBody6571513086708158334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320032871,"filename":"image_08012025_08_05_02_579495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d250f691d95fd75ef88775785d953900.jpg","text":"TemporaryFile(/tmp/multipartBody4500929530573942942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320032871,"filename":"image_08012025_08_04_03_043075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c348b8980e012c5203697aa4972743a0.jpg","text":"TemporaryFile(/tmp/multipartBody4783790782468811575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320032871,"filename":"image_08012025_08_05_02_579495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a00eb83748f9b955eb7515573ea7b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1931773385334888095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320032871,"filename":"image_08012025_08_05_02_579495_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327411640","file1":"1327411609","file0":"1327411552","file3":"1327411642"},"map_files_photo_id_array":[{"photo_id":"1327411640","filename":"file2"},{"photo_id":"1327411609","filename":"file1"},{"photo_id":"1327411552","filename":"file0"},{"photo_id":"1327411642","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327411642":["hashtag1","hashtag2"]},{"1327411552":["hashtag1","hashtag2"]},{"1327411609":["hashtag1","hashtag2"]},{"1327411640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327411642, 1327411552, 1327411609, 1327411640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.71117162704468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:07:02.680383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0003.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0000.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0001.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0003.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0000.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0001.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.002674341201782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:07:22.093020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0003.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0000.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0001.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0002.jpg', '/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0003.jpg', '/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/05/image_08012025_08_05_02_579495_0003.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0000.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0001.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0002.jpg
/home/pi/Desktop/images/08012025/08/06/image_08012025_08_06_03_085555_0003.jpg
/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327411703","1327411743","1327411734","1327411737","1327411742","1327411739"],"photo_ids_order":["1327411703","1327411734","1327411737","1327411739","1327411742","1327411743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c2f49473f94b2af377ec7dcd6e60f60.jpg","text":"TemporaryFile(/tmp/multipartBody1591352730160145632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_05_02_579495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/815ccfcf9bd1c3b2194822d4fdfbeefe.jpg","text":"TemporaryFile(/tmp/multipartBody4990727296598539655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_07_02_900412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30e72305785f9c6d86508ccbf3ef5c33.jpg","text":"TemporaryFile(/tmp/multipartBody1497759242747316518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_06_03_085555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10783e72e3896fbd7988bee900012906.jpg","text":"TemporaryFile(/tmp/multipartBody124213738879590519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_06_03_085555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a61bd03e635eda1dd4e657571e6b93f.jpg","text":"TemporaryFile(/tmp/multipartBody9065485554310881388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_06_03_085555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1d948c41dc93234267178ae22b0d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody3958883642959623011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320117183,"filename":"image_08012025_08_06_03_085555_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327411737","file1":"1327411734","file0":"1327411703","file4":"1327411742","file5":"1327411743","file3":"1327411739"},"map_files_photo_id_array":[{"photo_id":"1327411743","filename":"file5"},{"photo_id":"1327411737","filename":"file2"},{"photo_id":"1327411742","filename":"file4"},{"photo_id":"1327411734","filename":"file1"},{"photo_id":"1327411703","filename":"file0"},{"photo_id":"1327411739","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327411703":["hashtag1","hashtag2"]},{"1327411743":["hashtag1","hashtag2"]},{"1327411734":["hashtag1","hashtag2"]},{"1327411737":["hashtag1","hashtag2"]},{"1327411742":["hashtag1","hashtag2"]},{"1327411739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327411703, 1327411743, 1327411734, 1327411737, 1327411742, 1327411739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.42704725265503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:08:22.677892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0001.jpg', '/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0002.jpg', '/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0003.jpg', '/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0000.jpg', '/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0001.jpg', '/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0001.jpg
/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0002.jpg
/home/pi/Desktop/images/08012025/08/07/image_08012025_08_07_02_900412_0003.jpg
/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0000.jpg
/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0001.jpg
/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327411913","1327411909","1327411804","1327411911","1327411755","1327411916"],"photo_ids_order":["1327411755","1327411804","1327411909","1327411911","1327411913","1327411916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c4af945d3a91baa7e10461493d2ac31.jpg","text":"TemporaryFile(/tmp/multipartBody4204590592573986247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_08_02_429421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8de6c1eb96add397bcabb6df5fa71723.jpg","text":"TemporaryFile(/tmp/multipartBody2445100658277042650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_07_02_900412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64aae334ee6e71767a0132bd4c971746.jpg","text":"TemporaryFile(/tmp/multipartBody1241442209772158098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_07_02_900412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3bacd1b83e7d0e529deae62acae5c82.jpg","text":"TemporaryFile(/tmp/multipartBody6828247419738049731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_08_02_429421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4c59334c29321be68dc632bcfd8b31c.jpg","text":"TemporaryFile(/tmp/multipartBody4206915063644759964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_07_02_900412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9937b3da041b56f91d25950783c74c62.jpg","text":"TemporaryFile(/tmp/multipartBody3394797223778747149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320177630,"filename":"image_08012025_08_08_02_429421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327411909","file1":"1327411804","file0":"1327411755","file4":"1327411913","file5":"1327411916","file3":"1327411911"},"map_files_photo_id_array":[{"photo_id":"1327411916","filename":"file5"},{"photo_id":"1327411909","filename":"file2"},{"photo_id":"1327411913","filename":"file4"},{"photo_id":"1327411804","filename":"file1"},{"photo_id":"1327411755","filename":"file0"},{"photo_id":"1327411911","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327411913":["hashtag1","hashtag2"]},{"1327411909":["hashtag1","hashtag2"]},{"1327411804":["hashtag1","hashtag2"]},{"1327411911":["hashtag1","hashtag2"]},{"1327411755":["hashtag1","hashtag2"]},{"1327411916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327411913, 1327411909, 1327411804, 1327411911, 1327411755, 1327411916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75015926361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:09:22.206517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0003.jpg', '/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0000.jpg', '/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0003.jpg
/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0000.jpg
/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_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.455949068069458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:10:02.270339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0003.jpg', '/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0000.jpg', '/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/08/image_08012025_08_08_02_429421_0003.jpg
/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0000.jpg
/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327411963","1327411962","1327411950"],"photo_ids_order":["1327411950","1327411962","1327411963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54144e8b88a404ba0d3f79720f905740.jpg","text":"TemporaryFile(/tmp/multipartBody8774208833351905555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320270169,"filename":"image_08012025_08_09_03_045903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d389b40ad8d1599b2070fd0d54507c13.jpg","text":"TemporaryFile(/tmp/multipartBody1716694688958528413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320270169,"filename":"image_08012025_08_09_03_045903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc06e7e800fcb2ce54303622b0797e15.jpg","text":"TemporaryFile(/tmp/multipartBody8234426831151806178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320270169,"filename":"image_08012025_08_08_02_429421_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327411963","file1":"1327411962","file0":"1327411950"},"map_files_photo_id_array":[{"photo_id":"1327411963","filename":"file2"},{"photo_id":"1327411962","filename":"file1"},{"photo_id":"1327411950","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327411963":["hashtag1","hashtag2"]},{"1327411962":["hashtag1","hashtag2"]},{"1327411950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327411963, 1327411962, 1327411950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.322706937789917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:11:02.892452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0003.jpg', '/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0000.jpg', '/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0001.jpg', '/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/09/image_08012025_08_09_03_045903_0003.jpg
/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0000.jpg
/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0001.jpg
/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412047","1327412043","1327412042","1327412056"],"photo_ids_order":["1327412042","1327412043","1327412047","1327412056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/caa996bae3e9b4b714c928c57d8d7926.jpg","text":"TemporaryFile(/tmp/multipartBody2761589570817899832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320333265,"filename":"image_08012025_08_10_02_584369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a9d05e3c6dfd8918dde7a1fabc23e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6609899194666179114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320333265,"filename":"image_08012025_08_10_02_584369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6d235790e90bb0c4d752932a367ff68.jpg","text":"TemporaryFile(/tmp/multipartBody1304964731340301208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320333265,"filename":"image_08012025_08_09_03_045903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/368de2059a4cb33bea12353084b242af.jpg","text":"TemporaryFile(/tmp/multipartBody2372395114958552497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320333265,"filename":"image_08012025_08_10_02_584369_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412047","file1":"1327412043","file0":"1327412042","file3":"1327412056"},"map_files_photo_id_array":[{"photo_id":"1327412047","filename":"file2"},{"photo_id":"1327412043","filename":"file1"},{"photo_id":"1327412042","filename":"file0"},{"photo_id":"1327412056","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412047":["hashtag1","hashtag2"]},{"1327412043":["hashtag1","hashtag2"]},{"1327412042":["hashtag1","hashtag2"]},{"1327412056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412047, 1327412043, 1327412042, 1327412056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.246479749679565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:12:02.513780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0003.jpg', '/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0000.jpg', '/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0001.jpg', '/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/10/image_08012025_08_10_02_584369_0003.jpg
/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0000.jpg
/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0001.jpg
/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412104","1327412103","1327412106","1327412108"],"photo_ids_order":["1327412103","1327412104","1327412106","1327412108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9783f94618837c3b5a8580bc1be00cab.jpg","text":"TemporaryFile(/tmp/multipartBody298288673525258526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320392763,"filename":"image_08012025_08_11_02_207298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/000325235c4a8e7b82cbc5d4cdab10d6.jpg","text":"TemporaryFile(/tmp/multipartBody7424582292533101014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320392763,"filename":"image_08012025_08_10_02_584369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34aa5438819fe5e8604cdf643d31abc3.jpg","text":"TemporaryFile(/tmp/multipartBody1576755921169807321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320392763,"filename":"image_08012025_08_11_02_207298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b765e26119483df881f8f0091f0a52b.jpg","text":"TemporaryFile(/tmp/multipartBody3546114351172478253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320392763,"filename":"image_08012025_08_11_02_207298_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412106","file1":"1327412104","file0":"1327412103","file3":"1327412108"},"map_files_photo_id_array":[{"photo_id":"1327412106","filename":"file2"},{"photo_id":"1327412104","filename":"file1"},{"photo_id":"1327412103","filename":"file0"},{"photo_id":"1327412108","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412104":["hashtag1","hashtag2"]},{"1327412103":["hashtag1","hashtag2"]},{"1327412106":["hashtag1","hashtag2"]},{"1327412108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412104, 1327412103, 1327412106, 1327412108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.225831508636475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:13:03.312865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0003.jpg', '/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0000.jpg', '/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0001.jpg', '/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/11/image_08012025_08_11_02_207298_0003.jpg
/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0000.jpg
/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0001.jpg
/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412137","1327412131","1327412128","1327412127"],"photo_ids_order":["1327412127","1327412128","1327412131","1327412137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d04e28f6c1fc821bf60a087ad349564.jpg","text":"TemporaryFile(/tmp/multipartBody1893941725757687401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320453640,"filename":"image_08012025_08_12_02_720802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/075501a54dfd06bed0ac5c500e9347b3.jpg","text":"TemporaryFile(/tmp/multipartBody2618705526725973233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320453640,"filename":"image_08012025_08_12_02_720802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb04df8f788b6b7ce39f7bef8e29d413.jpg","text":"TemporaryFile(/tmp/multipartBody7219028446387082904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320453640,"filename":"image_08012025_08_12_02_720802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/073a0102e08d1e67f1fa626b9757ce43.jpg","text":"TemporaryFile(/tmp/multipartBody4600979451958911572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320453640,"filename":"image_08012025_08_11_02_207298_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412131","file1":"1327412128","file0":"1327412127","file3":"1327412137"},"map_files_photo_id_array":[{"photo_id":"1327412131","filename":"file2"},{"photo_id":"1327412128","filename":"file1"},{"photo_id":"1327412127","filename":"file0"},{"photo_id":"1327412137","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412137":["hashtag1","hashtag2"]},{"1327412131":["hashtag1","hashtag2"]},{"1327412128":["hashtag1","hashtag2"]},{"1327412127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412137, 1327412131, 1327412128, 1327412127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36427140235901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:14:02.618466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0003.jpg', '/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0000.jpg', '/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0001.jpg', '/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/12/image_08012025_08_12_02_720802_0003.jpg
/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0000.jpg
/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0001.jpg
/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412338","1327412332","1327412329","1327412336"],"photo_ids_order":["1327412329","1327412332","1327412336","1327412338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89fd2963a88753c0461b969fb3a29ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1170951837856285081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320513052,"filename":"image_08012025_08_13_02_508835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85ddea4aede60d864660a9ceb78cbe54.jpg","text":"TemporaryFile(/tmp/multipartBody3578412365599612681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320513052,"filename":"image_08012025_08_13_02_508835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1fada286845c197b7d89506d1958347b.jpg","text":"TemporaryFile(/tmp/multipartBody1282035512902023574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320513052,"filename":"image_08012025_08_12_02_720802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/480f3927081b6754e8e9dcacc7839841.jpg","text":"TemporaryFile(/tmp/multipartBody3366255165410648260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320513052,"filename":"image_08012025_08_13_02_508835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412336","file1":"1327412332","file0":"1327412329","file3":"1327412338"},"map_files_photo_id_array":[{"photo_id":"1327412336","filename":"file2"},{"photo_id":"1327412332","filename":"file1"},{"photo_id":"1327412329","filename":"file0"},{"photo_id":"1327412338","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412338":["hashtag1","hashtag2"]},{"1327412332":["hashtag1","hashtag2"]},{"1327412329":["hashtag1","hashtag2"]},{"1327412336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412338, 1327412332, 1327412329, 1327412336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.053974628448486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:15:02.409385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0003.jpg', '/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0000.jpg', '/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0001.jpg', '/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/13/image_08012025_08_13_02_508835_0003.jpg
/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0000.jpg
/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0001.jpg
/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412362","1327412365","1327412359","1327412358"],"photo_ids_order":["1327412358","1327412359","1327412362","1327412365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27d6eef12d3d0b8364db2185b13b5873.jpg","text":"TemporaryFile(/tmp/multipartBody5533941141290106570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320572624,"filename":"image_08012025_08_14_03_006790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e9314c4c7d78e952aaa64cca9c4ca10.jpg","text":"TemporaryFile(/tmp/multipartBody667115070508984074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320572624,"filename":"image_08012025_08_14_03_006790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1d657574607712744a45138ef1bb541.jpg","text":"TemporaryFile(/tmp/multipartBody5271936087973834704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320572624,"filename":"image_08012025_08_14_03_006790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b5a5a59f4cc25fd6aefbeff2344296e.jpg","text":"TemporaryFile(/tmp/multipartBody6571594237543197142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320572624,"filename":"image_08012025_08_13_02_508835_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412362","file1":"1327412359","file0":"1327412358","file3":"1327412365"},"map_files_photo_id_array":[{"photo_id":"1327412362","filename":"file2"},{"photo_id":"1327412359","filename":"file1"},{"photo_id":"1327412358","filename":"file0"},{"photo_id":"1327412365","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412362":["hashtag1","hashtag2"]},{"1327412365":["hashtag1","hashtag2"]},{"1327412359":["hashtag1","hashtag2"]},{"1327412358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412362, 1327412365, 1327412359, 1327412358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.875306606292725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:16:02.765189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0003.jpg', '/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0000.jpg', '/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0001.jpg', '/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/14/image_08012025_08_14_03_006790_0003.jpg
/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0000.jpg
/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0001.jpg
/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412412","1327412406","1327412423","1327412408"],"photo_ids_order":["1327412406","1327412408","1327412412","1327412423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55d6b052e37ec045f3a340461a334f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2546915290925870099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320633216,"filename":"image_08012025_08_15_02_638347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e0f6c84e42e5039ef61f88138570aa2.jpg","text":"TemporaryFile(/tmp/multipartBody4855444231224279067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320633216,"filename":"image_08012025_08_14_03_006790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc4f696b9884f44657c84e55a380a7e5.jpg","text":"TemporaryFile(/tmp/multipartBody1492405577525890474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320633216,"filename":"image_08012025_08_15_02_638347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c88ef7affa21de90ad2a3a736b318a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1039173442236432398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320633216,"filename":"image_08012025_08_15_02_638347_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412412","file1":"1327412408","file0":"1327412406","file3":"1327412423"},"map_files_photo_id_array":[{"photo_id":"1327412412","filename":"file2"},{"photo_id":"1327412408","filename":"file1"},{"photo_id":"1327412406","filename":"file0"},{"photo_id":"1327412423","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412412":["hashtag1","hashtag2"]},{"1327412406":["hashtag1","hashtag2"]},{"1327412423":["hashtag1","hashtag2"]},{"1327412408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412412, 1327412406, 1327412423, 1327412408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45166325569153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:17:02.463329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0003.jpg', '/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0000.jpg', '/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0001.jpg', '/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/15/image_08012025_08_15_02_638347_0003.jpg
/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0000.jpg
/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0001.jpg
/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412493","1327412481","1327412487","1327412480"],"photo_ids_order":["1327412480","1327412481","1327412487","1327412493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1d9c54f745b4b5d7bdc51d50c2f7040.jpg","text":"TemporaryFile(/tmp/multipartBody1290051550894843820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320692806,"filename":"image_08012025_08_16_02_145014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68e1a004b34ea9945f735e0d9f825d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7861564952672463777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320692806,"filename":"image_08012025_08_16_02_145014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8303f85a1c89c4b7fbc0c50516a04ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5974942969215730806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320692806,"filename":"image_08012025_08_16_02_145014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4e9886a33949eb6567aa357ed74e94e.jpg","text":"TemporaryFile(/tmp/multipartBody4938055061952160613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320692806,"filename":"image_08012025_08_15_02_638347_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412487","file1":"1327412481","file0":"1327412480","file3":"1327412493"},"map_files_photo_id_array":[{"photo_id":"1327412487","filename":"file2"},{"photo_id":"1327412481","filename":"file1"},{"photo_id":"1327412480","filename":"file0"},{"photo_id":"1327412493","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412493":["hashtag1","hashtag2"]},{"1327412481":["hashtag1","hashtag2"]},{"1327412487":["hashtag1","hashtag2"]},{"1327412480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412493, 1327412481, 1327412487, 1327412480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51186943054199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:18:02.936626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0003.jpg', '/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0000.jpg', '/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0001.jpg', '/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/16/image_08012025_08_16_02_145014_0003.jpg
/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0000.jpg
/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0001.jpg
/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412694","1327412712","1327412695","1327412698"],"photo_ids_order":["1327412694","1327412695","1327412698","1327412712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a82742442bc7f829327e3c6ad7eed0e9.jpg","text":"TemporaryFile(/tmp/multipartBody148691895663122785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320753251,"filename":"image_08012025_08_16_02_145014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f352e3596af91dd2376f505599a7432.jpg","text":"TemporaryFile(/tmp/multipartBody8283691284431778839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320753251,"filename":"image_08012025_08_17_02_786648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4050061b7e92f3f5cabf94625c5cf29.jpg","text":"TemporaryFile(/tmp/multipartBody2691481709957670141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320753251,"filename":"image_08012025_08_17_02_786648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/714523d23d204dc6c6fef19ce10a6b99.jpg","text":"TemporaryFile(/tmp/multipartBody4761026542723746386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320753251,"filename":"image_08012025_08_17_02_786648_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412698","file1":"1327412695","file0":"1327412694","file3":"1327412712"},"map_files_photo_id_array":[{"photo_id":"1327412698","filename":"file2"},{"photo_id":"1327412695","filename":"file1"},{"photo_id":"1327412694","filename":"file0"},{"photo_id":"1327412712","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412694":["hashtag1","hashtag2"]},{"1327412712":["hashtag1","hashtag2"]},{"1327412695":["hashtag1","hashtag2"]},{"1327412698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412694, 1327412712, 1327412695, 1327412698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14962387084961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:19:02.604047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0003.jpg', '/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0000.jpg', '/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0001.jpg', '/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/17/image_08012025_08_17_02_786648_0003.jpg
/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0000.jpg
/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0001.jpg
/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412755","1327412759","1327412756","1327412761"],"photo_ids_order":["1327412755","1327412756","1327412759","1327412761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ac1998265944e4e4c7fd99464ce379e.jpg","text":"TemporaryFile(/tmp/multipartBody8069801764577388914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320813056,"filename":"image_08012025_08_17_02_786648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/980894b0d208ea5c7cfb46c26e444d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3841716974830431171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320813056,"filename":"image_08012025_08_18_02_273911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e09d9e71e7e8debb587a07f010a907da.jpg","text":"TemporaryFile(/tmp/multipartBody4994400919375448733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320813056,"filename":"image_08012025_08_18_02_273911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3533e41b59d6bd2ddf8af642f2dd8773.jpg","text":"TemporaryFile(/tmp/multipartBody8946611933257454972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320813056,"filename":"image_08012025_08_18_02_273911_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412759","file1":"1327412756","file0":"1327412755","file3":"1327412761"},"map_files_photo_id_array":[{"photo_id":"1327412759","filename":"file2"},{"photo_id":"1327412756","filename":"file1"},{"photo_id":"1327412755","filename":"file0"},{"photo_id":"1327412761","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412755":["hashtag1","hashtag2"]},{"1327412759":["hashtag1","hashtag2"]},{"1327412756":["hashtag1","hashtag2"]},{"1327412761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412755, 1327412759, 1327412756, 1327412761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26516056060791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:20:03.121913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0003.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0000.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0001.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0003.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0000.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0001.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.969300985336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:20:22.745510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0003.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0000.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0001.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0002.jpg', '/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0003.jpg', '/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/18/image_08012025_08_18_02_273911_0003.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0000.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0001.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0002.jpg
/home/pi/Desktop/images/08012025/08/19/image_08012025_08_19_02_858806_0003.jpg
/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412815","1327412803","1327412811","1327412786","1327412813","1327412794"],"photo_ids_order":["1327412786","1327412794","1327412803","1327412811","1327412813","1327412815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec71fabc6e83b8319f6b7acb7655fffe.jpg","text":"TemporaryFile(/tmp/multipartBody1894672888861810610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_20_02_380757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb6f10b234483d933adc4dc2a42bb9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8385930839824683644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_19_02_858806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/103a8d271c97a2865bee167a50baf349.jpg","text":"TemporaryFile(/tmp/multipartBody5525927221834443137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_19_02_858806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86194c29c991610b6a484a009d0fa952.jpg","text":"TemporaryFile(/tmp/multipartBody8898903893119178247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_18_02_273911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2de267d4e5c357dfb5e54b100dcf1c83.jpg","text":"TemporaryFile(/tmp/multipartBody3263629227616067468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_19_02_858806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b6927a5548fd02cf052a8512ec550ed.jpg","text":"TemporaryFile(/tmp/multipartBody6508640198709508153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320897915,"filename":"image_08012025_08_19_02_858806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412803","file1":"1327412794","file0":"1327412786","file4":"1327412813","file5":"1327412815","file3":"1327412811"},"map_files_photo_id_array":[{"photo_id":"1327412815","filename":"file5"},{"photo_id":"1327412803","filename":"file2"},{"photo_id":"1327412813","filename":"file4"},{"photo_id":"1327412794","filename":"file1"},{"photo_id":"1327412786","filename":"file0"},{"photo_id":"1327412811","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412815":["hashtag1","hashtag2"]},{"1327412803":["hashtag1","hashtag2"]},{"1327412811":["hashtag1","hashtag2"]},{"1327412786":["hashtag1","hashtag2"]},{"1327412813":["hashtag1","hashtag2"]},{"1327412794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412815, 1327412803, 1327412811, 1327412786, 1327412813, 1327412794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.46214699745178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:21:22.263801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0002.jpg', '/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0003.jpg', '/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0000.jpg', '/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0001.jpg', '/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0002.jpg
/home/pi/Desktop/images/08012025/08/20/image_08012025_08_20_02_380757_0003.jpg
/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0000.jpg
/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0001.jpg
/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412892","1327412877","1327412891","1327412885","1327412881"],"photo_ids_order":["1327412877","1327412881","1327412885","1327412891","1327412892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/654318dfc6c04a34983bc0bd319ad67f.jpg","text":"TemporaryFile(/tmp/multipartBody8556712692748455592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320954836,"filename":"image_08012025_08_21_03_118631_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e87266db82ed7dbe795c62fd6d1aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody7547469465417011639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320954836,"filename":"image_08012025_08_20_02_380757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ce149ecdd343ab5cb611449b7a1279b.jpg","text":"TemporaryFile(/tmp/multipartBody1846256575507498117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320954836,"filename":"image_08012025_08_21_03_118631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79aa66db887a725c5f986a029339e273.jpg","text":"TemporaryFile(/tmp/multipartBody4072932640116685984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320954836,"filename":"image_08012025_08_21_03_118631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/997c72dd912a1eb4d7549e163f3bdbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4664629686263333342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736320954836,"filename":"image_08012025_08_20_02_380757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412885","file1":"1327412881","file0":"1327412877","file4":"1327412892","file3":"1327412891"},"map_files_photo_id_array":[{"photo_id":"1327412885","filename":"file2"},{"photo_id":"1327412892","filename":"file4"},{"photo_id":"1327412881","filename":"file1"},{"photo_id":"1327412877","filename":"file0"},{"photo_id":"1327412891","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412892":["hashtag1","hashtag2"]},{"1327412877":["hashtag1","hashtag2"]},{"1327412891":["hashtag1","hashtag2"]},{"1327412885":["hashtag1","hashtag2"]},{"1327412881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412892, 1327412877, 1327412891, 1327412885, 1327412881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.57012605667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:22:21.804517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0003.jpg', '/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0000.jpg', '/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/21/image_08012025_08_21_03_118631_0003.jpg
/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0000.jpg
/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327412971","1327412926","1327412930"],"photo_ids_order":["1327412926","1327412930","1327412971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83795683c6327110b63bfc7eea92c62b.jpg","text":"TemporaryFile(/tmp/multipartBody5054491734501379935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321009510,"filename":"image_08012025_08_22_02_639109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/277b3e9366770c08dfb4257a65349f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7760170226740299548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321009510,"filename":"image_08012025_08_21_03_118631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7093203a5326d36d1882bdb3c1177a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3887926095622387513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321009510,"filename":"image_08012025_08_22_02_639109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327412971","file1":"1327412930","file0":"1327412926"},"map_files_photo_id_array":[{"photo_id":"1327412971","filename":"file2"},{"photo_id":"1327412930","filename":"file1"},{"photo_id":"1327412926","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327412971":["hashtag1","hashtag2"]},{"1327412926":["hashtag1","hashtag2"]},{"1327412930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327412971, 1327412926, 1327412930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.662898063659668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:23:02.774963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:23:22.266449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0003.jpg', '/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0000.jpg', '/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0001.jpg', '/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/22/image_08012025_08_22_02_639109_0003.jpg
/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0000.jpg
/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0001.jpg
/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413048","1327413039","1327413044","1327413052"],"photo_ids_order":["1327413039","1327413044","1327413048","1327413052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33b31eda7355d49247b44fc766d5ad27.jpg","text":"TemporaryFile(/tmp/multipartBody1239116511036168782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321072445,"filename":"image_08012025_08_23_02_125070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56a525eb042bb57f1ef5ee1cb503d0a7.jpg","text":"TemporaryFile(/tmp/multipartBody9222791946925841173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321072445,"filename":"image_08012025_08_22_02_639109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/941b9a158befaec9e5c1a906f69f14df.jpg","text":"TemporaryFile(/tmp/multipartBody7563529324296798420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321072445,"filename":"image_08012025_08_23_02_125070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b32167f6b7cd3c41421eb35b59316605.jpg","text":"TemporaryFile(/tmp/multipartBody5237999322050996757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321072445,"filename":"image_08012025_08_23_02_125070_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413048","file1":"1327413044","file0":"1327413039","file3":"1327413052"},"map_files_photo_id_array":[{"photo_id":"1327413048","filename":"file2"},{"photo_id":"1327413044","filename":"file1"},{"photo_id":"1327413039","filename":"file0"},{"photo_id":"1327413052","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413048":["hashtag1","hashtag2"]},{"1327413039":["hashtag1","hashtag2"]},{"1327413044":["hashtag1","hashtag2"]},{"1327413052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413048, 1327413039, 1327413044, 1327413052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67267060279846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:24:02.284923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:24:21.983589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0003.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0000.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0001.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0003.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0000.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0001.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.59309458732605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:25:03.025651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0003.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0000.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0001.jpg', '/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/23/image_08012025_08_23_02_125070_0003.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0000.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0001.jpg
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413112","1327413081","1327413084","1327413080"],"photo_ids_order":["1327413080","1327413081","1327413084","1327413112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a598ef40de440db24269cac96f54fd3d.jpg","text":"TemporaryFile(/tmp/multipartBody7186904795953238894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321173085,"filename":"image_08012025_08_24_02_642503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc57c539cbbbf9429365f0d408937dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5844612924609487441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321173085,"filename":"image_08012025_08_24_02_642503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9be05cf59374e5eedc6dce0f7225318.jpg","text":"TemporaryFile(/tmp/multipartBody4523055127633521454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321173085,"filename":"image_08012025_08_24_02_642503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6357be6b8c29d4fdaf5ba3e5ee368beb.jpg","text":"TemporaryFile(/tmp/multipartBody8374657630698910958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321173085,"filename":"image_08012025_08_23_02_125070_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413084","file1":"1327413081","file0":"1327413080","file3":"1327413112"},"map_files_photo_id_array":[{"photo_id":"1327413084","filename":"file2"},{"photo_id":"1327413081","filename":"file1"},{"photo_id":"1327413080","filename":"file0"},{"photo_id":"1327413112","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413112":["hashtag1","hashtag2"]},{"1327413081":["hashtag1","hashtag2"]},{"1327413084":["hashtag1","hashtag2"]},{"1327413080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413112, 1327413081, 1327413084, 1327413080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83095407485962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:26:02.488429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0003.jpg', '/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0000.jpg', '/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0001.jpg', '/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/24/image_08012025_08_24_02_642503_0003.jpg
/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0000.jpg
/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0001.jpg
/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413126","1327413129","1327413131","1327413125"],"photo_ids_order":["1327413125","1327413126","1327413129","1327413131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8b56577725f9ef7756057651bee2f01.jpg","text":"TemporaryFile(/tmp/multipartBody7910079960240058617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321232698,"filename":"image_08012025_08_25_02_358904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0960ee887aa20e168d06624d406e9538.jpg","text":"TemporaryFile(/tmp/multipartBody7963675181202176503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321232698,"filename":"image_08012025_08_25_02_358904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ac95fb72113d115ec12ba137f7237e7.jpg","text":"TemporaryFile(/tmp/multipartBody6828823946402568269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321232698,"filename":"image_08012025_08_25_02_358904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54756431170a3f375efb43b6065d66ae.jpg","text":"TemporaryFile(/tmp/multipartBody3645998883275864105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321232698,"filename":"image_08012025_08_24_02_642503_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413129","file1":"1327413126","file0":"1327413125","file3":"1327413131"},"map_files_photo_id_array":[{"photo_id":"1327413129","filename":"file2"},{"photo_id":"1327413126","filename":"file1"},{"photo_id":"1327413125","filename":"file0"},{"photo_id":"1327413131","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413126":["hashtag1","hashtag2"]},{"1327413129":["hashtag1","hashtag2"]},{"1327413131":["hashtag1","hashtag2"]},{"1327413125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413126, 1327413129, 1327413131, 1327413125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.603840589523315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:27:03.305706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0003.jpg', '/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0000.jpg', '/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0001.jpg', '/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/25/image_08012025_08_25_02_358904_0003.jpg
/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0000.jpg
/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0001.jpg
/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413189","1327413191","1327413188","1327413193"],"photo_ids_order":["1327413188","1327413189","1327413191","1327413193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98a5e9b79345666feb3920228434e764.jpg","text":"TemporaryFile(/tmp/multipartBody1983026991091052778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321293386,"filename":"image_08012025_08_26_02_876817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e5bf232f0a20e5a7f68d8cf569f2891.jpg","text":"TemporaryFile(/tmp/multipartBody6928240969445377296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321293386,"filename":"image_08012025_08_26_02_876817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5f983f060d5848a7621f30b65b164ef.jpg","text":"TemporaryFile(/tmp/multipartBody7708187850559221579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321293386,"filename":"image_08012025_08_25_02_358904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb0cadb052b86271322e6669a51e67bc.jpg","text":"TemporaryFile(/tmp/multipartBody3770218104165484891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321293386,"filename":"image_08012025_08_26_02_876817_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413191","file1":"1327413189","file0":"1327413188","file3":"1327413193"},"map_files_photo_id_array":[{"photo_id":"1327413191","filename":"file2"},{"photo_id":"1327413189","filename":"file1"},{"photo_id":"1327413188","filename":"file0"},{"photo_id":"1327413193","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413189":["hashtag1","hashtag2"]},{"1327413191":["hashtag1","hashtag2"]},{"1327413188":["hashtag1","hashtag2"]},{"1327413193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413189, 1327413191, 1327413188, 1327413193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33566474914551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:28:02.581895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0003.jpg', '/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0000.jpg', '/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0001.jpg', '/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/26/image_08012025_08_26_02_876817_0003.jpg
/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0000.jpg
/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0001.jpg
/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413258","1327413254","1327413259","1327413262"],"photo_ids_order":["1327413254","1327413258","1327413259","1327413262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac5e62e0ad47547c90584063c75e8704.jpg","text":"TemporaryFile(/tmp/multipartBody6918847966469111884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321352711,"filename":"image_08012025_08_27_02_485503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce4a4ab01cf3958e95a525c37a8c95d7.jpg","text":"TemporaryFile(/tmp/multipartBody6260590235830020065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321352711,"filename":"image_08012025_08_26_02_876817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aecbb909765a1fb1c2cc3345d58f0289.jpg","text":"TemporaryFile(/tmp/multipartBody3910209570391452290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321352711,"filename":"image_08012025_08_27_02_485503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8b454be37bc14e10622e7e0011cde8d.jpg","text":"TemporaryFile(/tmp/multipartBody6799505229967250361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321352711,"filename":"image_08012025_08_27_02_485503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413259","file1":"1327413258","file0":"1327413254","file3":"1327413262"},"map_files_photo_id_array":[{"photo_id":"1327413259","filename":"file2"},{"photo_id":"1327413258","filename":"file1"},{"photo_id":"1327413254","filename":"file0"},{"photo_id":"1327413262","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413258":["hashtag1","hashtag2"]},{"1327413254":["hashtag1","hashtag2"]},{"1327413259":["hashtag1","hashtag2"]},{"1327413262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413258, 1327413254, 1327413259, 1327413262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28186345100403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:29:02.538380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0003.jpg', '/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0000.jpg', '/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0001.jpg', '/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/27/image_08012025_08_27_02_485503_0003.jpg
/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0000.jpg
/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0001.jpg
/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413459","1327413449","1327413475","1327413454"],"photo_ids_order":["1327413449","1327413454","1327413459","1327413475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77761b812adbfb27e58a8cc3c2cdf028.jpg","text":"TemporaryFile(/tmp/multipartBody6439535892181898471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321412854,"filename":"image_08012025_08_28_03_059729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4663e22805eaf916c7ed2e60351aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody5439230172135841894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321412854,"filename":"image_08012025_08_27_02_485503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cbea5abd2b0cdcf0aa1c0bc5efecd94.jpg","text":"TemporaryFile(/tmp/multipartBody1714750234793409043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321412854,"filename":"image_08012025_08_28_03_059729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ee209b4b91380f1b321937a57a2363c.jpg","text":"TemporaryFile(/tmp/multipartBody3648225727543729952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321412854,"filename":"image_08012025_08_28_03_059729_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413459","file1":"1327413454","file0":"1327413449","file3":"1327413475"},"map_files_photo_id_array":[{"photo_id":"1327413459","filename":"file2"},{"photo_id":"1327413454","filename":"file1"},{"photo_id":"1327413449","filename":"file0"},{"photo_id":"1327413475","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413459":["hashtag1","hashtag2"]},{"1327413449":["hashtag1","hashtag2"]},{"1327413475":["hashtag1","hashtag2"]},{"1327413454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413459, 1327413449, 1327413475, 1327413454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12891697883606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:30:03.082453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0003.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0000.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0001.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0003.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0000.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0001.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.926816701889038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:30:22.579834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0003.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0000.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0001.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0002.jpg', '/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0003.jpg', '/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/28/image_08012025_08_28_03_059729_0003.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0000.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0001.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0002.jpg
/home/pi/Desktop/images/08012025/08/29/image_08012025_08_29_02_684896_0003.jpg
/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413591","1327413600","1327413598","1327413565","1327413610","1327413607"],"photo_ids_order":["1327413565","1327413591","1327413598","1327413600","1327413607","1327413610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6093aebe8f0841ec7fc0a3583c0e03fa.jpg","text":"TemporaryFile(/tmp/multipartBody8227796567523496356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_29_02_684896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf3bdca885bf02b9f14e769805e10588.jpg","text":"TemporaryFile(/tmp/multipartBody6209366584616338700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_29_02_684896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2036bac0d97f8114ec4f4deb0b5decbe.jpg","text":"TemporaryFile(/tmp/multipartBody1851520416190523784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_29_02_684896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73975b148080ce87530b4c7068d6603b.jpg","text":"TemporaryFile(/tmp/multipartBody4601152995982029104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_28_03_059729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ebbd6ae86d6b6c4c9038bccd07d53ef.jpg","text":"TemporaryFile(/tmp/multipartBody6980648896758298901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_30_02_317031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/443c7a48485a9952068e3e3b9c3babb9.jpg","text":"TemporaryFile(/tmp/multipartBody243561794398038842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321497609,"filename":"image_08012025_08_29_02_684896_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413598","file1":"1327413591","file0":"1327413565","file4":"1327413607","file5":"1327413610","file3":"1327413600"},"map_files_photo_id_array":[{"photo_id":"1327413610","filename":"file5"},{"photo_id":"1327413598","filename":"file2"},{"photo_id":"1327413607","filename":"file4"},{"photo_id":"1327413591","filename":"file1"},{"photo_id":"1327413565","filename":"file0"},{"photo_id":"1327413600","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413591":["hashtag1","hashtag2"]},{"1327413600":["hashtag1","hashtag2"]},{"1327413598":["hashtag1","hashtag2"]},{"1327413565":["hashtag1","hashtag2"]},{"1327413610":["hashtag1","hashtag2"]},{"1327413607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413591, 1327413600, 1327413598, 1327413565, 1327413610, 1327413607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.985543727874756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:31:22.121840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0001.jpg', '/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0002.jpg', '/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0003.jpg', '/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0000.jpg', '/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0001.jpg', '/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0001.jpg
/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0002.jpg
/home/pi/Desktop/images/08012025/08/30/image_08012025_08_30_02_317031_0003.jpg
/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0000.jpg
/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0001.jpg
/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413654","1327413648","1327413650","1327413656","1327413658","1327413652"],"photo_ids_order":["1327413648","1327413650","1327413652","1327413654","1327413656","1327413658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86b35fe5775486d6ee9ff056a0c7d323.jpg","text":"TemporaryFile(/tmp/multipartBody468927848671509403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_31_02_961665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f7ecfe3a3e818a1c445c0c78a7cb205.jpg","text":"TemporaryFile(/tmp/multipartBody4628070473934291549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_30_02_317031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05d0296a52f89d7ba05b78b182961c30.jpg","text":"TemporaryFile(/tmp/multipartBody6997488417233448845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_30_02_317031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ab7bf124ef9b43f88258758d1286812.jpg","text":"TemporaryFile(/tmp/multipartBody2680788891605783010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_31_02_961665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00f169c96c13beeeae12b2883d538459.jpg","text":"TemporaryFile(/tmp/multipartBody1000366034495729497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_31_02_961665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b54447f09d21ad05ca53541111775599.jpg","text":"TemporaryFile(/tmp/multipartBody4346935122236398392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321557441,"filename":"image_08012025_08_30_02_317031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413652","file1":"1327413650","file0":"1327413648","file4":"1327413656","file5":"1327413658","file3":"1327413654"},"map_files_photo_id_array":[{"photo_id":"1327413658","filename":"file5"},{"photo_id":"1327413652","filename":"file2"},{"photo_id":"1327413656","filename":"file4"},{"photo_id":"1327413650","filename":"file1"},{"photo_id":"1327413648","filename":"file0"},{"photo_id":"1327413654","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413654":["hashtag1","hashtag2"]},{"1327413648":["hashtag1","hashtag2"]},{"1327413650":["hashtag1","hashtag2"]},{"1327413656":["hashtag1","hashtag2"]},{"1327413658":["hashtag1","hashtag2"]},{"1327413652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413654, 1327413648, 1327413650, 1327413656, 1327413658, 1327413652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20484137535095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:32:22.713190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0003.jpg', '/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0000.jpg', '/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0001.jpg', '/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/31/image_08012025_08_31_02_961665_0003.jpg
/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0000.jpg
/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0001.jpg
/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413726","1327413790","1327413793","1327413796"],"photo_ids_order":["1327413726","1327413790","1327413793","1327413796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af1d0b5f347fa19df6fa9427b543980b.jpg","text":"TemporaryFile(/tmp/multipartBody2723573295749616102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321612982,"filename":"image_08012025_08_31_02_961665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8c5f737584f5105f3de273a3366138d.jpg","text":"TemporaryFile(/tmp/multipartBody8484183206820548209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321612982,"filename":"image_08012025_08_32_02_537046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b00875ae8e5fde19010556922dba6ee5.jpg","text":"TemporaryFile(/tmp/multipartBody7722949192546489233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321612982,"filename":"image_08012025_08_32_02_537046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2c4701ee0577c6a1ea907f5c9636956.jpg","text":"TemporaryFile(/tmp/multipartBody1969747830991360685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321612982,"filename":"image_08012025_08_32_02_537046_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413793","file1":"1327413790","file0":"1327413726","file3":"1327413796"},"map_files_photo_id_array":[{"photo_id":"1327413793","filename":"file2"},{"photo_id":"1327413790","filename":"file1"},{"photo_id":"1327413726","filename":"file0"},{"photo_id":"1327413796","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413726":["hashtag1","hashtag2"]},{"1327413790":["hashtag1","hashtag2"]},{"1327413793":["hashtag1","hashtag2"]},{"1327413796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413726, 1327413790, 1327413793, 1327413796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87134528160095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:33:22.212818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0003.jpg', '/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0000.jpg', '/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0001.jpg', '/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/32/image_08012025_08_32_02_537046_0003.jpg
/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0000.jpg
/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0001.jpg
/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413808","1327413816","1327413812","1327413805"],"photo_ids_order":["1327413805","1327413808","1327413812","1327413816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdb67705067660317f0a6b1b6f687989.jpg","text":"TemporaryFile(/tmp/multipartBody4802637430340131464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321672580,"filename":"image_08012025_08_33_03_034136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ece71bc41cd61631d44be798e34ee7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6049832156718070209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321672580,"filename":"image_08012025_08_33_03_034136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef6b587e28dca623f53d7577223b95b5.jpg","text":"TemporaryFile(/tmp/multipartBody5432532259783382491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321672580,"filename":"image_08012025_08_33_03_034136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85605762671597598140b43d515e4c87.jpg","text":"TemporaryFile(/tmp/multipartBody4822503493134735320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321672580,"filename":"image_08012025_08_32_02_537046_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413812","file1":"1327413808","file0":"1327413805","file3":"1327413816"},"map_files_photo_id_array":[{"photo_id":"1327413812","filename":"file2"},{"photo_id":"1327413808","filename":"file1"},{"photo_id":"1327413805","filename":"file0"},{"photo_id":"1327413816","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413808":["hashtag1","hashtag2"]},{"1327413816":["hashtag1","hashtag2"]},{"1327413812":["hashtag1","hashtag2"]},{"1327413805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413808, 1327413816, 1327413812, 1327413805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.49567127227783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:34:21.814992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0003.jpg', '/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0000.jpg', '/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0001.jpg', '/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/33/image_08012025_08_33_03_034136_0003.jpg
/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0000.jpg
/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0001.jpg
/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413869","1327413865","1327413862","1327413859"],"photo_ids_order":["1327413859","1327413862","1327413865","1327413869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40da3d50fe684e920ce9f1b2a6144446.jpg","text":"TemporaryFile(/tmp/multipartBody518858672748479894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321732180,"filename":"image_08012025_08_34_02_605161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35c930fd0e64904454ee5982b5b3a367.jpg","text":"TemporaryFile(/tmp/multipartBody3979709033342179129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321732180,"filename":"image_08012025_08_34_02_605161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/767013ac5b76143a9151fdd9f690240f.jpg","text":"TemporaryFile(/tmp/multipartBody4279829391035467165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321732180,"filename":"image_08012025_08_34_02_605161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/061e1a6fbe89e0360e885b76039aca74.jpg","text":"TemporaryFile(/tmp/multipartBody9078740570299957790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321732180,"filename":"image_08012025_08_33_03_034136_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413865","file1":"1327413862","file0":"1327413859","file3":"1327413869"},"map_files_photo_id_array":[{"photo_id":"1327413865","filename":"file2"},{"photo_id":"1327413862","filename":"file1"},{"photo_id":"1327413859","filename":"file0"},{"photo_id":"1327413869","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413869":["hashtag1","hashtag2"]},{"1327413865":["hashtag1","hashtag2"]},{"1327413862":["hashtag1","hashtag2"]},{"1327413859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413869, 1327413865, 1327413862, 1327413859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83715534210205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:35:02.997521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:35:22.305705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0003.jpg', '/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0000.jpg', '/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0001.jpg', '/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/34/image_08012025_08_34_02_605161_0003.jpg
/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0000.jpg
/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0001.jpg
/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413891","1327413888","1327413884","1327413880"],"photo_ids_order":["1327413880","1327413884","1327413888","1327413891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28dc5cab7c443f5c9f4ccc0df17eeb05.jpg","text":"TemporaryFile(/tmp/multipartBody7795189920020707352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321792568,"filename":"image_08012025_08_35_02_153252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac55bb87e53f822dd72142a0943b7a13.jpg","text":"TemporaryFile(/tmp/multipartBody3579884322839646703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321792568,"filename":"image_08012025_08_35_02_153252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d6be2757927fc63d1e0c0b4f6f2fdbc.jpg","text":"TemporaryFile(/tmp/multipartBody7001659723180845183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321792568,"filename":"image_08012025_08_35_02_153252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/864ef2014426db7ba19a86a711e3033c.jpg","text":"TemporaryFile(/tmp/multipartBody2832275789406787032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321792568,"filename":"image_08012025_08_34_02_605161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413888","file1":"1327413884","file0":"1327413880","file3":"1327413891"},"map_files_photo_id_array":[{"photo_id":"1327413888","filename":"file2"},{"photo_id":"1327413884","filename":"file1"},{"photo_id":"1327413880","filename":"file0"},{"photo_id":"1327413891","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413891":["hashtag1","hashtag2"]},{"1327413888":["hashtag1","hashtag2"]},{"1327413884":["hashtag1","hashtag2"]},{"1327413880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413891, 1327413888, 1327413884, 1327413880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64253091812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:36:22.065439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0003.jpg', '/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0000.jpg', '/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0001.jpg', '/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/35/image_08012025_08_35_02_153252_0003.jpg
/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0000.jpg
/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0001.jpg
/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413945","1327413939","1327413942","1327413949"],"photo_ids_order":["1327413939","1327413942","1327413945","1327413949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67081cc59d8d4755817bcdb1bf3f4809.jpg","text":"TemporaryFile(/tmp/multipartBody3242612107548387154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321852500,"filename":"image_08012025_08_36_02_688596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d91b987b17260f3543996279c05641e9.jpg","text":"TemporaryFile(/tmp/multipartBody3618760809644732886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321852500,"filename":"image_08012025_08_35_02_153252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/414a1b8c717581aa2769398f67b54295.jpg","text":"TemporaryFile(/tmp/multipartBody8766058953195911837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321852500,"filename":"image_08012025_08_36_02_688596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a953760e1921aa68c5b170510c1e12c0.jpg","text":"TemporaryFile(/tmp/multipartBody7213423300365100533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321852500,"filename":"image_08012025_08_36_02_688596_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413945","file1":"1327413942","file0":"1327413939","file3":"1327413949"},"map_files_photo_id_array":[{"photo_id":"1327413945","filename":"file2"},{"photo_id":"1327413942","filename":"file1"},{"photo_id":"1327413939","filename":"file0"},{"photo_id":"1327413949","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413945":["hashtag1","hashtag2"]},{"1327413939":["hashtag1","hashtag2"]},{"1327413942":["hashtag1","hashtag2"]},{"1327413949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413945, 1327413939, 1327413942, 1327413949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3808376789093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:37:03.234269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:37:22.591679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0003.jpg', '/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0000.jpg', '/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0001.jpg', '/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/36/image_08012025_08_36_02_688596_0003.jpg
/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0000.jpg
/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0001.jpg
/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327413969","1327413971","1327413961","1327413958"],"photo_ids_order":["1327413958","1327413961","1327413969","1327413971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9b73e0e51f19ccc9d27053bbbf719be.jpg","text":"TemporaryFile(/tmp/multipartBody8010093698352220887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321913009,"filename":"image_08012025_08_37_02_449339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f26d77584672eb1c9d78bcb49ed1b6a0.jpg","text":"TemporaryFile(/tmp/multipartBody382055336384058733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321913009,"filename":"image_08012025_08_37_02_449339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a3d3eec9d2d595fed5437f29ebe4c47.jpg","text":"TemporaryFile(/tmp/multipartBody1722235059575653034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321913009,"filename":"image_08012025_08_37_02_449339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/278f695357c94c5d349104b8057ea0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3752180031578332485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736321913009,"filename":"image_08012025_08_36_02_688596_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327413969","file1":"1327413961","file0":"1327413958","file3":"1327413971"},"map_files_photo_id_array":[{"photo_id":"1327413969","filename":"file2"},{"photo_id":"1327413961","filename":"file1"},{"photo_id":"1327413958","filename":"file0"},{"photo_id":"1327413971","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327413969":["hashtag1","hashtag2"]},{"1327413971":["hashtag1","hashtag2"]},{"1327413961":["hashtag1","hashtag2"]},{"1327413958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327413969, 1327413971, 1327413961, 1327413958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30948734283447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:38:22.222250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0003.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0000.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0001.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0003.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0000.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0001.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.848610877990723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:39:03.315403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0003.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0000.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0001.jpg', '/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/37/image_08012025_08_37_02_449339_0003.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0000.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0001.jpg
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414200","1327414193","1327414195","1327414198"],"photo_ids_order":["1327414193","1327414195","1327414198","1327414200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f373e059d56229aadcd952556964d4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5124687830615220532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322013622,"filename":"image_08012025_08_38_03_028726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6143f73e62f9e24f342eb5e1bad0787c.jpg","text":"TemporaryFile(/tmp/multipartBody1982323138163633157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322013622,"filename":"image_08012025_08_37_02_449339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35ed94cd296311041ecba46cd60679f7.jpg","text":"TemporaryFile(/tmp/multipartBody8123289719059052013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322013622,"filename":"image_08012025_08_38_03_028726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/476595463ad3c6fdb3260b1c219ec457.jpg","text":"TemporaryFile(/tmp/multipartBody3283226634659374506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322013622,"filename":"image_08012025_08_38_03_028726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414198","file1":"1327414195","file0":"1327414193","file3":"1327414200"},"map_files_photo_id_array":[{"photo_id":"1327414198","filename":"file2"},{"photo_id":"1327414195","filename":"file1"},{"photo_id":"1327414193","filename":"file0"},{"photo_id":"1327414200","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414200":["hashtag1","hashtag2"]},{"1327414193":["hashtag1","hashtag2"]},{"1327414195":["hashtag1","hashtag2"]},{"1327414198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414200, 1327414193, 1327414195, 1327414198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.451236963272095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:40:02.827977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0003.jpg', '/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0000.jpg', '/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0001.jpg', '/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/38/image_08012025_08_38_03_028726_0003.jpg
/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0000.jpg
/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0001.jpg
/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414239","1327414233","1327414234","1327414237"],"photo_ids_order":["1327414233","1327414234","1327414237","1327414239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/006cc28bf45733a80725b6c769ecd716.jpg","text":"TemporaryFile(/tmp/multipartBody2404415236547701863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322073201,"filename":"image_08012025_08_39_02_551262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e150b9b40c32bd16e46ec0ffdc2b65e.jpg","text":"TemporaryFile(/tmp/multipartBody1942742932325602811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322073201,"filename":"image_08012025_08_38_03_028726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1d4ba397c1acf88e642f9bebd75e309.jpg","text":"TemporaryFile(/tmp/multipartBody5939562905682705647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322073201,"filename":"image_08012025_08_39_02_551262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b9b31bb16da82689e20b233108ffe8c.jpg","text":"TemporaryFile(/tmp/multipartBody5129767461553833188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322073201,"filename":"image_08012025_08_39_02_551262_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414237","file1":"1327414234","file0":"1327414233","file3":"1327414239"},"map_files_photo_id_array":[{"photo_id":"1327414237","filename":"file2"},{"photo_id":"1327414234","filename":"file1"},{"photo_id":"1327414233","filename":"file0"},{"photo_id":"1327414239","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414239":["hashtag1","hashtag2"]},{"1327414233":["hashtag1","hashtag2"]},{"1327414234":["hashtag1","hashtag2"]},{"1327414237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414239, 1327414233, 1327414234, 1327414237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.778000831604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:41:02.515749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0003.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0000.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0001.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0003.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0000.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0001.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.974414825439453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:41:21.863013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0003.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0000.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0001.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0002.jpg', '/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0003.jpg', '/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/39/image_08012025_08_39_02_551262_0003.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0000.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0001.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0002.jpg
/home/pi/Desktop/images/08012025/08/40/image_08012025_08_40_03_106713_0003.jpg
/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414359","1327414370","1327414373","1327414363","1327414366","1327414368"],"photo_ids_order":["1327414359","1327414363","1327414366","1327414368","1327414370","1327414373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/536b0617d0e9057b25b881a1b85b752c.jpg","text":"TemporaryFile(/tmp/multipartBody3061202371426255206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_39_02_551262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9de4cfa98eabf404e29b40c16a7af1c4.jpg","text":"TemporaryFile(/tmp/multipartBody4253365244915584891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_40_03_106713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/331cb68f74001520d99abc398eb56b39.jpg","text":"TemporaryFile(/tmp/multipartBody4429578218158538759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_41_02_744648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67e1571cb69d8c685c32983bceb0029e.jpg","text":"TemporaryFile(/tmp/multipartBody1536550925318081558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_40_03_106713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb51bb555e477036743fbe41f44a79f0.jpg","text":"TemporaryFile(/tmp/multipartBody5026448540766904486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_40_03_106713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94de06a3e3801b5c1493d9e66b6c97af.jpg","text":"TemporaryFile(/tmp/multipartBody7867353688163634188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322156977,"filename":"image_08012025_08_40_03_106713_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414366","file1":"1327414363","file0":"1327414359","file4":"1327414370","file5":"1327414373","file3":"1327414368"},"map_files_photo_id_array":[{"photo_id":"1327414373","filename":"file5"},{"photo_id":"1327414366","filename":"file2"},{"photo_id":"1327414370","filename":"file4"},{"photo_id":"1327414363","filename":"file1"},{"photo_id":"1327414359","filename":"file0"},{"photo_id":"1327414368","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414359":["hashtag1","hashtag2"]},{"1327414370":["hashtag1","hashtag2"]},{"1327414373":["hashtag1","hashtag2"]},{"1327414363":["hashtag1","hashtag2"]},{"1327414366":["hashtag1","hashtag2"]},{"1327414368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414359, 1327414370, 1327414373, 1327414363, 1327414366, 1327414368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.360109090805054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:42:22.480439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0001.jpg', '/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0002.jpg', '/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0003.jpg', '/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0000.jpg', '/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0001.jpg', '/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0001.jpg
/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0002.jpg
/home/pi/Desktop/images/08012025/08/41/image_08012025_08_41_02_744648_0003.jpg
/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0000.jpg
/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0001.jpg
/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414575","1327414560","1327414557","1327414605","1327414622","1327414601"],"photo_ids_order":["1327414557","1327414560","1327414575","1327414601","1327414605","1327414622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5aa328af5abaac37b6433442159b48a5.jpg","text":"TemporaryFile(/tmp/multipartBody765159865378963022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_41_02_744648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a534285b4c94f4adc8c40a1188c456c.jpg","text":"TemporaryFile(/tmp/multipartBody4600148710722603159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_41_02_744648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70c028b277a022d43e9b9bb94d05369c.jpg","text":"TemporaryFile(/tmp/multipartBody707650321642337198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_41_02_744648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3af598121af4495477ff7c9613bc1e6a.jpg","text":"TemporaryFile(/tmp/multipartBody738903728143915007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_42_02_237021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15755da41c834a233dfd391bfa1f2625.jpg","text":"TemporaryFile(/tmp/multipartBody7360188813869026779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_42_02_237021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/483c8f10558e895b84f5eb49bcffdca8.jpg","text":"TemporaryFile(/tmp/multipartBody1734217343210284195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322217504,"filename":"image_08012025_08_42_02_237021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414575","file1":"1327414560","file0":"1327414557","file4":"1327414605","file5":"1327414622","file3":"1327414601"},"map_files_photo_id_array":[{"photo_id":"1327414622","filename":"file5"},{"photo_id":"1327414575","filename":"file2"},{"photo_id":"1327414605","filename":"file4"},{"photo_id":"1327414560","filename":"file1"},{"photo_id":"1327414557","filename":"file0"},{"photo_id":"1327414601","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414575":["hashtag1","hashtag2"]},{"1327414560":["hashtag1","hashtag2"]},{"1327414557":["hashtag1","hashtag2"]},{"1327414605":["hashtag1","hashtag2"]},{"1327414622":["hashtag1","hashtag2"]},{"1327414601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414575, 1327414560, 1327414557, 1327414605, 1327414622, 1327414601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.07763600349426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:43:21.922491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0003.jpg', '/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0000.jpg', '/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0001.jpg', '/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/42/image_08012025_08_42_02_237021_0003.jpg
/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0000.jpg
/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0001.jpg
/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414656","1327414658","1327414662","1327414665"],"photo_ids_order":["1327414656","1327414658","1327414662","1327414665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50acf67b3a715835caacf162ca9e3817.jpg","text":"TemporaryFile(/tmp/multipartBody5198437614035703730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322272314,"filename":"image_08012025_08_42_02_237021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40e7d212b6207bdaa93390d22b15c569.jpg","text":"TemporaryFile(/tmp/multipartBody3237037137909085118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322272314,"filename":"image_08012025_08_43_02_801589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a48508721997d018cbd59958059d67f0.jpg","text":"TemporaryFile(/tmp/multipartBody8238039137382783799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322272314,"filename":"image_08012025_08_43_02_801589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0562d2b34ef15696e940069e0250eed1.jpg","text":"TemporaryFile(/tmp/multipartBody8352919844711334046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322272314,"filename":"image_08012025_08_43_02_801589_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414662","file1":"1327414658","file0":"1327414656","file3":"1327414665"},"map_files_photo_id_array":[{"photo_id":"1327414662","filename":"file2"},{"photo_id":"1327414658","filename":"file1"},{"photo_id":"1327414656","filename":"file0"},{"photo_id":"1327414665","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414656":["hashtag1","hashtag2"]},{"1327414658":["hashtag1","hashtag2"]},{"1327414662":["hashtag1","hashtag2"]},{"1327414665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414656, 1327414658, 1327414662, 1327414665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14299249649048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:44:22.583651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0003.jpg', '/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0000.jpg', '/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0001.jpg', '/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/43/image_08012025_08_43_02_801589_0003.jpg
/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0000.jpg
/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0001.jpg
/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414684","1327414689","1327414680","1327414692"],"photo_ids_order":["1327414680","1327414684","1327414689","1327414692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b472da369bee4db0a27bf259eea491e.jpg","text":"TemporaryFile(/tmp/multipartBody1746722992436800448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322332916,"filename":"image_08012025_08_44_02_385251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f222d5e41185cd80e1dd6cb00e810881.jpg","text":"TemporaryFile(/tmp/multipartBody2256426041702751157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322332916,"filename":"image_08012025_08_44_02_385251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c36e2d6fb50e1f4b6e74c414019951e5.jpg","text":"TemporaryFile(/tmp/multipartBody7955496061889765834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322332916,"filename":"image_08012025_08_43_02_801589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/458d2b5e95a603b5f8894c523a5cd151.jpg","text":"TemporaryFile(/tmp/multipartBody5046014250225921496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322332916,"filename":"image_08012025_08_44_02_385251_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414689","file1":"1327414684","file0":"1327414680","file3":"1327414692"},"map_files_photo_id_array":[{"photo_id":"1327414689","filename":"file2"},{"photo_id":"1327414684","filename":"file1"},{"photo_id":"1327414680","filename":"file0"},{"photo_id":"1327414692","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414684":["hashtag1","hashtag2"]},{"1327414689":["hashtag1","hashtag2"]},{"1327414680":["hashtag1","hashtag2"]},{"1327414692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414684, 1327414689, 1327414680, 1327414692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.976314544677734 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-08 08:45:22.143840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0003.jpg', '/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0000.jpg', '/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0001.jpg', '/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/44/image_08012025_08_44_02_385251_0003.jpg
/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0000.jpg
/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0001.jpg
/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414722","1327414736","1327414739","1327414709"],"photo_ids_order":["1327414709","1327414722","1327414736","1327414739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f3a2da0a9d13e88e807e2e7b645d906.jpg","text":"TemporaryFile(/tmp/multipartBody6375864469457453432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322392465,"filename":"image_08012025_08_45_02_917362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c0b8ec454eaab69b0b11d7d014cef55.jpg","text":"TemporaryFile(/tmp/multipartBody7008463237085206731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322392465,"filename":"image_08012025_08_45_02_917362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a5f357aa0d6ea83ddeb3bc4ce165cd4.jpg","text":"TemporaryFile(/tmp/multipartBody6927156757356906891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322392465,"filename":"image_08012025_08_45_02_917362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82e9ceab87cf673b93f70abf494f4629.jpg","text":"TemporaryFile(/tmp/multipartBody1320256472044158355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322392465,"filename":"image_08012025_08_44_02_385251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414736","file1":"1327414722","file0":"1327414709","file3":"1327414739"},"map_files_photo_id_array":[{"photo_id":"1327414736","filename":"file2"},{"photo_id":"1327414722","filename":"file1"},{"photo_id":"1327414709","filename":"file0"},{"photo_id":"1327414739","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414722":["hashtag1","hashtag2"]},{"1327414736":["hashtag1","hashtag2"]},{"1327414739":["hashtag1","hashtag2"]},{"1327414709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414722, 1327414736, 1327414739, 1327414709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.809500217437744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:46:22.664731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0003.jpg', '/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0000.jpg', '/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0001.jpg', '/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/45/image_08012025_08_45_02_917362_0003.jpg
/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0000.jpg
/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0001.jpg
/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414845","1327414809","1327414817","1327414794"],"photo_ids_order":["1327414794","1327414809","1327414817","1327414845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6a4218375ae07d7c0f7a97d6b65c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody4300434817592812571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322453016,"filename":"image_08012025_08_46_02_472574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2173fd8b011d597da80d45f0055e6e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1104666724564631224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322453016,"filename":"image_08012025_08_46_02_472574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9dea103072ae0f980f07ffa094ed8738.jpg","text":"TemporaryFile(/tmp/multipartBody1427015770474728366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322453016,"filename":"image_08012025_08_46_02_472574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f55978d3579353efda0c44e4c749802.jpg","text":"TemporaryFile(/tmp/multipartBody6528198389583613456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322453016,"filename":"image_08012025_08_45_02_917362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414817","file1":"1327414809","file0":"1327414794","file3":"1327414845"},"map_files_photo_id_array":[{"photo_id":"1327414817","filename":"file2"},{"photo_id":"1327414809","filename":"file1"},{"photo_id":"1327414794","filename":"file0"},{"photo_id":"1327414845","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414845":["hashtag1","hashtag2"]},{"1327414809":["hashtag1","hashtag2"]},{"1327414817":["hashtag1","hashtag2"]},{"1327414794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414845, 1327414809, 1327414817, 1327414794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17448711395264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:47:22.231033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0003.jpg', '/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0000.jpg', '/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0001.jpg', '/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/46/image_08012025_08_46_02_472574_0003.jpg
/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0000.jpg
/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0001.jpg
/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414865","1327414862","1327414881","1327414860"],"photo_ids_order":["1327414860","1327414862","1327414865","1327414881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cf3c71179f3590f6e4a7fae260faa9a.jpg","text":"TemporaryFile(/tmp/multipartBody2689812716516556748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322512572,"filename":"image_08012025_08_47_03_058330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cc33e2ad1ed8519f7fd97ba671d7062.jpg","text":"TemporaryFile(/tmp/multipartBody8297577145065629745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322512572,"filename":"image_08012025_08_47_03_058330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8ff6c24a26898ef6d35ae7fe8454f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1516481332320417959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322512572,"filename":"image_08012025_08_47_03_058330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/747167404f8b1753fc40c75a13586c8a.jpg","text":"TemporaryFile(/tmp/multipartBody5754225313482386479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322512572,"filename":"image_08012025_08_46_02_472574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414865","file1":"1327414862","file0":"1327414860","file3":"1327414881"},"map_files_photo_id_array":[{"photo_id":"1327414865","filename":"file2"},{"photo_id":"1327414862","filename":"file1"},{"photo_id":"1327414860","filename":"file0"},{"photo_id":"1327414881","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414865":["hashtag1","hashtag2"]},{"1327414862":["hashtag1","hashtag2"]},{"1327414881":["hashtag1","hashtag2"]},{"1327414860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414865, 1327414862, 1327414881, 1327414860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.5029239654541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:48:21.759530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0003.jpg', '/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0000.jpg', '/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0001.jpg', '/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/47/image_08012025_08_47_03_058330_0003.jpg
/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0000.jpg
/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0001.jpg
/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327414997","1327414894","1327414890","1327414896"],"photo_ids_order":["1327414890","1327414894","1327414896","1327414997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3cd3c890ebacbff5340dbb22a01e84e.jpg","text":"TemporaryFile(/tmp/multipartBody7972463489626902240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322572200,"filename":"image_08012025_08_48_02_607179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3940766fae5fd7441067e114dbafa311.jpg","text":"TemporaryFile(/tmp/multipartBody7871126884137449561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322572200,"filename":"image_08012025_08_48_02_607179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6af455b6fd2d1c3a3b8658615342668a.jpg","text":"TemporaryFile(/tmp/multipartBody6316515535318696905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322572200,"filename":"image_08012025_08_47_03_058330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/495749523100e7cc56ef93ad6b598c47.jpg","text":"TemporaryFile(/tmp/multipartBody9163465340831818332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322572200,"filename":"image_08012025_08_48_02_607179_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327414896","file1":"1327414894","file0":"1327414890","file3":"1327414997"},"map_files_photo_id_array":[{"photo_id":"1327414896","filename":"file2"},{"photo_id":"1327414894","filename":"file1"},{"photo_id":"1327414890","filename":"file0"},{"photo_id":"1327414997","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327414997":["hashtag1","hashtag2"]},{"1327414894":["hashtag1","hashtag2"]},{"1327414890":["hashtag1","hashtag2"]},{"1327414896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327414997, 1327414894, 1327414890, 1327414896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92259240150452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:49:22.295213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0003.jpg', '/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0000.jpg', '/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0001.jpg', '/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/48/image_08012025_08_48_02_607179_0003.jpg
/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0000.jpg
/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0001.jpg
/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415066","1327415069","1327415062","1327415059"],"photo_ids_order":["1327415059","1327415062","1327415066","1327415069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39f6a73244f19c7ea5808008c8dd0b28.jpg","text":"TemporaryFile(/tmp/multipartBody6389789557765460484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322632612,"filename":"image_08012025_08_49_02_133049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/838c159827a131bc40aae45274855397.jpg","text":"TemporaryFile(/tmp/multipartBody7182404570902743980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322632612,"filename":"image_08012025_08_49_02_133049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8566aa356227b6ed0ec89be92fa08a8.jpg","text":"TemporaryFile(/tmp/multipartBody3000564323402728087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322632612,"filename":"image_08012025_08_49_02_133049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74c19674a57acafec71918f35158014c.jpg","text":"TemporaryFile(/tmp/multipartBody3064446428882625924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322632612,"filename":"image_08012025_08_48_02_607179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415066","file1":"1327415062","file0":"1327415059","file3":"1327415069"},"map_files_photo_id_array":[{"photo_id":"1327415066","filename":"file2"},{"photo_id":"1327415062","filename":"file1"},{"photo_id":"1327415059","filename":"file0"},{"photo_id":"1327415069","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415066":["hashtag1","hashtag2"]},{"1327415069":["hashtag1","hashtag2"]},{"1327415062":["hashtag1","hashtag2"]},{"1327415059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415066, 1327415069, 1327415062, 1327415059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70392322540283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:50:02.429001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:50:22.163092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0003.jpg', '/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0000.jpg', '/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0001.jpg', '/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/49/image_08012025_08_49_02_133049_0003.jpg
/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0000.jpg
/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0001.jpg
/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415168","1327415173","1327415176","1327415154"],"photo_ids_order":["1327415154","1327415168","1327415173","1327415176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/432bc6cf68921ca25be53d5bb9cb9ab3.jpg","text":"TemporaryFile(/tmp/multipartBody445091905812744121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322692557,"filename":"image_08012025_08_50_02_620691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af627b7e50333c4c2b4d2d97b3eaeb93.jpg","text":"TemporaryFile(/tmp/multipartBody9004276302401972926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322692557,"filename":"image_08012025_08_50_02_620691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6de08439007c9ed126b7cdbbef21d651.jpg","text":"TemporaryFile(/tmp/multipartBody8961157782470866367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322692557,"filename":"image_08012025_08_50_02_620691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df113e9d5e406a98e8c9f6e8f10a4e38.jpg","text":"TemporaryFile(/tmp/multipartBody2056317629447105193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322692557,"filename":"image_08012025_08_49_02_133049_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415173","file1":"1327415168","file0":"1327415154","file3":"1327415176"},"map_files_photo_id_array":[{"photo_id":"1327415173","filename":"file2"},{"photo_id":"1327415168","filename":"file1"},{"photo_id":"1327415154","filename":"file0"},{"photo_id":"1327415176","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415168":["hashtag1","hashtag2"]},{"1327415173":["hashtag1","hashtag2"]},{"1327415176":["hashtag1","hashtag2"]},{"1327415154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415168, 1327415173, 1327415176, 1327415154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.76413345336914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:51:22.552114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0003.jpg', '/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0000.jpg', '/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0001.jpg', '/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/50/image_08012025_08_50_02_620691_0003.jpg
/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0000.jpg
/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0001.jpg
/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415226","1327415219","1327415224","1327415214"],"photo_ids_order":["1327415214","1327415219","1327415224","1327415226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f314e974f3ad88ee9c3992b58a09101.jpg","text":"TemporaryFile(/tmp/multipartBody1451159495047862916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322752892,"filename":"image_08012025_08_51_02_407947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdb2bcaa52d49caa01a93916edcf1ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3037119390498262301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322752892,"filename":"image_08012025_08_51_02_407947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7535f93431c5809db0b795849fc60de2.jpg","text":"TemporaryFile(/tmp/multipartBody6877371405160095805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322752892,"filename":"image_08012025_08_51_02_407947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ddde23f692854c3cedc971f9f7e20114.jpg","text":"TemporaryFile(/tmp/multipartBody8945161110903067392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322752892,"filename":"image_08012025_08_50_02_620691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415224","file1":"1327415219","file0":"1327415214","file3":"1327415226"},"map_files_photo_id_array":[{"photo_id":"1327415224","filename":"file2"},{"photo_id":"1327415219","filename":"file1"},{"photo_id":"1327415214","filename":"file0"},{"photo_id":"1327415226","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415226":["hashtag1","hashtag2"]},{"1327415219":["hashtag1","hashtag2"]},{"1327415224":["hashtag1","hashtag2"]},{"1327415214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415226, 1327415219, 1327415224, 1327415214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.31878876686096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:52:22.108028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0003.jpg', '/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0000.jpg', '/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0001.jpg', '/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/51/image_08012025_08_51_02_407947_0003.jpg
/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0000.jpg
/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0001.jpg
/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415240","1327415233","1327415247","1327415244"],"photo_ids_order":["1327415233","1327415240","1327415244","1327415247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/470be412c11a7e6ccdeb405fc0f620fa.jpg","text":"TemporaryFile(/tmp/multipartBody4614810523840937733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322812497,"filename":"image_08012025_08_52_02_926740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75483d52be38de6f37daf22c9b868947.jpg","text":"TemporaryFile(/tmp/multipartBody2432720581706207728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322812497,"filename":"image_08012025_08_51_02_407947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c32dd3a9e631613d7c54c13623647240.jpg","text":"TemporaryFile(/tmp/multipartBody2671468704922215571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322812497,"filename":"image_08012025_08_52_02_926740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f0503c8c54cc341b2f9c26f40dc2afb.jpg","text":"TemporaryFile(/tmp/multipartBody8722833475964335099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322812497,"filename":"image_08012025_08_52_02_926740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415244","file1":"1327415240","file0":"1327415233","file3":"1327415247"},"map_files_photo_id_array":[{"photo_id":"1327415244","filename":"file2"},{"photo_id":"1327415240","filename":"file1"},{"photo_id":"1327415233","filename":"file0"},{"photo_id":"1327415247","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415240":["hashtag1","hashtag2"]},{"1327415233":["hashtag1","hashtag2"]},{"1327415247":["hashtag1","hashtag2"]},{"1327415244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415240, 1327415233, 1327415247, 1327415244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91015601158142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:53:22.611143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0003.jpg', '/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0000.jpg', '/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0001.jpg', '/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/52/image_08012025_08_52_02_926740_0003.jpg
/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0000.jpg
/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0001.jpg
/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415459","1327415423","1327415430","1327415427"],"photo_ids_order":["1327415423","1327415427","1327415430","1327415459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c906245d7064a9f25033f779c8592f46.jpg","text":"TemporaryFile(/tmp/multipartBody7641570526961640376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322873026,"filename":"image_08012025_08_53_02_458296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6fcfd1cb082f5f7bef38f575102d70d9.jpg","text":"TemporaryFile(/tmp/multipartBody1995510997147904411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322873026,"filename":"image_08012025_08_52_02_926740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da53f635b3d768fde6a1111eb3e150a0.jpg","text":"TemporaryFile(/tmp/multipartBody7224592124426151668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322873026,"filename":"image_08012025_08_53_02_458296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5201155adb389b6224d25dfd00f55e48.jpg","text":"TemporaryFile(/tmp/multipartBody514306564565460557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322873026,"filename":"image_08012025_08_53_02_458296_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415430","file1":"1327415427","file0":"1327415423","file3":"1327415459"},"map_files_photo_id_array":[{"photo_id":"1327415430","filename":"file2"},{"photo_id":"1327415427","filename":"file1"},{"photo_id":"1327415423","filename":"file0"},{"photo_id":"1327415459","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415459":["hashtag1","hashtag2"]},{"1327415423":["hashtag1","hashtag2"]},{"1327415430":["hashtag1","hashtag2"]},{"1327415427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415459, 1327415423, 1327415430, 1327415427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27954578399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:54:02.577592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:54:22.196389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0003.jpg', '/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0000.jpg', '/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0001.jpg', '/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/53/image_08012025_08_53_02_458296_0003.jpg
/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0000.jpg
/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0001.jpg
/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415615","1327415638","1327415626","1327415634"],"photo_ids_order":["1327415615","1327415626","1327415634","1327415638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/070e75d4a254272d9e144f8484dba6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8645971487039158596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322932481,"filename":"image_08012025_08_53_02_458296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa1506d01efa637b5b1583a7117fdfe8.jpg","text":"TemporaryFile(/tmp/multipartBody1973820392520420592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322932481,"filename":"image_08012025_08_54_03_071465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efe3d1ffdf9ce344044c2935e1d9ea50.jpg","text":"TemporaryFile(/tmp/multipartBody7607781100870374022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322932481,"filename":"image_08012025_08_54_03_071465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2eb9f46f9800d91e8dd6ecc846a8c891.jpg","text":"TemporaryFile(/tmp/multipartBody3711099843828911022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322932481,"filename":"image_08012025_08_54_03_071465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415634","file1":"1327415626","file0":"1327415615","file3":"1327415638"},"map_files_photo_id_array":[{"photo_id":"1327415634","filename":"file2"},{"photo_id":"1327415626","filename":"file1"},{"photo_id":"1327415615","filename":"file0"},{"photo_id":"1327415638","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415615":["hashtag1","hashtag2"]},{"1327415638":["hashtag1","hashtag2"]},{"1327415626":["hashtag1","hashtag2"]},{"1327415634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415615, 1327415638, 1327415626, 1327415634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25906777381897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:55:22.694259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0003.jpg', '/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0000.jpg', '/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0001.jpg', '/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/54/image_08012025_08_54_03_071465_0003.jpg
/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0000.jpg
/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0001.jpg
/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415753","1327415747","1327415760","1327415757"],"photo_ids_order":["1327415747","1327415753","1327415757","1327415760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1312259ce1dfad479b36e530dd8f08d.jpg","text":"TemporaryFile(/tmp/multipartBody1281287748268590519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322993084,"filename":"image_08012025_08_55_02_548625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fc3a81f29001a0aeeef3636edd41c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4221757680662405573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322993084,"filename":"image_08012025_08_54_03_071465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f31237d988483899700fabfd7739d71.jpg","text":"TemporaryFile(/tmp/multipartBody6075267075460217288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322993084,"filename":"image_08012025_08_55_02_548625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a3ce627c0032cff3fdc691f348dc39f.jpg","text":"TemporaryFile(/tmp/multipartBody2074007146485172257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736322993084,"filename":"image_08012025_08_55_02_548625_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415757","file1":"1327415753","file0":"1327415747","file3":"1327415760"},"map_files_photo_id_array":[{"photo_id":"1327415757","filename":"file2"},{"photo_id":"1327415753","filename":"file1"},{"photo_id":"1327415747","filename":"file0"},{"photo_id":"1327415760","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415753":["hashtag1","hashtag2"]},{"1327415747":["hashtag1","hashtag2"]},{"1327415760":["hashtag1","hashtag2"]},{"1327415757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415753, 1327415747, 1327415760, 1327415757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28974199295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:56:02.569546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:56:22.244795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0003.jpg', '/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0000.jpg', '/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0001.jpg', '/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/55/image_08012025_08_55_02_548625_0003.jpg
/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0000.jpg
/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0001.jpg
/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415783","1327415777","1327415771","1327415787"],"photo_ids_order":["1327415771","1327415777","1327415783","1327415787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d3c984015e6c375480f33a46f78867c.jpg","text":"TemporaryFile(/tmp/multipartBody8552421842952685017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323052645,"filename":"image_08012025_08_56_03_118003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce07e413b799e870641ec816356548b5.jpg","text":"TemporaryFile(/tmp/multipartBody8070562304637398231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323052645,"filename":"image_08012025_08_56_03_118003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae2351f3077ca582eeca700416207286.jpg","text":"TemporaryFile(/tmp/multipartBody6964295650088361773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323052645,"filename":"image_08012025_08_55_02_548625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e89a75554c2ad2cf3bd8de5144d7c818.jpg","text":"TemporaryFile(/tmp/multipartBody3463980640593531072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323052645,"filename":"image_08012025_08_56_03_118003_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415783","file1":"1327415777","file0":"1327415771","file3":"1327415787"},"map_files_photo_id_array":[{"photo_id":"1327415783","filename":"file2"},{"photo_id":"1327415777","filename":"file1"},{"photo_id":"1327415771","filename":"file0"},{"photo_id":"1327415787","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415783":["hashtag1","hashtag2"]},{"1327415777":["hashtag1","hashtag2"]},{"1327415771":["hashtag1","hashtag2"]},{"1327415787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415783, 1327415777, 1327415771, 1327415787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.239534854888916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:57:03.258578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 08:57:22.732079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0003.jpg', '/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0000.jpg', '/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0001.jpg', '/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/56/image_08012025_08_56_03_118003_0003.jpg
/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0000.jpg
/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0001.jpg
/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327415909","1327415899","1327415904","1327415894"],"photo_ids_order":["1327415894","1327415899","1327415904","1327415909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f76a1fc50c9fd2f8d4de02b3a83d0fa.jpg","text":"TemporaryFile(/tmp/multipartBody2821777222252995458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323113056,"filename":"image_08012025_08_57_02_581651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2fc50efcc4c1e591e494c0a0c94713d3.jpg","text":"TemporaryFile(/tmp/multipartBody104981850486933142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323113056,"filename":"image_08012025_08_57_02_581651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa57fd9b30c2b26bd041083cfb1592bd.jpg","text":"TemporaryFile(/tmp/multipartBody7226922921263920559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323113056,"filename":"image_08012025_08_57_02_581651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/544b947ffb58d86af3e2f6c79db533cd.jpg","text":"TemporaryFile(/tmp/multipartBody7899692452936524215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323113056,"filename":"image_08012025_08_56_03_118003_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327415904","file1":"1327415899","file0":"1327415894","file3":"1327415909"},"map_files_photo_id_array":[{"photo_id":"1327415904","filename":"file2"},{"photo_id":"1327415899","filename":"file1"},{"photo_id":"1327415894","filename":"file0"},{"photo_id":"1327415909","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327415909":["hashtag1","hashtag2"]},{"1327415899":["hashtag1","hashtag2"]},{"1327415904":["hashtag1","hashtag2"]},{"1327415894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327415909, 1327415899, 1327415904, 1327415894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.492796897888184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 08:59:03.189416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0003.jpg', '/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0000.jpg', '/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0001.jpg', '/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/57/image_08012025_08_57_02_581651_0003.jpg
/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0000.jpg
/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0001.jpg
/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327416730","1327416811","1327416564","1327416782"],"photo_ids_order":["1327416564","1327416730","1327416782","1327416811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/422999a8f637ed5bd7281aa6f3619b66.jpg","text":"TemporaryFile(/tmp/multipartBody5924435085236503339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323213665,"filename":"image_08012025_08_58_03_039553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/442dda12e2ecf1370bd00ceea81d7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8666248680721422988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323213665,"filename":"image_08012025_08_58_03_039553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac97e4acb238dac048be888b11a5c3b9.jpg","text":"TemporaryFile(/tmp/multipartBody3676746283952950081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323213665,"filename":"image_08012025_08_57_02_581651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c4f7083788df2cbd711d7877848660b.jpg","text":"TemporaryFile(/tmp/multipartBody3889636034734410985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323213665,"filename":"image_08012025_08_58_03_039553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327416782","file1":"1327416730","file0":"1327416564","file3":"1327416811"},"map_files_photo_id_array":[{"photo_id":"1327416782","filename":"file2"},{"photo_id":"1327416730","filename":"file1"},{"photo_id":"1327416564","filename":"file0"},{"photo_id":"1327416811","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327416730":["hashtag1","hashtag2"]},{"1327416811":["hashtag1","hashtag2"]},{"1327416564":["hashtag1","hashtag2"]},{"1327416782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327416730, 1327416811, 1327416564, 1327416782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1297926902771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:00:02.546932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0003.jpg', '/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0000.jpg', '/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0001.jpg', '/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/58/image_08012025_08_58_03_039553_0003.jpg
/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0000.jpg
/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0001.jpg
/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327416883","1327416886","1327416897","1327416890"],"photo_ids_order":["1327416883","1327416886","1327416890","1327416897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a840ed199619ac6f89230776e831367.jpg","text":"TemporaryFile(/tmp/multipartBody2872013567567601726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323273132,"filename":"image_08012025_08_58_03_039553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ab1e5202778ec6dde5ec50c2ff5d479.jpg","text":"TemporaryFile(/tmp/multipartBody294647788093743992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323273132,"filename":"image_08012025_08_59_02_737228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c3591ae99188d0fd5d4fc29e4d4883e6.jpg","text":"TemporaryFile(/tmp/multipartBody5156218807257000717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323273132,"filename":"image_08012025_08_59_02_737228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7f4efcf67614bb422e00b45d58e0aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1562973581983213121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323273132,"filename":"image_08012025_08_59_02_737228_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327416890","file1":"1327416886","file0":"1327416883","file3":"1327416897"},"map_files_photo_id_array":[{"photo_id":"1327416890","filename":"file2"},{"photo_id":"1327416886","filename":"file1"},{"photo_id":"1327416883","filename":"file0"},{"photo_id":"1327416897","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327416883":["hashtag1","hashtag2"]},{"1327416886":["hashtag1","hashtag2"]},{"1327416897":["hashtag1","hashtag2"]},{"1327416890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327416883, 1327416886, 1327416897, 1327416890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50045323371887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:01:03.346823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0003.jpg', '/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0000.jpg', '/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0001.jpg', '/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/08/59/image_08012025_08_59_02_737228_0003.jpg
/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0000.jpg
/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0001.jpg
/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327416938","1327417105","1327416936","1327417427"],"photo_ids_order":["1327416936","1327416938","1327417105","1327417427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/325cabfae8e8195bfe88afcd9207b279.jpg","text":"TemporaryFile(/tmp/multipartBody3031294584861058746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323333868,"filename":"image_08012025_09_00_02_951692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f246c6df961a8ca5058723583f5dc15.jpg","text":"TemporaryFile(/tmp/multipartBody5468371550163155226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323333868,"filename":"image_08012025_09_00_02_951692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34db98919d537b46a93a9d3e6025119d.jpg","text":"TemporaryFile(/tmp/multipartBody5797143833206309244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323333868,"filename":"image_08012025_08_59_02_737228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69fe2cdc53de5a221277665f97d8fb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4345598838848545947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323333868,"filename":"image_08012025_09_00_02_951692_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327417105","file1":"1327416938","file0":"1327416936","file3":"1327417427"},"map_files_photo_id_array":[{"photo_id":"1327417105","filename":"file2"},{"photo_id":"1327416938","filename":"file1"},{"photo_id":"1327416936","filename":"file0"},{"photo_id":"1327417427","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327416938":["hashtag1","hashtag2"]},{"1327417105":["hashtag1","hashtag2"]},{"1327416936":["hashtag1","hashtag2"]},{"1327417427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327416938, 1327417105, 1327416936, 1327417427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85698580741882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:02:02.808183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0003.jpg', '/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0000.jpg', '/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0001.jpg', '/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/00/image_08012025_09_00_02_951692_0003.jpg
/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0000.jpg
/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0001.jpg
/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327418044","1327418118","1327418069","1327418074"],"photo_ids_order":["1327418044","1327418069","1327418074","1327418118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02486ef1bc3c0f9f19db524bbb8cb27c.jpg","text":"TemporaryFile(/tmp/multipartBody1080099840146898693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323393373,"filename":"image_08012025_09_00_02_951692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eda9fdd71acb8b8143f9259755731137.jpg","text":"TemporaryFile(/tmp/multipartBody5290382817614119712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323393373,"filename":"image_08012025_09_01_02_614142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5566309674ea8fd3770dec363d99fc77.jpg","text":"TemporaryFile(/tmp/multipartBody657275339923799601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323393373,"filename":"image_08012025_09_01_02_614142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff7bc566430e4135b2dd87cc9e042c77.jpg","text":"TemporaryFile(/tmp/multipartBody6756660103247663564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323393373,"filename":"image_08012025_09_01_02_614142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327418074","file1":"1327418069","file0":"1327418044","file3":"1327418118"},"map_files_photo_id_array":[{"photo_id":"1327418074","filename":"file2"},{"photo_id":"1327418069","filename":"file1"},{"photo_id":"1327418044","filename":"file0"},{"photo_id":"1327418118","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327418044":["hashtag1","hashtag2"]},{"1327418118":["hashtag1","hashtag2"]},{"1327418069":["hashtag1","hashtag2"]},{"1327418074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327418044, 1327418118, 1327418069, 1327418074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18616461753845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:03:02.477459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0003.jpg', '/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0001.jpg', '/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/01/image_08012025_09_01_02_614142_0003.jpg
/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0001.jpg
/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327418558","1327418584","1327418686"],"photo_ids_order":["1327418558","1327418584","1327418686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0766cdd6ed4a91e46728eac5d0962101.jpg","text":"TemporaryFile(/tmp/multipartBody621091160563715054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323450570,"filename":"image_08012025_09_01_02_614142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74539649ec913c7ff254857cd5bcc4df.jpg","text":"TemporaryFile(/tmp/multipartBody9195974937979195289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323450570,"filename":"image_08012025_09_02_03_109669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb06cd354f528a2e4b3869bc4eb55754.jpg","text":"TemporaryFile(/tmp/multipartBody5610350785760950804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323450570,"filename":"image_08012025_09_02_03_109669_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327418686","file1":"1327418584","file0":"1327418558"},"map_files_photo_id_array":[{"photo_id":"1327418686","filename":"file2"},{"photo_id":"1327418584","filename":"file1"},{"photo_id":"1327418558","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327418558":["hashtag1","hashtag2"]},{"1327418584":["hashtag1","hashtag2"]},{"1327418686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327418558, 1327418584, 1327418686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.1056010723114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:04:03.075779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0003.jpg', '/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0000.jpg', '/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/02/image_08012025_09_02_03_109669_0003.jpg
/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0000.jpg
/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327419915","1327419916","1327419925"],"photo_ids_order":["1327419915","1327419916","1327419925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3e8db3a70cf838b87b203f46342cf2f.jpg","text":"TemporaryFile(/tmp/multipartBody172555853765807807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323511260,"filename":"image_08012025_09_02_03_109669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d232a3013496510cf74a096880abb246.jpg","text":"TemporaryFile(/tmp/multipartBody5241924451236731384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323511260,"filename":"image_08012025_09_03_02_804048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf89e3ecd3a8a8ec15e2eeee9b4eaf1d.jpg","text":"TemporaryFile(/tmp/multipartBody6225045774965355199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323511260,"filename":"image_08012025_09_03_02_804048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327419925","file1":"1327419916","file0":"1327419915"},"map_files_photo_id_array":[{"photo_id":"1327419925","filename":"file2"},{"photo_id":"1327419916","filename":"file1"},{"photo_id":"1327419915","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327419915":["hashtag1","hashtag2"]},{"1327419916":["hashtag1","hashtag2"]},{"1327419925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327419915, 1327419916, 1327419925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 41.773152351379395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:05:02.731608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0002.jpg', '/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0000.jpg', '/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0001.jpg', '/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/03/image_08012025_09_03_02_804048_0002.jpg
/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0000.jpg
/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0001.jpg
/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327419942","1327419945","1327419938","1327419937"],"photo_ids_order":["1327419937","1327419938","1327419942","1327419945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cda2d81ded59b5f1ab686d40e5bdafda.jpg","text":"TemporaryFile(/tmp/multipartBody1214484310122914582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323573351,"filename":"image_08012025_09_04_02_328233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7adc5c9198184f94276e109282ae448.jpg","text":"TemporaryFile(/tmp/multipartBody2572702022721405104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323573351,"filename":"image_08012025_09_04_02_328233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adf11ec86dc00ac1be605e78c3125822.jpg","text":"TemporaryFile(/tmp/multipartBody9145578423404802949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323573351,"filename":"image_08012025_09_04_02_328233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e77b28064923b754886a7790e7f9c54.jpg","text":"TemporaryFile(/tmp/multipartBody7553108055203640178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323573351,"filename":"image_08012025_09_03_02_804048_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327419942","file1":"1327419938","file0":"1327419937","file3":"1327419945"},"map_files_photo_id_array":[{"photo_id":"1327419942","filename":"file2"},{"photo_id":"1327419938","filename":"file1"},{"photo_id":"1327419937","filename":"file0"},{"photo_id":"1327419945","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327419942":["hashtag1","hashtag2"]},{"1327419945":["hashtag1","hashtag2"]},{"1327419938":["hashtag1","hashtag2"]},{"1327419937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327419942, 1327419945, 1327419938, 1327419937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.857107162475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:06:02.264479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0003.jpg', '/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/04/image_08012025_09_04_02_328233_0003.jpg
/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327419960","1327419959"],"photo_ids_order":["1327419959","1327419960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfab896ce5843de76238a2be9a10dec7.jpg","text":"TemporaryFile(/tmp/multipartBody6847569188941990815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323627888,"filename":"image_08012025_09_05_03_003200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eeaf728ec0814bc5273170362d651c13.jpg","text":"TemporaryFile(/tmp/multipartBody7686140808449594204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323627888,"filename":"image_08012025_09_04_02_328233_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327419960","file0":"1327419959"},"map_files_photo_id_array":[{"photo_id":"1327419960","filename":"file1"},{"photo_id":"1327419959","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327419960":["hashtag1","hashtag2"]},{"1327419959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327419960, 1327419959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.46439504623413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:07:02.967754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0002.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0000.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0001.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0002.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0000.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0001.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.28449034690857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:07:22.410810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0002.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0000.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0001.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0002.jpg', '/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0003.jpg', '/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/05/image_08012025_09_05_03_003200_0002.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0000.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0001.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0002.jpg
/home/pi/Desktop/images/08012025/09/06/image_08012025_09_06_02_567574_0003.jpg
/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_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":["1327420596","1327420586","1327420589","1327420591","1327420594","1327420582"],"photo_ids_order":["1327420582","1327420586","1327420589","1327420591","1327420594","1327420596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60a832221b4ab980930056f492c36a03.jpg","text":"TemporaryFile(/tmp/multipartBody5313801343869134016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_07_02_238353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72d9883446fbb1a8b4b1ac930355ff89.jpg","text":"TemporaryFile(/tmp/multipartBody7808855237793892779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_06_02_567574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abf7b620225e963656b6b2aa0e25388c.jpg","text":"TemporaryFile(/tmp/multipartBody3031432681392580424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_06_02_567574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16540723d9463040a0d28f912750be6f.jpg","text":"TemporaryFile(/tmp/multipartBody7795713112181402915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_06_02_567574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9a697a2f2741ebecc916725f8ae4079.jpg","text":"TemporaryFile(/tmp/multipartBody6115228322135730574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_06_02_567574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d1f790a2638af6a62ba354cf729f218.jpg","text":"TemporaryFile(/tmp/multipartBody6488606675112286697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323717853,"filename":"image_08012025_09_05_03_003200_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327420589","file1":"1327420586","file0":"1327420582","file4":"1327420594","file5":"1327420596","file3":"1327420591"},"map_files_photo_id_array":[{"photo_id":"1327420596","filename":"file5"},{"photo_id":"1327420589","filename":"file2"},{"photo_id":"1327420594","filename":"file4"},{"photo_id":"1327420586","filename":"file1"},{"photo_id":"1327420582","filename":"file0"},{"photo_id":"1327420591","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327420596":["hashtag1","hashtag2"]},{"1327420586":["hashtag1","hashtag2"]},{"1327420589":["hashtag1","hashtag2"]},{"1327420591":["hashtag1","hashtag2"]},{"1327420594":["hashtag1","hashtag2"]},{"1327420582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327420596, 1327420586, 1327420589, 1327420591, 1327420594, 1327420582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.22490859031677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:09:03.024801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0001.jpg', '/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0002.jpg', '/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0003.jpg', '/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0001.jpg', '/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0001.jpg
/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0002.jpg
/home/pi/Desktop/images/08012025/09/07/image_08012025_09_07_02_238353_0003.jpg
/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0001.jpg
/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327421960","1327421966","1327421921","1327421956","1327421950"],"photo_ids_order":["1327421921","1327421950","1327421956","1327421960","1327421966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99bf72564a4c684e9484806e500b62e7.jpg","text":"TemporaryFile(/tmp/multipartBody3801871875905377442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323816042,"filename":"image_08012025_09_08_02_857941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ce6ea329cd774ff0eea2975512f881b.jpg","text":"TemporaryFile(/tmp/multipartBody2770439956187868858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323816042,"filename":"image_08012025_09_08_02_857941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3718a24bf2f1f258cc06ec03e1ac0509.jpg","text":"TemporaryFile(/tmp/multipartBody6168655570607320623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323816042,"filename":"image_08012025_09_07_02_238353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f55e111417b64ba4eda840f777bfcf88.jpg","text":"TemporaryFile(/tmp/multipartBody9086447291188498974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323816042,"filename":"image_08012025_09_07_02_238353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/666306649a40317d0fd0233f53ac839a.jpg","text":"TemporaryFile(/tmp/multipartBody2062308901619785439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323816042,"filename":"image_08012025_09_07_02_238353_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327421956","file1":"1327421950","file0":"1327421921","file4":"1327421966","file3":"1327421960"},"map_files_photo_id_array":[{"photo_id":"1327421956","filename":"file2"},{"photo_id":"1327421966","filename":"file4"},{"photo_id":"1327421950","filename":"file1"},{"photo_id":"1327421921","filename":"file0"},{"photo_id":"1327421960","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327421960":["hashtag1","hashtag2"]},{"1327421966":["hashtag1","hashtag2"]},{"1327421921":["hashtag1","hashtag2"]},{"1327421956":["hashtag1","hashtag2"]},{"1327421950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327421960, 1327421966, 1327421921, 1327421956, 1327421950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.113858461380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:10:02.772221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0003.jpg', '/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0000.jpg', '/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/08/image_08012025_09_08_02_857941_0003.jpg
/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0000.jpg
/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327422190","1327421983","1327421982"],"photo_ids_order":["1327421982","1327421983","1327422190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96dc66a91dbd20733353d23d568fddd3.jpg","text":"TemporaryFile(/tmp/multipartBody797274110932009415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323870854,"filename":"image_08012025_09_09_02_385900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f416ab2831839c50c7674b5d9ca1612.jpg","text":"TemporaryFile(/tmp/multipartBody4966877594410856075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323870854,"filename":"image_08012025_09_09_02_385900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3003cffd56c764c45ebfd783dd2ad889.jpg","text":"TemporaryFile(/tmp/multipartBody6078803051653355812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323870854,"filename":"image_08012025_09_08_02_857941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327422190","file1":"1327421983","file0":"1327421982"},"map_files_photo_id_array":[{"photo_id":"1327422190","filename":"file2"},{"photo_id":"1327421983","filename":"file1"},{"photo_id":"1327421982","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327422190":["hashtag1","hashtag2"]},{"1327421983":["hashtag1","hashtag2"]},{"1327421982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327422190, 1327421983, 1327421982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.4461407661438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:11:02.367538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0003.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0000.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0001.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0003.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0000.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0001.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.191164493560791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:11:21.783943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0003.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0000.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0001.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0002.jpg', '/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0003.jpg', '/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/09/image_08012025_09_09_02_385900_0003.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0000.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0001.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0002.jpg
/home/pi/Desktop/images/08012025/09/10/image_08012025_09_10_02_931991_0003.jpg
/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327423766","1327423769","1327423763","1327423771","1327423753","1327423758"],"photo_ids_order":["1327423753","1327423758","1327423763","1327423766","1327423769","1327423771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84a157389f2eea447b42297060c01ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1617844212928528431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_10_02_931991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa3a4167147df1b33e41dacf9bf9eec9.jpg","text":"TemporaryFile(/tmp/multipartBody7013697722518017045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_10_02_931991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e82db8a72e8ee45160fd9cc1fd416e5e.jpg","text":"TemporaryFile(/tmp/multipartBody1191264069305723239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_10_02_931991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/836ccd8c3996b81e0299d4bd2d68a2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8313846347855759537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_11_02_646865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44e4a565c1cb4c52bdb912a402f1514d.jpg","text":"TemporaryFile(/tmp/multipartBody7296885791654136228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_09_02_385900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ce937ad26b97a22659105950d2c1fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2113741830297166235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736323957235,"filename":"image_08012025_09_10_02_931991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327423763","file1":"1327423758","file0":"1327423753","file4":"1327423769","file5":"1327423771","file3":"1327423766"},"map_files_photo_id_array":[{"photo_id":"1327423771","filename":"file5"},{"photo_id":"1327423763","filename":"file2"},{"photo_id":"1327423769","filename":"file4"},{"photo_id":"1327423758","filename":"file1"},{"photo_id":"1327423753","filename":"file0"},{"photo_id":"1327423766","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327423766":["hashtag1","hashtag2"]},{"1327423769":["hashtag1","hashtag2"]},{"1327423763":["hashtag1","hashtag2"]},{"1327423771":["hashtag1","hashtag2"]},{"1327423753":["hashtag1","hashtag2"]},{"1327423758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327423766, 1327423769, 1327423763, 1327423771, 1327423753, 1327423758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38078308105469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:12:22.385549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0001.jpg', '/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0002.jpg', '/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0003.jpg', '/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0000.jpg', '/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0001.jpg', '/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0001.jpg
/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0002.jpg
/home/pi/Desktop/images/08012025/09/11/image_08012025_09_11_02_646865_0003.jpg
/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0000.jpg
/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0001.jpg
/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327423787","1327423823","1327423782","1327424195","1327423796","1327423800"],"photo_ids_order":["1327423782","1327423787","1327423796","1327423800","1327423823","1327424195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0672a2f6b9cb7380670a0c9aef707c9.jpg","text":"TemporaryFile(/tmp/multipartBody5661498986104332015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_11_02_646865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/075eefa1b62c8542bba376f18dd09b44.jpg","text":"TemporaryFile(/tmp/multipartBody7679499080438245304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_12_02_149038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a6aa3693932b732b2ff36bae7eb55d1.jpg","text":"TemporaryFile(/tmp/multipartBody198375965275523336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_11_02_646865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7463d943a71198908cf745d1119fd2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7792474350054708058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_12_02_149038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b18f442afb650589a6e73101da01a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7743627534341532865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_11_02_646865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/383e1a2aa53f115270e0133840e23fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8202013511204124574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324017842,"filename":"image_08012025_09_12_02_149038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327423796","file1":"1327423787","file0":"1327423782","file4":"1327423823","file5":"1327424195","file3":"1327423800"},"map_files_photo_id_array":[{"photo_id":"1327424195","filename":"file5"},{"photo_id":"1327423796","filename":"file2"},{"photo_id":"1327423823","filename":"file4"},{"photo_id":"1327423787","filename":"file1"},{"photo_id":"1327423782","filename":"file0"},{"photo_id":"1327423800","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327423787":["hashtag1","hashtag2"]},{"1327423823":["hashtag1","hashtag2"]},{"1327423782":["hashtag1","hashtag2"]},{"1327424195":["hashtag1","hashtag2"]},{"1327423796":["hashtag1","hashtag2"]},{"1327423800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327423787, 1327423823, 1327423782, 1327424195, 1327423796, 1327423800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.92732048034668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:13:21.913331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0003.jpg', '/home/pi/Desktop/images/08012025/09/13/image_08012025_09_13_02_752126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/12/image_08012025_09_12_02_149038_0003.jpg
/home/pi/Desktop/images/08012025/09/13/image_08012025_09_13_02_752126_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424359","1327424397"],"photo_ids_order":["1327424359","1327424397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0690d99dbadaf7decdde4185284be633.jpg","text":"TemporaryFile(/tmp/multipartBody7299993844108887187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324067478,"filename":"image_08012025_09_12_02_149038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b13d32c52c9cb8dc63a7c8369bdc47a.jpg","text":"TemporaryFile(/tmp/multipartBody107987168507168319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324067478,"filename":"image_08012025_09_13_02_752126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327424397","file0":"1327424359"},"map_files_photo_id_array":[{"photo_id":"1327424397","filename":"file1"},{"photo_id":"1327424359","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424359":["hashtag1","hashtag2"]},{"1327424397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424359, 1327424397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.580050706863403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:14:02.887614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:14:22.470251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/13/image_08012025_09_13_02_752126_0002.jpg', '/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0000.jpg', '/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0001.jpg', '/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/13/image_08012025_09_13_02_752126_0002.jpg
/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0000.jpg
/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0001.jpg
/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424530","1327424533","1327424523","1327424526"],"photo_ids_order":["1327424523","1327424526","1327424530","1327424533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/151ba76fd389b8e109c2e52698b635e5.jpg","text":"TemporaryFile(/tmp/multipartBody8474851415795487412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324133005,"filename":"image_08012025_09_14_02_319760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe4082a966c582e958e4cca56cf7113a.jpg","text":"TemporaryFile(/tmp/multipartBody7748018393198739389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324133005,"filename":"image_08012025_09_14_02_319760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79ea1c248eb3acc974184a24c623d264.jpg","text":"TemporaryFile(/tmp/multipartBody7913941155043166264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324133005,"filename":"image_08012025_09_13_02_752126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a6fc584db724f69896750851bacc7f2.jpg","text":"TemporaryFile(/tmp/multipartBody906717408718768420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324133005,"filename":"image_08012025_09_14_02_319760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424530","file1":"1327424526","file0":"1327424523","file3":"1327424533"},"map_files_photo_id_array":[{"photo_id":"1327424530","filename":"file2"},{"photo_id":"1327424526","filename":"file1"},{"photo_id":"1327424523","filename":"file0"},{"photo_id":"1327424533","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424530":["hashtag1","hashtag2"]},{"1327424533":["hashtag1","hashtag2"]},{"1327424523":["hashtag1","hashtag2"]},{"1327424526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424530, 1327424533, 1327424523, 1327424526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37172079086304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:15:02.380807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:15:21.970099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0003.jpg', '/home/pi/Desktop/images/08012025/09/15/image_08012025_09_15_02_858014_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/14/image_08012025_09_14_02_319760_0003.jpg
/home/pi/Desktop/images/08012025/09/15/image_08012025_09_15_02_858014_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424544","1327424538"],"photo_ids_order":["1327424538","1327424544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16e9c92a270efb4c027f5a2932bfe178.jpg","text":"TemporaryFile(/tmp/multipartBody1982109785486179629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324187567,"filename":"image_08012025_09_15_02_858014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06b70649df1f727b349d504a8c361fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3598793385160281493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324187567,"filename":"image_08012025_09_14_02_319760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327424544","file0":"1327424538"},"map_files_photo_id_array":[{"photo_id":"1327424544","filename":"file1"},{"photo_id":"1327424538","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424544":["hashtag1","hashtag2"]},{"1327424538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424544, 1327424538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.402880668640137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:16:03.057391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:16:22.624169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/15/image_08012025_09_15_02_858014_0003.jpg', '/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0000.jpg', '/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0001.jpg', '/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/15/image_08012025_09_15_02_858014_0003.jpg
/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0000.jpg
/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0001.jpg
/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424581","1327424569","1327424577","1327424573"],"photo_ids_order":["1327424569","1327424573","1327424577","1327424581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87b63e3edbfbdd05944b43df91e3007b.jpg","text":"TemporaryFile(/tmp/multipartBody6477010521285204073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324253156,"filename":"image_08012025_09_16_02_358970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bcb900b27eaa76cb2accae73ff1f007.jpg","text":"TemporaryFile(/tmp/multipartBody2269036735690196240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324253156,"filename":"image_08012025_09_15_02_858014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8f66cced86ce1c50ac6f87174ea2788.jpg","text":"TemporaryFile(/tmp/multipartBody3411689682085665293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324253156,"filename":"image_08012025_09_16_02_358970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90d2c2ba857e0e48edf859bb3cb74841.jpg","text":"TemporaryFile(/tmp/multipartBody4530866025296301063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324253156,"filename":"image_08012025_09_16_02_358970_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424577","file1":"1327424573","file0":"1327424569","file3":"1327424581"},"map_files_photo_id_array":[{"photo_id":"1327424577","filename":"file2"},{"photo_id":"1327424573","filename":"file1"},{"photo_id":"1327424569","filename":"file0"},{"photo_id":"1327424581","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424581":["hashtag1","hashtag2"]},{"1327424569":["hashtag1","hashtag2"]},{"1327424577":["hashtag1","hashtag2"]},{"1327424573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424581, 1327424569, 1327424577, 1327424573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.813881158828735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:17:02.934020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:17:22.445594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0003.jpg', '/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0000.jpg', '/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0001.jpg', '/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/16/image_08012025_09_16_02_358970_0003.jpg
/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0000.jpg
/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0001.jpg
/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424593","1327424596","1327424599","1327424602"],"photo_ids_order":["1327424593","1327424596","1327424599","1327424602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/707d2ad26ee145ab3bde6cd6af89a150.jpg","text":"TemporaryFile(/tmp/multipartBody7962214763138615053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324312957,"filename":"image_08012025_09_16_02_358970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74b3345379cdc99306d64a644df75fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5998468807554866873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324312957,"filename":"image_08012025_09_17_03_097575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a2813d99cba215f5e59acbd2170aa9c.jpg","text":"TemporaryFile(/tmp/multipartBody830089096855541418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324312957,"filename":"image_08012025_09_17_03_097575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c514ab438afcc661593252669cc66fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3695832651914570140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324312957,"filename":"image_08012025_09_17_03_097575_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424599","file1":"1327424596","file0":"1327424593","file3":"1327424602"},"map_files_photo_id_array":[{"photo_id":"1327424599","filename":"file2"},{"photo_id":"1327424596","filename":"file1"},{"photo_id":"1327424593","filename":"file0"},{"photo_id":"1327424602","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424593":["hashtag1","hashtag2"]},{"1327424596":["hashtag1","hashtag2"]},{"1327424599":["hashtag1","hashtag2"]},{"1327424602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424593, 1327424596, 1327424599, 1327424602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47978067398071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:18:21.847293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0003.jpg', '/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0000.jpg', '/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/17/image_08012025_09_17_03_097575_0003.jpg
/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0000.jpg
/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424641","1327424637","1327424631"],"photo_ids_order":["1327424631","1327424637","1327424641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0014f3e78e5e2f4b76e8d7009f715856.jpg","text":"TemporaryFile(/tmp/multipartBody280110543105169711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324369925,"filename":"image_08012025_09_18_02_635088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00bc6cc1c3bcfa1f457f42003a04eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody6872362569609353027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324369925,"filename":"image_08012025_09_18_02_635088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e2037de6c366ba40f2f51284dde9052.jpg","text":"TemporaryFile(/tmp/multipartBody5078031567306290904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324369925,"filename":"image_08012025_09_17_03_097575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424641","file1":"1327424637","file0":"1327424631"},"map_files_photo_id_array":[{"photo_id":"1327424641","filename":"file2"},{"photo_id":"1327424637","filename":"file1"},{"photo_id":"1327424631","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424641":["hashtag1","hashtag2"]},{"1327424637":["hashtag1","hashtag2"]},{"1327424631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424641, 1327424637, 1327424631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.23758864402771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:19:02.978971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:19:22.437159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0003.jpg', '/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0000.jpg', '/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/18/image_08012025_09_18_02_635088_0003.jpg
/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0000.jpg
/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424720","1327424716","1327424709"],"photo_ids_order":["1327424709","1327424716","1327424720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c95cae74cb98432dd1d1d664a39ee302.jpg","text":"TemporaryFile(/tmp/multipartBody8544366367869365297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324435596,"filename":"image_08012025_09_19_02_219116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3f851da16842a74fcef3520b8bbe031.jpg","text":"TemporaryFile(/tmp/multipartBody3534916876271162480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324435596,"filename":"image_08012025_09_19_02_219116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73f501b90f74c874304204f1a1371a38.jpg","text":"TemporaryFile(/tmp/multipartBody821306386203490154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324435596,"filename":"image_08012025_09_18_02_635088_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424720","file1":"1327424716","file0":"1327424709"},"map_files_photo_id_array":[{"photo_id":"1327424720","filename":"file2"},{"photo_id":"1327424716","filename":"file1"},{"photo_id":"1327424709","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424720":["hashtag1","hashtag2"]},{"1327424716":["hashtag1","hashtag2"]},{"1327424709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424720, 1327424716, 1327424709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.46775460243225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:20:02.478952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:20:22.024641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0003.jpg', '/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0000.jpg', '/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/19/image_08012025_09_19_02_219116_0003.jpg
/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0000.jpg
/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424767","1327424772","1327424760"],"photo_ids_order":["1327424760","1327424767","1327424772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/458268103426d05d50ab6c0034b0f6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4403155670710141071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324490897,"filename":"image_08012025_09_20_02_800238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26726e11a254dae55d5f6c6b79db62c8.jpg","text":"TemporaryFile(/tmp/multipartBody6224493995409490003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324490897,"filename":"image_08012025_09_20_02_800238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29e8a5bd883125dde40b0345c15e78e9.jpg","text":"TemporaryFile(/tmp/multipartBody2539212995386857993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324490897,"filename":"image_08012025_09_19_02_219116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424772","file1":"1327424767","file0":"1327424760"},"map_files_photo_id_array":[{"photo_id":"1327424772","filename":"file2"},{"photo_id":"1327424767","filename":"file1"},{"photo_id":"1327424760","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424767":["hashtag1","hashtag2"]},{"1327424772":["hashtag1","hashtag2"]},{"1327424760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424767, 1327424772, 1327424760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.4864239692688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:21:03.318758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:21:22.664896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0002.jpg', '/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0000.jpg', '/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0001.jpg', '/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/20/image_08012025_09_20_02_800238_0002.jpg
/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0000.jpg
/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0001.jpg
/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327424903","1327424812","1327424800","1327424808"],"photo_ids_order":["1327424800","1327424808","1327424812","1327424903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8651c27c957bdc498625341cc0a71621.jpg","text":"TemporaryFile(/tmp/multipartBody3078278626746112289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324553195,"filename":"image_08012025_09_21_02_456483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7b3aa1f0f0f7da0c4c0a649f61a9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8736865220177334913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324553195,"filename":"image_08012025_09_21_02_456483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4e290f126346b8a10cf718773ad4152.jpg","text":"TemporaryFile(/tmp/multipartBody3043016161980195253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324553195,"filename":"image_08012025_09_20_02_800238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3286af2e78047b61982f183c24c21b61.jpg","text":"TemporaryFile(/tmp/multipartBody2289094406821578205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324553195,"filename":"image_08012025_09_21_02_456483_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327424812","file1":"1327424808","file0":"1327424800","file3":"1327424903"},"map_files_photo_id_array":[{"photo_id":"1327424812","filename":"file2"},{"photo_id":"1327424808","filename":"file1"},{"photo_id":"1327424800","filename":"file0"},{"photo_id":"1327424903","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327424903":["hashtag1","hashtag2"]},{"1327424812":["hashtag1","hashtag2"]},{"1327424800":["hashtag1","hashtag2"]},{"1327424808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327424903, 1327424812, 1327424800, 1327424808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.75370907783508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:22:22.291006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0003.jpg', '/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0000.jpg', '/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0001.jpg', '/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/21/image_08012025_09_21_02_456483_0003.jpg
/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0000.jpg
/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0001.jpg
/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425028","1327425016","1327425019","1327425024"],"photo_ids_order":["1327425016","1327425019","1327425024","1327425028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f4e9ae0665b2a792a6b6ac550a3ca77.jpg","text":"TemporaryFile(/tmp/multipartBody6576663913249632744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324612806,"filename":"image_08012025_09_22_03_063430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e0e5f1396a5d2abd9c32f2aa92f9f22.jpg","text":"TemporaryFile(/tmp/multipartBody5206382826522404822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324612806,"filename":"image_08012025_09_21_02_456483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/740726b7e8eb4de7f1b277b44724b4ef.jpg","text":"TemporaryFile(/tmp/multipartBody3283624430469827589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324612806,"filename":"image_08012025_09_22_03_063430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab47437b275a6d43cd564877dc1708b2.jpg","text":"TemporaryFile(/tmp/multipartBody9143744940824213906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324612806,"filename":"image_08012025_09_22_03_063430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425024","file1":"1327425019","file0":"1327425016","file3":"1327425028"},"map_files_photo_id_array":[{"photo_id":"1327425024","filename":"file2"},{"photo_id":"1327425019","filename":"file1"},{"photo_id":"1327425016","filename":"file0"},{"photo_id":"1327425028","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425028":["hashtag1","hashtag2"]},{"1327425016":["hashtag1","hashtag2"]},{"1327425019":["hashtag1","hashtag2"]},{"1327425024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425028, 1327425016, 1327425019, 1327425024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74217391014099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:23:21.773967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0003.jpg', '/home/pi/Desktop/images/08012025/09/23/image_08012025_09_23_02_635875_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/22/image_08012025_09_22_03_063430_0003.jpg
/home/pi/Desktop/images/08012025/09/23/image_08012025_09_23_02_635875_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425051","1327425054"],"photo_ids_order":["1327425051","1327425054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d26331fcd835f6414b57f4a7e95100f.jpg","text":"TemporaryFile(/tmp/multipartBody3234209303882330827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324667401,"filename":"image_08012025_09_22_03_063430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a7f0061543af1a4b441d7dc14fc532f.jpg","text":"TemporaryFile(/tmp/multipartBody888548927412657278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324667401,"filename":"image_08012025_09_23_02_635875_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327425054","file0":"1327425051"},"map_files_photo_id_array":[{"photo_id":"1327425054","filename":"file1"},{"photo_id":"1327425051","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425051":["hashtag1","hashtag2"]},{"1327425054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425051, 1327425054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.163492918014526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:24:02.701257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:24:22.290443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/23/image_08012025_09_23_02_635875_0003.jpg', '/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0000.jpg', '/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0001.jpg', '/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/23/image_08012025_09_23_02_635875_0003.jpg
/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0000.jpg
/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0001.jpg
/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425076","1327425072","1327425125","1327425110"],"photo_ids_order":["1327425072","1327425076","1327425110","1327425125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec97b9471f37a2d707171744d7262fee.jpg","text":"TemporaryFile(/tmp/multipartBody8156871172614876718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324732787,"filename":"image_08012025_09_24_02_154005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59eff657d16639715fc613444cc9ac78.jpg","text":"TemporaryFile(/tmp/multipartBody6487472850974323461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324732787,"filename":"image_08012025_09_23_02_635875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2af1efabe448510d5b264069b3d94174.jpg","text":"TemporaryFile(/tmp/multipartBody6025236886576808015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324732787,"filename":"image_08012025_09_24_02_154005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52a8f483972cdae44120750d551a71f7.jpg","text":"TemporaryFile(/tmp/multipartBody340598271119083938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324732787,"filename":"image_08012025_09_24_02_154005_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425110","file1":"1327425076","file0":"1327425072","file3":"1327425125"},"map_files_photo_id_array":[{"photo_id":"1327425110","filename":"file2"},{"photo_id":"1327425076","filename":"file1"},{"photo_id":"1327425072","filename":"file0"},{"photo_id":"1327425125","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425076":["hashtag1","hashtag2"]},{"1327425072":["hashtag1","hashtag2"]},{"1327425125":["hashtag1","hashtag2"]},{"1327425110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425076, 1327425072, 1327425125, 1327425110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.107725381851196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:25:21.812842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0003.jpg', '/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0000.jpg', '/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/24/image_08012025_09_24_02_154005_0003.jpg
/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0000.jpg
/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425133","1327425141","1327425137"],"photo_ids_order":["1327425133","1327425137","1327425141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0e69defb3759e140043032da2541051.jpg","text":"TemporaryFile(/tmp/multipartBody3182127434328097190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324789860,"filename":"image_08012025_09_24_02_154005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a99b6355b1d9f851ad3322249b2e3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3998198264891594357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324789860,"filename":"image_08012025_09_25_02_661046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b67b7b0ec7861a75540a818cb256ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody6198345799117544205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324789860,"filename":"image_08012025_09_25_02_661046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425141","file1":"1327425137","file0":"1327425133"},"map_files_photo_id_array":[{"photo_id":"1327425141","filename":"file2"},{"photo_id":"1327425137","filename":"file1"},{"photo_id":"1327425133","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425133":["hashtag1","hashtag2"]},{"1327425141":["hashtag1","hashtag2"]},{"1327425137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425133, 1327425141, 1327425137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.89613914489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:26:02.784769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:26:22.338318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0002.jpg', '/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0000.jpg', '/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0001.jpg', '/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/25/image_08012025_09_25_02_661046_0002.jpg
/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0000.jpg
/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0001.jpg
/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425163","1327425157","1327425168","1327425176"],"photo_ids_order":["1327425157","1327425163","1327425168","1327425176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/207ae37164d35812d9e4609212a4d579.jpg","text":"TemporaryFile(/tmp/multipartBody4063091099341850661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324852716,"filename":"image_08012025_09_26_02_170298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5277ab942ce06ecbc4ac0a5b94e6235.jpg","text":"TemporaryFile(/tmp/multipartBody373376877113348639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324852716,"filename":"image_08012025_09_25_02_661046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e1d1e9a5fd76a03434c4bf6e78b756d.jpg","text":"TemporaryFile(/tmp/multipartBody1619451591680993671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324852716,"filename":"image_08012025_09_26_02_170298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5e4869efc9155092ab41a2b6e0744a6.jpg","text":"TemporaryFile(/tmp/multipartBody3024801946620892598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324852716,"filename":"image_08012025_09_26_02_170298_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425168","file1":"1327425163","file0":"1327425157","file3":"1327425176"},"map_files_photo_id_array":[{"photo_id":"1327425168","filename":"file2"},{"photo_id":"1327425163","filename":"file1"},{"photo_id":"1327425157","filename":"file0"},{"photo_id":"1327425176","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425163":["hashtag1","hashtag2"]},{"1327425157":["hashtag1","hashtag2"]},{"1327425168":["hashtag1","hashtag2"]},{"1327425176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425163, 1327425157, 1327425168, 1327425176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00382351875305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:27:02.499735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:27:21.783076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0003.jpg', '/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0000.jpg', '/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0001.jpg', '/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/26/image_08012025_09_26_02_170298_0003.jpg
/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0000.jpg
/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0001.jpg
/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425223","1327425231","1327425219","1327425227"],"photo_ids_order":["1327425219","1327425223","1327425227","1327425231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9163b7fce670c98f2c1ebdd815b37454.jpg","text":"TemporaryFile(/tmp/multipartBody5397416920983070891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324912116,"filename":"image_08012025_09_27_02_653039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7304b90e5c5312047c785213f0cc7ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7031790177961046309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324912116,"filename":"image_08012025_09_27_02_653039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/295ee9d9ff1ad431f0ce25a99110c09e.jpg","text":"TemporaryFile(/tmp/multipartBody3792092916779205535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324912116,"filename":"image_08012025_09_26_02_170298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/093006057d75495a3b0aaa71163d8e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3566825305693749319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324912116,"filename":"image_08012025_09_27_02_653039_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425227","file1":"1327425223","file0":"1327425219","file3":"1327425231"},"map_files_photo_id_array":[{"photo_id":"1327425227","filename":"file2"},{"photo_id":"1327425223","filename":"file1"},{"photo_id":"1327425219","filename":"file0"},{"photo_id":"1327425231","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425223":["hashtag1","hashtag2"]},{"1327425231":["hashtag1","hashtag2"]},{"1327425219":["hashtag1","hashtag2"]},{"1327425227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425223, 1327425231, 1327425219, 1327425227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18219184875488 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-08 09:28:22.514205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0003.jpg', '/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0000.jpg', '/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0001.jpg', '/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/27/image_08012025_09_27_02_653039_0003.jpg
/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0000.jpg
/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0001.jpg
/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425250","1327425284","1327425287","1327425281"],"photo_ids_order":["1327425250","1327425281","1327425284","1327425287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b738fbdec65c07f8b8f5e09933f9161.jpg","text":"TemporaryFile(/tmp/multipartBody6730792041144698186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324972959,"filename":"image_08012025_09_27_02_653039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7c53f377e8439da237df772f440e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1781330275609204661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324972959,"filename":"image_08012025_09_28_02_095420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4899483d33228ccc6bf040753791dde6.jpg","text":"TemporaryFile(/tmp/multipartBody3729470714552702750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324972959,"filename":"image_08012025_09_28_02_095420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88ceb13d3babbeef75c10db46493a100.jpg","text":"TemporaryFile(/tmp/multipartBody3063040177450884788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736324972959,"filename":"image_08012025_09_28_02_095420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425284","file1":"1327425281","file0":"1327425250","file3":"1327425287"},"map_files_photo_id_array":[{"photo_id":"1327425284","filename":"file2"},{"photo_id":"1327425281","filename":"file1"},{"photo_id":"1327425250","filename":"file0"},{"photo_id":"1327425287","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425250":["hashtag1","hashtag2"]},{"1327425284":["hashtag1","hashtag2"]},{"1327425287":["hashtag1","hashtag2"]},{"1327425281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425250, 1327425284, 1327425287, 1327425281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.622525691986084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:29:02.540367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:29:21.970483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0003.jpg', '/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0000.jpg', '/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0001.jpg', '/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/28/image_08012025_09_28_02_095420_0003.jpg
/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0000.jpg
/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0001.jpg
/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425349","1327425462","1327425507","1327425512"],"photo_ids_order":["1327425349","1327425462","1327425507","1327425512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f60e53370633b32674f25bb9e7c2143.jpg","text":"TemporaryFile(/tmp/multipartBody3851605518456467155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325032343,"filename":"image_08012025_09_28_02_095420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac20493757c638973103066935ec8186.jpg","text":"TemporaryFile(/tmp/multipartBody6191953408868529895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325032343,"filename":"image_08012025_09_29_02_851269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/edf428ffd0e7f26095db1ffebb77dfe3.jpg","text":"TemporaryFile(/tmp/multipartBody1042418623214443774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325032343,"filename":"image_08012025_09_29_02_851269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f05061294fadc2a6bec86efbb6a970b.jpg","text":"TemporaryFile(/tmp/multipartBody1070297231963938672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325032343,"filename":"image_08012025_09_29_02_851269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425507","file1":"1327425462","file0":"1327425349","file3":"1327425512"},"map_files_photo_id_array":[{"photo_id":"1327425507","filename":"file2"},{"photo_id":"1327425462","filename":"file1"},{"photo_id":"1327425349","filename":"file0"},{"photo_id":"1327425512","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425349":["hashtag1","hashtag2"]},{"1327425462":["hashtag1","hashtag2"]},{"1327425507":["hashtag1","hashtag2"]},{"1327425512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425349, 1327425462, 1327425507, 1327425512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60259699821472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:30:03.230893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:30:22.721059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0003.jpg', '/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0000.jpg', '/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0001.jpg', '/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/29/image_08012025_09_29_02_851269_0003.jpg
/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0000.jpg
/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0001.jpg
/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425532","1327425539","1327425527","1327425536"],"photo_ids_order":["1327425527","1327425532","1327425536","1327425539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db94571c5c55380f9481c9781c2df493.jpg","text":"TemporaryFile(/tmp/multipartBody2101358958530730710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325093125,"filename":"image_08012025_09_30_02_353702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07e152e65a03ba13b6bfd6669bf2407e.jpg","text":"TemporaryFile(/tmp/multipartBody5231733883424658447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325093125,"filename":"image_08012025_09_30_02_353702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12fc10cfa8a16e6dced241f302802d61.jpg","text":"TemporaryFile(/tmp/multipartBody6645840585668967869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325093125,"filename":"image_08012025_09_29_02_851269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dde3c1b1ddee710136e1f6ef8d9dbb67.jpg","text":"TemporaryFile(/tmp/multipartBody8364408652417958991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325093125,"filename":"image_08012025_09_30_02_353702_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425536","file1":"1327425532","file0":"1327425527","file3":"1327425539"},"map_files_photo_id_array":[{"photo_id":"1327425536","filename":"file2"},{"photo_id":"1327425532","filename":"file1"},{"photo_id":"1327425527","filename":"file0"},{"photo_id":"1327425539","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425532":["hashtag1","hashtag2"]},{"1327425539":["hashtag1","hashtag2"]},{"1327425527":["hashtag1","hashtag2"]},{"1327425536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425532, 1327425539, 1327425527, 1327425536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25238490104675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:31:02.870470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:31:22.151454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0003.jpg', '/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0000.jpg', '/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0001.jpg', '/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/30/image_08012025_09_30_02_353702_0003.jpg
/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0000.jpg
/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0001.jpg
/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327425556","1327425630","1327425561","1327425551"],"photo_ids_order":["1327425551","1327425556","1327425561","1327425630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/281e49ad8e6ec295ea8e80e0ac772211.jpg","text":"TemporaryFile(/tmp/multipartBody3198320474797787228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325152567,"filename":"image_08012025_09_31_03_052738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c7697b61337c148fe899ff71eeabd56.jpg","text":"TemporaryFile(/tmp/multipartBody268544900527630617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325152567,"filename":"image_08012025_09_31_03_052738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f86c1a8342846be03340a0306f887ed.jpg","text":"TemporaryFile(/tmp/multipartBody7355860090973889778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325152567,"filename":"image_08012025_09_31_03_052738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc54baf23aedeb89b094dbdd9ad313a0.jpg","text":"TemporaryFile(/tmp/multipartBody1377665874280957386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325152567,"filename":"image_08012025_09_30_02_353702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327425561","file1":"1327425556","file0":"1327425551","file3":"1327425630"},"map_files_photo_id_array":[{"photo_id":"1327425561","filename":"file2"},{"photo_id":"1327425556","filename":"file1"},{"photo_id":"1327425551","filename":"file0"},{"photo_id":"1327425630","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327425556":["hashtag1","hashtag2"]},{"1327425630":["hashtag1","hashtag2"]},{"1327425561":["hashtag1","hashtag2"]},{"1327425551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327425556, 1327425630, 1327425561, 1327425551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15418028831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:32:02.264355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:32:21.754021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0003.jpg', '/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0000.jpg', '/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0001.jpg', '/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/31/image_08012025_09_31_03_052738_0003.jpg
/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0000.jpg
/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0001.jpg
/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327426426","1327426584","1327426431","1327426457"],"photo_ids_order":["1327426426","1327426431","1327426457","1327426584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e0ed68a95754470e08b17a99ab6968a.jpg","text":"TemporaryFile(/tmp/multipartBody8535904744946459595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325212142,"filename":"image_08012025_09_31_03_052738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dc9dafe74e84e8ed9ad609eae6bd76f.jpg","text":"TemporaryFile(/tmp/multipartBody1806475409032095223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325212142,"filename":"image_08012025_09_32_02_532543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e847b46caf88529838da250848b0055d.jpg","text":"TemporaryFile(/tmp/multipartBody662230258111773683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325212142,"filename":"image_08012025_09_32_02_532543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a73937a0598aedc4c48f99a1913265e.jpg","text":"TemporaryFile(/tmp/multipartBody2422317717524707168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325212142,"filename":"image_08012025_09_32_02_532543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327426457","file1":"1327426431","file0":"1327426426","file3":"1327426584"},"map_files_photo_id_array":[{"photo_id":"1327426457","filename":"file2"},{"photo_id":"1327426431","filename":"file1"},{"photo_id":"1327426426","filename":"file0"},{"photo_id":"1327426584","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327426426":["hashtag1","hashtag2"]},{"1327426584":["hashtag1","hashtag2"]},{"1327426431":["hashtag1","hashtag2"]},{"1327426457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327426426, 1327426584, 1327426431, 1327426457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.908454179763794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:33:02.908270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:33:22.264342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0003.jpg', '/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0000.jpg', '/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0001.jpg', '/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/32/image_08012025_09_32_02_532543_0003.jpg
/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0000.jpg
/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0001.jpg
/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427079","1327427042","1327427066","1327427050"],"photo_ids_order":["1327427042","1327427050","1327427066","1327427079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf0d882e7da05c3055c8d78e93b5f237.jpg","text":"TemporaryFile(/tmp/multipartBody2057331042168805343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325272636,"filename":"image_08012025_09_33_02_118465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/746eeb720d457388b8414dfe04d116e6.jpg","text":"TemporaryFile(/tmp/multipartBody8519400402667990848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325272636,"filename":"image_08012025_09_32_02_532543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d978c20bb96d315650ae3e8d1f9caee.jpg","text":"TemporaryFile(/tmp/multipartBody1285141878444470685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325272636,"filename":"image_08012025_09_33_02_118465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cbd0c1674b229630700cfefaba159ce.jpg","text":"TemporaryFile(/tmp/multipartBody849059369676888743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325272636,"filename":"image_08012025_09_33_02_118465_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427066","file1":"1327427050","file0":"1327427042","file3":"1327427079"},"map_files_photo_id_array":[{"photo_id":"1327427066","filename":"file2"},{"photo_id":"1327427050","filename":"file1"},{"photo_id":"1327427042","filename":"file0"},{"photo_id":"1327427079","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427079":["hashtag1","hashtag2"]},{"1327427042":["hashtag1","hashtag2"]},{"1327427066":["hashtag1","hashtag2"]},{"1327427050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427079, 1327427042, 1327427066, 1327427050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31629252433777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:34:02.253422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:34:21.785681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0003.jpg', '/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0000.jpg', '/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0001.jpg', '/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/33/image_08012025_09_33_02_118465_0003.jpg
/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0000.jpg
/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0001.jpg
/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427271","1327427310","1327427118","1327427189"],"photo_ids_order":["1327427118","1327427189","1327427271","1327427310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ee0402373928d753b68692f23713bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5592021885996011401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325332133,"filename":"image_08012025_09_34_02_635283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32a3e23cabfca8ef7688ab275e07d047.jpg","text":"TemporaryFile(/tmp/multipartBody172003594577278797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325332133,"filename":"image_08012025_09_34_02_635283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f532295e9c188bc400f9645d4274064.jpg","text":"TemporaryFile(/tmp/multipartBody5893646981320043404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325332133,"filename":"image_08012025_09_33_02_118465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3e3fa28d2295f88da6002738781e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4814731412648569910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325332133,"filename":"image_08012025_09_34_02_635283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427271","file1":"1327427189","file0":"1327427118","file3":"1327427310"},"map_files_photo_id_array":[{"photo_id":"1327427271","filename":"file2"},{"photo_id":"1327427189","filename":"file1"},{"photo_id":"1327427118","filename":"file0"},{"photo_id":"1327427310","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427271":["hashtag1","hashtag2"]},{"1327427310":["hashtag1","hashtag2"]},{"1327427118":["hashtag1","hashtag2"]},{"1327427189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427271, 1327427310, 1327427118, 1327427189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06058144569397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:35:02.961379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:35:22.375674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0003.jpg', '/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0000.jpg', '/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0001.jpg', '/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/34/image_08012025_09_34_02_635283_0003.jpg
/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0000.jpg
/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0001.jpg
/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427382","1327427377","1327427371","1327427367"],"photo_ids_order":["1327427367","1327427371","1327427377","1327427382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/652667e012961201ddd2e6fbee4edc0d.jpg","text":"TemporaryFile(/tmp/multipartBody2425732636306543557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325392677,"filename":"image_08012025_09_35_02_218233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7db28b0697b9036a31824be3cd74a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3267078400585456667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325392677,"filename":"image_08012025_09_35_02_218233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f187afbb6354e692928c6ecac2ee3845.jpg","text":"TemporaryFile(/tmp/multipartBody559168684165251235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325392677,"filename":"image_08012025_09_35_02_218233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8257ae6881b298fc72fef9b7efa712fe.jpg","text":"TemporaryFile(/tmp/multipartBody5658533717926792108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325392677,"filename":"image_08012025_09_34_02_635283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427377","file1":"1327427371","file0":"1327427367","file3":"1327427382"},"map_files_photo_id_array":[{"photo_id":"1327427377","filename":"file2"},{"photo_id":"1327427371","filename":"file1"},{"photo_id":"1327427367","filename":"file0"},{"photo_id":"1327427382","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427382":["hashtag1","hashtag2"]},{"1327427377":["hashtag1","hashtag2"]},{"1327427371":["hashtag1","hashtag2"]},{"1327427367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427382, 1327427377, 1327427371, 1327427367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95421075820923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:36:02.559597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:36:22.147288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0003.jpg', '/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0000.jpg', '/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0001.jpg', '/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/35/image_08012025_09_35_02_218233_0003.jpg
/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0000.jpg
/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0001.jpg
/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427400","1327427411","1327427408","1327427404"],"photo_ids_order":["1327427400","1327427404","1327427408","1327427411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/159f4765319b7affac651e19827499da.jpg","text":"TemporaryFile(/tmp/multipartBody4974379585025755856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325452543,"filename":"image_08012025_09_35_02_218233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c496bba843d1dbd2f14279343d9b62b0.jpg","text":"TemporaryFile(/tmp/multipartBody3509097280380356530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325452543,"filename":"image_08012025_09_36_02_823499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a54d01a62889bc95b829bf9cb73eaad.jpg","text":"TemporaryFile(/tmp/multipartBody2606492116433050984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325452543,"filename":"image_08012025_09_36_02_823499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4534952b56edbbe807e95223e9b8497e.jpg","text":"TemporaryFile(/tmp/multipartBody846918219796266102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325452543,"filename":"image_08012025_09_36_02_823499_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427408","file1":"1327427404","file0":"1327427400","file3":"1327427411"},"map_files_photo_id_array":[{"photo_id":"1327427408","filename":"file2"},{"photo_id":"1327427404","filename":"file1"},{"photo_id":"1327427400","filename":"file0"},{"photo_id":"1327427411","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427400":["hashtag1","hashtag2"]},{"1327427411":["hashtag1","hashtag2"]},{"1327427408":["hashtag1","hashtag2"]},{"1327427404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427400, 1327427411, 1327427408, 1327427404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31832933425903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:37:22.655554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0003.jpg', '/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0000.jpg', '/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0001.jpg', '/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/36/image_08012025_09_36_02_823499_0003.jpg
/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0000.jpg
/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0001.jpg
/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427439","1327427430","1327427433","1327427425"],"photo_ids_order":["1327427425","1327427430","1327427433","1327427439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/523ee8d8ddb1122ecc59f3f9454294b4.jpg","text":"TemporaryFile(/tmp/multipartBody7880904162754862690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325513031,"filename":"image_08012025_09_37_02_515371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2dc124b72c99ad4185d19e5161e72e57.jpg","text":"TemporaryFile(/tmp/multipartBody5781291194674676045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325513031,"filename":"image_08012025_09_37_02_515371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/090cb17481af67fb1211adb5b81d09ef.jpg","text":"TemporaryFile(/tmp/multipartBody4365137420291769894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325513031,"filename":"image_08012025_09_37_02_515371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67d1d80572ff73bafe459fa56b43b063.jpg","text":"TemporaryFile(/tmp/multipartBody1296440321515081206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325513031,"filename":"image_08012025_09_36_02_823499_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427433","file1":"1327427430","file0":"1327427425","file3":"1327427439"},"map_files_photo_id_array":[{"photo_id":"1327427433","filename":"file2"},{"photo_id":"1327427430","filename":"file1"},{"photo_id":"1327427425","filename":"file0"},{"photo_id":"1327427439","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427439":["hashtag1","hashtag2"]},{"1327427430":["hashtag1","hashtag2"]},{"1327427433":["hashtag1","hashtag2"]},{"1327427425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427439, 1327427430, 1327427433, 1327427425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.70678782463074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:38:22.178900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0003.jpg', '/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0000.jpg', '/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0001.jpg', '/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/37/image_08012025_09_37_02_515371_0003.jpg
/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0000.jpg
/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0001.jpg
/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427495","1327427498","1327427492","1327427501"],"photo_ids_order":["1327427492","1327427495","1327427498","1327427501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d66c6b2bf57a65c1a98674cc790da36b.jpg","text":"TemporaryFile(/tmp/multipartBody4699603660816208440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325572392,"filename":"image_08012025_09_38_03_014607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b11db0ceec0a814abd1a5b278b4e52ef.jpg","text":"TemporaryFile(/tmp/multipartBody5815766474124544440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325572392,"filename":"image_08012025_09_38_03_014607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d587d0f8fae81a335b966de9317f83ae.jpg","text":"TemporaryFile(/tmp/multipartBody8408298744255277175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325572392,"filename":"image_08012025_09_37_02_515371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4c176c72410cfd7a1e4ec2e0b8c912f.jpg","text":"TemporaryFile(/tmp/multipartBody572476898621703720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325572392,"filename":"image_08012025_09_38_03_014607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427498","file1":"1327427495","file0":"1327427492","file3":"1327427501"},"map_files_photo_id_array":[{"photo_id":"1327427498","filename":"file2"},{"photo_id":"1327427495","filename":"file1"},{"photo_id":"1327427492","filename":"file0"},{"photo_id":"1327427501","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427495":["hashtag1","hashtag2"]},{"1327427498":["hashtag1","hashtag2"]},{"1327427492":["hashtag1","hashtag2"]},{"1327427501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427495, 1327427498, 1327427492, 1327427501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62603235244751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:39:03.322958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:39:22.720520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0003.jpg', '/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0000.jpg', '/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0001.jpg', '/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/38/image_08012025_09_38_03_014607_0003.jpg
/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0000.jpg
/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0001.jpg
/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427541","1327427538","1327427534","1327427530"],"photo_ids_order":["1327427530","1327427534","1327427538","1327427541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ab2188501d548bb304a4f31da7b7f66.jpg","text":"TemporaryFile(/tmp/multipartBody4921744840238012187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325632964,"filename":"image_08012025_09_39_02_577267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3108f365f16a148f039b8d531cb7d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3801393504866661554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325632964,"filename":"image_08012025_09_39_02_577267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fabeefbfca409c89c01b4e320b85265.jpg","text":"TemporaryFile(/tmp/multipartBody4673617279432773699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325632964,"filename":"image_08012025_09_39_02_577267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5568205baf3ce79e99661bcb8909881f.jpg","text":"TemporaryFile(/tmp/multipartBody8894116269077140105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325632964,"filename":"image_08012025_09_38_03_014607_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427538","file1":"1327427534","file0":"1327427530","file3":"1327427541"},"map_files_photo_id_array":[{"photo_id":"1327427538","filename":"file2"},{"photo_id":"1327427534","filename":"file1"},{"photo_id":"1327427530","filename":"file0"},{"photo_id":"1327427541","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427541":["hashtag1","hashtag2"]},{"1327427538":["hashtag1","hashtag2"]},{"1327427534":["hashtag1","hashtag2"]},{"1327427530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427541, 1327427538, 1327427534, 1327427530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.020737648010254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:40:02.763693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:40:22.351049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0003.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0000.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0001.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0003.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0000.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0001.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85364055633545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:41:02.595139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0003.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0000.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0001.jpg', '/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/39/image_08012025_09_39_02_577267_0003.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0000.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0001.jpg
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427651","1327427648","1327427653","1327427647"],"photo_ids_order":["1327427647","1327427648","1327427651","1327427653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cff0dcb1a5d6046685041dca05c8dbfd.jpg","text":"TemporaryFile(/tmp/multipartBody6677999215857089178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325732894,"filename":"image_08012025_09_40_03_123413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab71ae1689e138f0ff19ab827b1712ee.jpg","text":"TemporaryFile(/tmp/multipartBody8214432641264732512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325732894,"filename":"image_08012025_09_40_03_123413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92a0e4e76c82b7b8477b2adb3f548b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5423916824699269056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325732894,"filename":"image_08012025_09_40_03_123413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/209a23127ff9806e74425b55dfa22a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4630395947092114460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325732894,"filename":"image_08012025_09_39_02_577267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427651","file1":"1327427648","file0":"1327427647","file3":"1327427653"},"map_files_photo_id_array":[{"photo_id":"1327427651","filename":"file2"},{"photo_id":"1327427648","filename":"file1"},{"photo_id":"1327427647","filename":"file0"},{"photo_id":"1327427653","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427651":["hashtag1","hashtag2"]},{"1327427648":["hashtag1","hashtag2"]},{"1327427653":["hashtag1","hashtag2"]},{"1327427647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427651, 1327427648, 1327427653, 1327427647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21489763259888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:42:03.125223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0003.jpg', '/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0000.jpg', '/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0001.jpg', '/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/40/image_08012025_09_40_03_123413_0003.jpg
/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0000.jpg
/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0001.jpg
/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427715","1327427666","1327427753","1327427665"],"photo_ids_order":["1327427665","1327427666","1327427715","1327427753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a828ffc413ae5efe612b42349e3f2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4260612715812877229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325793474,"filename":"image_08012025_09_41_02_724743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10c4c2c394aa4824425bbdddf6dbdecb.jpg","text":"TemporaryFile(/tmp/multipartBody6642248714930806937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325793474,"filename":"image_08012025_09_41_02_724743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea34735970fbade61de213008007d964.jpg","text":"TemporaryFile(/tmp/multipartBody8386650320190424896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325793474,"filename":"image_08012025_09_41_02_724743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/147694e027440ae2d80b271b2aa7485d.jpg","text":"TemporaryFile(/tmp/multipartBody5471209705704384729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325793474,"filename":"image_08012025_09_40_03_123413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427715","file1":"1327427666","file0":"1327427665","file3":"1327427753"},"map_files_photo_id_array":[{"photo_id":"1327427715","filename":"file2"},{"photo_id":"1327427666","filename":"file1"},{"photo_id":"1327427665","filename":"file0"},{"photo_id":"1327427753","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427715":["hashtag1","hashtag2"]},{"1327427666":["hashtag1","hashtag2"]},{"1327427753":["hashtag1","hashtag2"]},{"1327427665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427715, 1327427666, 1327427753, 1327427665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17495512962341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:43:02.549213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0003.jpg', '/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0000.jpg', '/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0001.jpg', '/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/41/image_08012025_09_41_02_724743_0003.jpg
/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0000.jpg
/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0001.jpg
/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327427865","1327427832","1327427820","1327427815"],"photo_ids_order":["1327427815","1327427820","1327427832","1327427865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c7045f3bdb5fb4cabcd404d98a683d9.jpg","text":"TemporaryFile(/tmp/multipartBody8489334590617162025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325852915,"filename":"image_08012025_09_42_02_283226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0188da339baec4562424a909c97ed64.jpg","text":"TemporaryFile(/tmp/multipartBody4955872293427809259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325852915,"filename":"image_08012025_09_42_02_283226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb3c17e370c1bc1876fca255c9286b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7854789953725927647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325852915,"filename":"image_08012025_09_42_02_283226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/565d5679a93299f4d35b4465e303af25.jpg","text":"TemporaryFile(/tmp/multipartBody1790897692617992686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325852915,"filename":"image_08012025_09_41_02_724743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327427832","file1":"1327427820","file0":"1327427815","file3":"1327427865"},"map_files_photo_id_array":[{"photo_id":"1327427832","filename":"file2"},{"photo_id":"1327427820","filename":"file1"},{"photo_id":"1327427815","filename":"file0"},{"photo_id":"1327427865","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327427865":["hashtag1","hashtag2"]},{"1327427832":["hashtag1","hashtag2"]},{"1327427820":["hashtag1","hashtag2"]},{"1327427815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327427865, 1327427832, 1327427820, 1327427815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01887893676758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:44:02.108241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0003.jpg', '/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0000.jpg', '/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0001.jpg', '/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/42/image_08012025_09_42_02_283226_0003.jpg
/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0000.jpg
/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0001.jpg
/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428026","1327428020","1327428008","1327428028"],"photo_ids_order":["1327428008","1327428020","1327428026","1327428028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9c85d932ef4321ee80ddb989cb55897.jpg","text":"TemporaryFile(/tmp/multipartBody6744557352564573077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325912397,"filename":"image_08012025_09_43_02_927557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af2199cfd69a0937b3f22ff7a59d08ec.jpg","text":"TemporaryFile(/tmp/multipartBody538956007196831980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325912397,"filename":"image_08012025_09_43_02_927557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99e942048a34bebc2742e51a7962f71e.jpg","text":"TemporaryFile(/tmp/multipartBody8863527236532461814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325912397,"filename":"image_08012025_09_42_02_283226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69c54938885d065f70189ce6cbc39fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2198513056889394159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325912397,"filename":"image_08012025_09_43_02_927557_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428026","file1":"1327428020","file0":"1327428008","file3":"1327428028"},"map_files_photo_id_array":[{"photo_id":"1327428026","filename":"file2"},{"photo_id":"1327428020","filename":"file1"},{"photo_id":"1327428008","filename":"file0"},{"photo_id":"1327428028","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428026":["hashtag1","hashtag2"]},{"1327428020":["hashtag1","hashtag2"]},{"1327428008":["hashtag1","hashtag2"]},{"1327428028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428026, 1327428020, 1327428008, 1327428028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.905351638793945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:45:02.957884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0003.jpg', '/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0000.jpg', '/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0001.jpg', '/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/43/image_08012025_09_43_02_927557_0003.jpg
/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0000.jpg
/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0001.jpg
/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428292","1327428285","1327428288","1327428282"],"photo_ids_order":["1327428282","1327428285","1327428288","1327428292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0032b09254724f250b9926b71140304b.jpg","text":"TemporaryFile(/tmp/multipartBody4490637720200068837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325973277,"filename":"image_08012025_09_44_02_450934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6b3521a25632d88fe8044bf05ed6ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4653554830577044906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325973277,"filename":"image_08012025_09_44_02_450934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50728d0c39f24fc30a2691669fb3d10f.jpg","text":"TemporaryFile(/tmp/multipartBody7551600828219755680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325973277,"filename":"image_08012025_09_44_02_450934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d89582d382ba67416c3343ce43b1c211.jpg","text":"TemporaryFile(/tmp/multipartBody317739935226660273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736325973277,"filename":"image_08012025_09_43_02_927557_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428288","file1":"1327428285","file0":"1327428282","file3":"1327428292"},"map_files_photo_id_array":[{"photo_id":"1327428288","filename":"file2"},{"photo_id":"1327428285","filename":"file1"},{"photo_id":"1327428282","filename":"file0"},{"photo_id":"1327428292","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428292":["hashtag1","hashtag2"]},{"1327428285":["hashtag1","hashtag2"]},{"1327428288":["hashtag1","hashtag2"]},{"1327428282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428292, 1327428285, 1327428288, 1327428282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.323986291885376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:46:02.420851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0003.jpg', '/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0000.jpg', '/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0001.jpg', '/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/44/image_08012025_09_44_02_450934_0003.jpg
/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0000.jpg
/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0001.jpg
/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428402","1327428386","1327428379","1327428352"],"photo_ids_order":["1327428352","1327428379","1327428386","1327428402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5168b693f52ae6304012981d197ec374.jpg","text":"TemporaryFile(/tmp/multipartBody3668759932598633344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326032832,"filename":"image_08012025_09_45_02_132422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9a3de98d49d8c637c3ac6e12fc51fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4872116159002041947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326032832,"filename":"image_08012025_09_45_02_132422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef64203dc9c97d52a9434299629057c3.jpg","text":"TemporaryFile(/tmp/multipartBody2671104023697425494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326032832,"filename":"image_08012025_09_45_02_132422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5fd50c438d75df7d952156bf528c842c.jpg","text":"TemporaryFile(/tmp/multipartBody7435077762689103694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326032832,"filename":"image_08012025_09_44_02_450934_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428386","file1":"1327428379","file0":"1327428352","file3":"1327428402"},"map_files_photo_id_array":[{"photo_id":"1327428386","filename":"file2"},{"photo_id":"1327428379","filename":"file1"},{"photo_id":"1327428352","filename":"file0"},{"photo_id":"1327428402","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428402":["hashtag1","hashtag2"]},{"1327428386":["hashtag1","hashtag2"]},{"1327428379":["hashtag1","hashtag2"]},{"1327428352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428402, 1327428386, 1327428379, 1327428352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.621208906173706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:47:03.053366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0003.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0000.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0001.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0003.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0000.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0001.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.077224731445312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:47:22.526612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0003.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0000.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0001.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0002.jpg', '/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0003.jpg', '/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/45/image_08012025_09_45_02_132422_0003.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0000.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0001.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0002.jpg
/home/pi/Desktop/images/08012025/09/46/image_08012025_09_46_02_648109_0003.jpg
/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428537","1327428522","1327428530","1327428535","1327428532","1327428526"],"photo_ids_order":["1327428522","1327428526","1327428530","1327428532","1327428535","1327428537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f839436b1049e4e9fa240055fb570ead.jpg","text":"TemporaryFile(/tmp/multipartBody2129316937796111009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_47_02_359951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89b325d506d51b62dc49cae349b24232.jpg","text":"TemporaryFile(/tmp/multipartBody963327718053009251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_45_02_132422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2d95cfedc6a16137bac325cba9b035f.jpg","text":"TemporaryFile(/tmp/multipartBody3919988598735320731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_46_02_648109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/725fdedba1b8a16d7a025ef7876fbc7d.jpg","text":"TemporaryFile(/tmp/multipartBody1598806614514033355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_46_02_648109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/132836d3e4af90cebb8699b64a3c1823.jpg","text":"TemporaryFile(/tmp/multipartBody8019475062410328325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_46_02_648109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d909c4b08fbb0b18d4f2bb2f5b3fea1.jpg","text":"TemporaryFile(/tmp/multipartBody5932174862495274209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326117738,"filename":"image_08012025_09_46_02_648109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428530","file1":"1327428526","file0":"1327428522","file4":"1327428535","file5":"1327428537","file3":"1327428532"},"map_files_photo_id_array":[{"photo_id":"1327428537","filename":"file5"},{"photo_id":"1327428530","filename":"file2"},{"photo_id":"1327428535","filename":"file4"},{"photo_id":"1327428526","filename":"file1"},{"photo_id":"1327428522","filename":"file0"},{"photo_id":"1327428532","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428537":["hashtag1","hashtag2"]},{"1327428522":["hashtag1","hashtag2"]},{"1327428530":["hashtag1","hashtag2"]},{"1327428535":["hashtag1","hashtag2"]},{"1327428532":["hashtag1","hashtag2"]},{"1327428526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428537, 1327428522, 1327428530, 1327428535, 1327428532, 1327428526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.400890827178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:48:22.323106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0001.jpg', '/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0002.jpg', '/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0003.jpg', '/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0000.jpg', '/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0001.jpg', '/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0001.jpg
/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0002.jpg
/home/pi/Desktop/images/08012025/09/47/image_08012025_09_47_02_359951_0003.jpg
/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0000.jpg
/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0001.jpg
/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428686","1327428689","1327428677","1327428691","1327428694","1327428681"],"photo_ids_order":["1327428677","1327428681","1327428686","1327428689","1327428691","1327428694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c023f6a88a08cfdd4f40b0a015df1bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3097797191962458186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_47_02_359951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc7904f1a9f6bc91878ca61f590bcbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4633455161693116947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_48_02_914782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a52e8cf54cddc3f9412f2d02e0eae173.jpg","text":"TemporaryFile(/tmp/multipartBody7633612692457952935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_47_02_359951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc12bb4aac4e630627b892cdeac309c0.jpg","text":"TemporaryFile(/tmp/multipartBody391195611594761001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_48_02_914782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c23c7efdc0c4094ac00380a29ecfdea6.jpg","text":"TemporaryFile(/tmp/multipartBody1229615163574625882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_48_02_914782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db16a19c4aefdd372b62d77ddb63e4f2.jpg","text":"TemporaryFile(/tmp/multipartBody5489301585333928626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326177529,"filename":"image_08012025_09_47_02_359951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428686","file1":"1327428681","file0":"1327428677","file4":"1327428691","file5":"1327428694","file3":"1327428689"},"map_files_photo_id_array":[{"photo_id":"1327428694","filename":"file5"},{"photo_id":"1327428686","filename":"file2"},{"photo_id":"1327428691","filename":"file4"},{"photo_id":"1327428681","filename":"file1"},{"photo_id":"1327428677","filename":"file0"},{"photo_id":"1327428689","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428686":["hashtag1","hashtag2"]},{"1327428689":["hashtag1","hashtag2"]},{"1327428677":["hashtag1","hashtag2"]},{"1327428691":["hashtag1","hashtag2"]},{"1327428694":["hashtag1","hashtag2"]},{"1327428681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428686, 1327428689, 1327428677, 1327428691, 1327428694, 1327428681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.180869817733765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:49:22.051631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0003.jpg', '/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0000.jpg', '/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0001.jpg', '/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/48/image_08012025_09_48_02_914782_0003.jpg
/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0000.jpg
/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0001.jpg
/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428860","1327428863","1327428856","1327428897"],"photo_ids_order":["1327428856","1327428860","1327428863","1327428897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6e2074bfc076a53b395299e4614f274.jpg","text":"TemporaryFile(/tmp/multipartBody7614736815197554205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326232534,"filename":"image_08012025_09_49_02_731622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/855b0ca7f4832b10bff7e68d29fc689c.jpg","text":"TemporaryFile(/tmp/multipartBody8184444154325806459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326232534,"filename":"image_08012025_09_49_02_731622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f83d2f5e8fc7265882831b1554098d4.jpg","text":"TemporaryFile(/tmp/multipartBody7649828095109752275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326232534,"filename":"image_08012025_09_48_02_914782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79a2153b9150e5929e8571494f5b68f6.jpg","text":"TemporaryFile(/tmp/multipartBody2117876645253835227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326232534,"filename":"image_08012025_09_49_02_731622_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327428863","file1":"1327428860","file0":"1327428856","file3":"1327428897"},"map_files_photo_id_array":[{"photo_id":"1327428863","filename":"file2"},{"photo_id":"1327428860","filename":"file1"},{"photo_id":"1327428856","filename":"file0"},{"photo_id":"1327428897","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428860":["hashtag1","hashtag2"]},{"1327428863":["hashtag1","hashtag2"]},{"1327428856":["hashtag1","hashtag2"]},{"1327428897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428860, 1327428863, 1327428856, 1327428897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79070448875427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:50:02.846754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:50:22.475781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0003.jpg', '/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0000.jpg', '/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0001.jpg', '/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/49/image_08012025_09_49_02_731622_0003.jpg
/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0000.jpg
/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0001.jpg
/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327428995","1327429013","1327429002","1327429008"],"photo_ids_order":["1327428995","1327429002","1327429008","1327429013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a302cdba1eb21612bcec43976b4b937b.jpg","text":"TemporaryFile(/tmp/multipartBody4837838586689567768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326292804,"filename":"image_08012025_09_49_02_731622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43d1c2aba49ffc18022f957c4e84366f.jpg","text":"TemporaryFile(/tmp/multipartBody1540429971020203876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326292804,"filename":"image_08012025_09_50_02_299559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96992103f3117c34cc9584021daea291.jpg","text":"TemporaryFile(/tmp/multipartBody4256317842268703623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326292804,"filename":"image_08012025_09_50_02_299559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7681f8391a7f8504179223345e5208d2.jpg","text":"TemporaryFile(/tmp/multipartBody7087187179615625640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326292804,"filename":"image_08012025_09_50_02_299559_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429008","file1":"1327429002","file0":"1327428995","file3":"1327429013"},"map_files_photo_id_array":[{"photo_id":"1327429008","filename":"file2"},{"photo_id":"1327429002","filename":"file1"},{"photo_id":"1327428995","filename":"file0"},{"photo_id":"1327429013","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327428995":["hashtag1","hashtag2"]},{"1327429013":["hashtag1","hashtag2"]},{"1327429002":["hashtag1","hashtag2"]},{"1327429008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327428995, 1327429013, 1327429002, 1327429008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42857384681702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:51:02.591159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:51:21.943953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0003.jpg', '/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0000.jpg', '/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0001.jpg', '/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/50/image_08012025_09_50_02_299559_0003.jpg
/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0000.jpg
/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0001.jpg
/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429064","1327429061","1327429030","1327429053"],"photo_ids_order":["1327429030","1327429053","1327429061","1327429064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c2ae197ab6bb50ee05cce35b1c7d581.jpg","text":"TemporaryFile(/tmp/multipartBody3128026480947729042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326352193,"filename":"image_08012025_09_51_02_821013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1131fcee9b389ae4c68ebc5565aa1e2.jpg","text":"TemporaryFile(/tmp/multipartBody708687037427748553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326352193,"filename":"image_08012025_09_51_02_821013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff3353dd0355eaa2a6bbcee3ec43c63a.jpg","text":"TemporaryFile(/tmp/multipartBody6819236632703618919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326352193,"filename":"image_08012025_09_50_02_299559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2babee964563a10de495394533450a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8151598276614819513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326352193,"filename":"image_08012025_09_51_02_821013_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429061","file1":"1327429053","file0":"1327429030","file3":"1327429064"},"map_files_photo_id_array":[{"photo_id":"1327429061","filename":"file2"},{"photo_id":"1327429053","filename":"file1"},{"photo_id":"1327429030","filename":"file0"},{"photo_id":"1327429064","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429064":["hashtag1","hashtag2"]},{"1327429061":["hashtag1","hashtag2"]},{"1327429030":["hashtag1","hashtag2"]},{"1327429053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429064, 1327429061, 1327429030, 1327429053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31723976135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:52:22.623745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0003.jpg', '/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0000.jpg', '/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0001.jpg', '/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/51/image_08012025_09_51_02_821013_0003.jpg
/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0000.jpg
/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0001.jpg
/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429153","1327429326","1327429137","1327429131"],"photo_ids_order":["1327429131","1327429137","1327429153","1327429326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9a4788d50a5f11f0e793c505ed37179.jpg","text":"TemporaryFile(/tmp/multipartBody8787936957179360812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326413000,"filename":"image_08012025_09_52_02_387426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffe1b9f0195368c5dfad19b33720a451.jpg","text":"TemporaryFile(/tmp/multipartBody8847629804496688943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326413000,"filename":"image_08012025_09_52_02_387426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9237609a4d57d43777e09f167970eac9.jpg","text":"TemporaryFile(/tmp/multipartBody3079137559059010637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326413000,"filename":"image_08012025_09_52_02_387426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd1069d33b8c935ebce1f57e63a21c53.jpg","text":"TemporaryFile(/tmp/multipartBody6652111742836344516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326413000,"filename":"image_08012025_09_51_02_821013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429153","file1":"1327429137","file0":"1327429131","file3":"1327429326"},"map_files_photo_id_array":[{"photo_id":"1327429153","filename":"file2"},{"photo_id":"1327429137","filename":"file1"},{"photo_id":"1327429131","filename":"file0"},{"photo_id":"1327429326","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429153":["hashtag1","hashtag2"]},{"1327429326":["hashtag1","hashtag2"]},{"1327429137":["hashtag1","hashtag2"]},{"1327429131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429153, 1327429326, 1327429137, 1327429131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.263084411621094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:53:22.191136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0003.jpg', '/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0000.jpg', '/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0001.jpg', '/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/52/image_08012025_09_52_02_387426_0003.jpg
/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0000.jpg
/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0001.jpg
/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429376","1327429381","1327429389","1327429386"],"photo_ids_order":["1327429376","1327429381","1327429386","1327429389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/add3f7bcd9fdae0b2541e04deca875a2.jpg","text":"TemporaryFile(/tmp/multipartBody6810167501571535333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326472602,"filename":"image_08012025_09_52_02_387426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a729e1e4826fa288236706faaa50eae7.jpg","text":"TemporaryFile(/tmp/multipartBody4007676733824727449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326472602,"filename":"image_08012025_09_53_03_046494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/841c6dbd7c1cdf47b060a3ee6a87d776.jpg","text":"TemporaryFile(/tmp/multipartBody3007613306280046989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326472602,"filename":"image_08012025_09_53_03_046494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6295d37711e927051bbb2d7711720109.jpg","text":"TemporaryFile(/tmp/multipartBody3116839150399186920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326472602,"filename":"image_08012025_09_53_03_046494_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429386","file1":"1327429381","file0":"1327429376","file3":"1327429389"},"map_files_photo_id_array":[{"photo_id":"1327429386","filename":"file2"},{"photo_id":"1327429381","filename":"file1"},{"photo_id":"1327429376","filename":"file0"},{"photo_id":"1327429389","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429376":["hashtag1","hashtag2"]},{"1327429381":["hashtag1","hashtag2"]},{"1327429389":["hashtag1","hashtag2"]},{"1327429386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429376, 1327429381, 1327429389, 1327429386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49376654624939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:54:22.687679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0003.jpg', '/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0000.jpg', '/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0001.jpg', '/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/53/image_08012025_09_53_03_046494_0003.jpg
/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0000.jpg
/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0001.jpg
/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429430","1327429424","1327429427","1327429420"],"photo_ids_order":["1327429420","1327429424","1327429427","1327429430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8746e0f9f64d3bce588bbb14d1ddb568.jpg","text":"TemporaryFile(/tmp/multipartBody4523590287364827954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326533001,"filename":"image_08012025_09_54_02_533873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3728b78c74e735c377dae96367727484.jpg","text":"TemporaryFile(/tmp/multipartBody384890532858341767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326533001,"filename":"image_08012025_09_54_02_533873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc926b289a57e3d39d217b3227ebc1c0.jpg","text":"TemporaryFile(/tmp/multipartBody822946556172659898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326533001,"filename":"image_08012025_09_54_02_533873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90766d2dd935de1f40eda734e174ec40.jpg","text":"TemporaryFile(/tmp/multipartBody1003616643669803424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326533001,"filename":"image_08012025_09_53_03_046494_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429427","file1":"1327429424","file0":"1327429420","file3":"1327429430"},"map_files_photo_id_array":[{"photo_id":"1327429427","filename":"file2"},{"photo_id":"1327429424","filename":"file1"},{"photo_id":"1327429420","filename":"file0"},{"photo_id":"1327429430","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429430":["hashtag1","hashtag2"]},{"1327429424":["hashtag1","hashtag2"]},{"1327429427":["hashtag1","hashtag2"]},{"1327429420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429430, 1327429424, 1327429427, 1327429420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42390251159668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:55:02.773034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:55:22.174622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0003.jpg', '/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0000.jpg', '/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0001.jpg', '/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/54/image_08012025_09_54_02_533873_0003.jpg
/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0000.jpg
/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0001.jpg
/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429468","1327429462","1327429456","1327429466"],"photo_ids_order":["1327429456","1327429462","1327429466","1327429468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d009f1fbd1499423e0d015ace29f963b.jpg","text":"TemporaryFile(/tmp/multipartBody4901313023068649145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326592534,"filename":"image_08012025_09_55_03_030792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c320d63ab635825a57dc43bf7306934.jpg","text":"TemporaryFile(/tmp/multipartBody1178911904709833742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326592534,"filename":"image_08012025_09_55_03_030792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/429ec9079ca0259d16620d4694bc6578.jpg","text":"TemporaryFile(/tmp/multipartBody8160926468983097782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326592534,"filename":"image_08012025_09_54_02_533873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15068bd4cfdb01c58a779aa116b01776.jpg","text":"TemporaryFile(/tmp/multipartBody7199057384516055800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326592534,"filename":"image_08012025_09_55_03_030792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429466","file1":"1327429462","file0":"1327429456","file3":"1327429468"},"map_files_photo_id_array":[{"photo_id":"1327429466","filename":"file2"},{"photo_id":"1327429462","filename":"file1"},{"photo_id":"1327429456","filename":"file0"},{"photo_id":"1327429468","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429468":["hashtag1","hashtag2"]},{"1327429462":["hashtag1","hashtag2"]},{"1327429456":["hashtag1","hashtag2"]},{"1327429466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429468, 1327429462, 1327429456, 1327429466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25156235694885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:56:02.068321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 09:56:21.732738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0003.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0000.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0001.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0003.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0000.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0001.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.019495964050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:57:02.752224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0003.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0000.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0001.jpg', '/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/55/image_08012025_09_55_03_030792_0003.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0000.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0001.jpg
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327429541","1327429545","1327429539","1327429548"],"photo_ids_order":["1327429539","1327429541","1327429545","1327429548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8da541ccad3467064bd0449488e61f08.jpg","text":"TemporaryFile(/tmp/multipartBody4263239829192224125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326693222,"filename":"image_08012025_09_56_02_516290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd3b1fb0e5b4f7cf36443bb109640f22.jpg","text":"TemporaryFile(/tmp/multipartBody5232850043901806263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326693222,"filename":"image_08012025_09_56_02_516290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9408a6070f057332854d5d4b09ef3423.jpg","text":"TemporaryFile(/tmp/multipartBody1076909660346575742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326693222,"filename":"image_08012025_09_55_03_030792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4eb6b713bae3b0b9012fc64b733088f3.jpg","text":"TemporaryFile(/tmp/multipartBody6010410679718063473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326693222,"filename":"image_08012025_09_56_02_516290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327429545","file1":"1327429541","file0":"1327429539","file3":"1327429548"},"map_files_photo_id_array":[{"photo_id":"1327429545","filename":"file2"},{"photo_id":"1327429541","filename":"file1"},{"photo_id":"1327429539","filename":"file0"},{"photo_id":"1327429548","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327429541":["hashtag1","hashtag2"]},{"1327429545":["hashtag1","hashtag2"]},{"1327429539":["hashtag1","hashtag2"]},{"1327429548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327429541, 1327429545, 1327429539, 1327429548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51147174835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 09:59:02.949655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0003.jpg', '/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0000.jpg', '/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0001.jpg', '/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/56/image_08012025_09_56_02_516290_0003.jpg
/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0000.jpg
/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0001.jpg
/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327430240","1327430270","1327430263","1327430232"],"photo_ids_order":["1327430232","1327430240","1327430263","1327430270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2325c671e97ab5189e7a7764cc0b8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody7283689874529515980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326813385,"filename":"image_08012025_09_57_02_079197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/390033a8e0775831fb7681f8b060f8ee.jpg","text":"TemporaryFile(/tmp/multipartBody4707366612958472537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326813385,"filename":"image_08012025_09_57_02_079197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dabdbd633b16eec6f13424e9567bcb8.jpg","text":"TemporaryFile(/tmp/multipartBody573328587087821010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326813385,"filename":"image_08012025_09_57_02_079197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/572458d9b7e2ae4179df297905ad3ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3237076818718509034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326813385,"filename":"image_08012025_09_56_02_516290_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327430263","file1":"1327430240","file0":"1327430232","file3":"1327430270"},"map_files_photo_id_array":[{"photo_id":"1327430263","filename":"file2"},{"photo_id":"1327430240","filename":"file1"},{"photo_id":"1327430232","filename":"file0"},{"photo_id":"1327430270","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327430240":["hashtag1","hashtag2"]},{"1327430270":["hashtag1","hashtag2"]},{"1327430263":["hashtag1","hashtag2"]},{"1327430232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327430240, 1327430270, 1327430263, 1327430232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33956789970398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 09:59:42.267141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0003.jpg', '/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0000.jpg', '/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0001.jpg', '/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0002.jpg', '/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0003.jpg', '/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/57/image_08012025_09_57_02_079197_0003.jpg
/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0000.jpg
/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0001.jpg
/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0002.jpg
/home/pi/Desktop/images/08012025/09/58/image_08012025_09_58_02_727766_0003.jpg
/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_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":["1327430477","1327430459","1327430501","1327430512","1327430506","1327430496"],"photo_ids_order":["1327430459","1327430477","1327430496","1327430501","1327430506","1327430512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc83a17cc305b27c4377e5da963f4309.jpg","text":"TemporaryFile(/tmp/multipartBody4415938251241424936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_58_02_727766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b923a6b0de325eb84fcfd9a836cd669f.jpg","text":"TemporaryFile(/tmp/multipartBody4662499268845701940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_57_02_079197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83f0fbbe6ca549696624c1b573b8954f.jpg","text":"TemporaryFile(/tmp/multipartBody5718517412806423419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_58_02_727766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3dd8d3abfb6020548ba3c3f3d50d67c9.jpg","text":"TemporaryFile(/tmp/multipartBody6115906224241832400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_59_02_451020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/517b408cc36112de7222a1fd261734cb.jpg","text":"TemporaryFile(/tmp/multipartBody1267171464635026489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_58_02_727766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bbf435c8e4538e0f0f8fa6fdac6850b.jpg","text":"TemporaryFile(/tmp/multipartBody5411151844594775994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326857478,"filename":"image_08012025_09_58_02_727766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327430496","file1":"1327430477","file0":"1327430459","file4":"1327430506","file5":"1327430512","file3":"1327430501"},"map_files_photo_id_array":[{"photo_id":"1327430512","filename":"file5"},{"photo_id":"1327430496","filename":"file2"},{"photo_id":"1327430506","filename":"file4"},{"photo_id":"1327430477","filename":"file1"},{"photo_id":"1327430459","filename":"file0"},{"photo_id":"1327430501","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327430477":["hashtag1","hashtag2"]},{"1327430459":["hashtag1","hashtag2"]},{"1327430501":["hashtag1","hashtag2"]},{"1327430512":["hashtag1","hashtag2"]},{"1327430506":["hashtag1","hashtag2"]},{"1327430496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327430477, 1327430459, 1327430501, 1327430512, 1327430506, 1327430496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.046751260757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 10:00:42.560940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0001.jpg', '/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0002.jpg', '/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0003.jpg', '/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0000.jpg', '/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0001.jpg', '/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0001.jpg
/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0002.jpg
/home/pi/Desktop/images/08012025/09/59/image_08012025_09_59_02_451020_0003.jpg
/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0000.jpg
/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0001.jpg
/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327430540","1327430537","1327430603","1327430542","1327430545","1327430536"],"photo_ids_order":["1327430536","1327430537","1327430540","1327430542","1327430545","1327430603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/461a2e953a5b3c88b16deb7fdcf83251.jpg","text":"TemporaryFile(/tmp/multipartBody3688359777152355381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_09_59_02_451020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b98f28fec2cf0ed52a019f10e4ac436.jpg","text":"TemporaryFile(/tmp/multipartBody6631516290467516512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_09_59_02_451020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9eb512ba067aa5e6302c140c8e4b905.jpg","text":"TemporaryFile(/tmp/multipartBody2646901590512754678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_10_00_02_717562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/331e62c837d94c791927bb9ddc13022f.jpg","text":"TemporaryFile(/tmp/multipartBody5557916818848805070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_10_00_02_717562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ebf650a501c6d89837070a54c7ff31d.jpg","text":"TemporaryFile(/tmp/multipartBody7512096098408457704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_10_00_02_717562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4464cb573a931e85204d789b252dd453.jpg","text":"TemporaryFile(/tmp/multipartBody3826077874696338164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326917627,"filename":"image_08012025_09_59_02_451020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327430540","file1":"1327430537","file0":"1327430536","file4":"1327430545","file5":"1327430603","file3":"1327430542"},"map_files_photo_id_array":[{"photo_id":"1327430603","filename":"file5"},{"photo_id":"1327430540","filename":"file2"},{"photo_id":"1327430545","filename":"file4"},{"photo_id":"1327430537","filename":"file1"},{"photo_id":"1327430536","filename":"file0"},{"photo_id":"1327430542","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327430540":["hashtag1","hashtag2"]},{"1327430537":["hashtag1","hashtag2"]},{"1327430603":["hashtag1","hashtag2"]},{"1327430542":["hashtag1","hashtag2"]},{"1327430545":["hashtag1","hashtag2"]},{"1327430536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327430540, 1327430537, 1327430603, 1327430542, 1327430545, 1327430536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.036176681518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 10:01:42.718301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0003.jpg', '/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0000.jpg', '/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0001.jpg', '/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/00/image_08012025_10_00_02_717562_0003.jpg
/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0000.jpg
/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0001.jpg
/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327432360","1327432363","1327432320","1327432355"],"photo_ids_order":["1327432320","1327432355","1327432360","1327432363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/113d38dcd04c920d4d223c34bfe75e07.jpg","text":"TemporaryFile(/tmp/multipartBody5889892559956822552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326973020,"filename":"image_08012025_10_01_02_896893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49fc1a0b8704eee3947542d97f82ff03.jpg","text":"TemporaryFile(/tmp/multipartBody1882056596646642940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326973020,"filename":"image_08012025_10_01_02_896893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ace492a3c992f07ba9ee8ced0fe5505a.jpg","text":"TemporaryFile(/tmp/multipartBody1718264817058021120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326973020,"filename":"image_08012025_10_00_02_717562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f19d3e94d82a8d7c8fdde421b94e4aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7729854815869500881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736326973020,"filename":"image_08012025_10_01_02_896893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327432360","file1":"1327432355","file0":"1327432320","file3":"1327432363"},"map_files_photo_id_array":[{"photo_id":"1327432360","filename":"file2"},{"photo_id":"1327432355","filename":"file1"},{"photo_id":"1327432320","filename":"file0"},{"photo_id":"1327432363","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327432360":["hashtag1","hashtag2"]},{"1327432363":["hashtag1","hashtag2"]},{"1327432320":["hashtag1","hashtag2"]},{"1327432355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327432360, 1327432363, 1327432320, 1327432355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.762797117233276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 10:02:31.798059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0003.jpg', '/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0000.jpg', '/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0001.jpg', '/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/01/image_08012025_10_01_02_896893_0003.jpg
/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0000.jpg
/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0001.jpg
/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327432573","1327432612","1327432609","1327432816"],"photo_ids_order":["1327432573","1327432609","1327432612","1327432816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4a849d29be5bd742f3537947e87a415.jpg","text":"TemporaryFile(/tmp/multipartBody1798722518894230992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327022129,"filename":"image_08012025_10_01_02_896893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b3a819afcac081b9c1b98376471342f.jpg","text":"TemporaryFile(/tmp/multipartBody7379266802356806606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327022129,"filename":"image_08012025_10_02_03_035261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3afd24dd8dee207965ff8c210f45cf39.jpg","text":"TemporaryFile(/tmp/multipartBody3979470173707089584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327022129,"filename":"image_08012025_10_02_03_035261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/268c3b5a4ec1d84d8037cd5df9d6e559.jpg","text":"TemporaryFile(/tmp/multipartBody5293246324927400577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327022129,"filename":"image_08012025_10_02_03_035261_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327432612","file1":"1327432609","file0":"1327432573","file3":"1327432816"},"map_files_photo_id_array":[{"photo_id":"1327432612","filename":"file2"},{"photo_id":"1327432609","filename":"file1"},{"photo_id":"1327432573","filename":"file0"},{"photo_id":"1327432816","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327432573":["hashtag1","hashtag2"]},{"1327432612":["hashtag1","hashtag2"]},{"1327432609":["hashtag1","hashtag2"]},{"1327432816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327432573, 1327432612, 1327432609, 1327432816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53570055961609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:03:22.016448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0003.jpg', '/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0000.jpg', '/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0001.jpg', '/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/02/image_08012025_10_02_03_035261_0003.jpg
/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0000.jpg
/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0001.jpg
/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433133","1327433127","1327433132","1327433129"],"photo_ids_order":["1327433127","1327433129","1327433132","1327433133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e0b1ac2debfc89f7fec09916e35b88a.jpg","text":"TemporaryFile(/tmp/multipartBody6446692240110593986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327072183,"filename":"image_08012025_10_03_02_168910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f1226d1b57b4a2108724779003e0bac.jpg","text":"TemporaryFile(/tmp/multipartBody2345499657933774115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327072183,"filename":"image_08012025_10_02_03_035261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc0927745ddf9589b33e4c9a15d2d216.jpg","text":"TemporaryFile(/tmp/multipartBody7953025437776895373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327072183,"filename":"image_08012025_10_03_02_168910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26bec94f76b1cfeac1c42a3d5532791f.jpg","text":"TemporaryFile(/tmp/multipartBody4122773017945057630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327072183,"filename":"image_08012025_10_03_02_168910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433132","file1":"1327433129","file0":"1327433127","file3":"1327433133"},"map_files_photo_id_array":[{"photo_id":"1327433132","filename":"file2"},{"photo_id":"1327433129","filename":"file1"},{"photo_id":"1327433127","filename":"file0"},{"photo_id":"1327433133","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433133":["hashtag1","hashtag2"]},{"1327433127":["hashtag1","hashtag2"]},{"1327433132":["hashtag1","hashtag2"]},{"1327433129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433133, 1327433127, 1327433132, 1327433129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14681553840637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:04:22.178558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0003.jpg', '/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0000.jpg', '/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0001.jpg', '/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/03/image_08012025_10_03_02_168910_0003.jpg
/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0000.jpg
/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0001.jpg
/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433187","1327433175","1327433180","1327433183"],"photo_ids_order":["1327433175","1327433180","1327433183","1327433187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb35f2bf27def4da8f143abfebc9842b.jpg","text":"TemporaryFile(/tmp/multipartBody8705963037512027221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327132539,"filename":"image_08012025_10_04_02_475565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b83dba8907a3588721ae453f1bfb0996.jpg","text":"TemporaryFile(/tmp/multipartBody6414802052485037530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327132539,"filename":"image_08012025_10_03_02_168910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/277f49692cb12ada63670ca000d09376.jpg","text":"TemporaryFile(/tmp/multipartBody8972758515499249736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327132539,"filename":"image_08012025_10_04_02_475565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee2d3e1cbb1b63b184517e75923f6a14.jpg","text":"TemporaryFile(/tmp/multipartBody8251734738597264673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327132539,"filename":"image_08012025_10_04_02_475565_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433183","file1":"1327433180","file0":"1327433175","file3":"1327433187"},"map_files_photo_id_array":[{"photo_id":"1327433183","filename":"file2"},{"photo_id":"1327433180","filename":"file1"},{"photo_id":"1327433175","filename":"file0"},{"photo_id":"1327433187","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433187":["hashtag1","hashtag2"]},{"1327433175":["hashtag1","hashtag2"]},{"1327433180":["hashtag1","hashtag2"]},{"1327433183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433187, 1327433175, 1327433180, 1327433183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41117882728577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:05:03.056123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:05:22.343419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0003.jpg', '/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0000.jpg', '/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0001.jpg', '/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/04/image_08012025_10_04_02_475565_0003.jpg
/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0000.jpg
/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0001.jpg
/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433224","1327433211","1327433216","1327433204"],"photo_ids_order":["1327433204","1327433211","1327433216","1327433224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63eff78d86ce9130121773d162bec18a.jpg","text":"TemporaryFile(/tmp/multipartBody5532292516687850102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327192713,"filename":"image_08012025_10_05_02_593443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84093905ec6c8c90a3c80dba183d7f55.jpg","text":"TemporaryFile(/tmp/multipartBody2632382567724366779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327192713,"filename":"image_08012025_10_05_02_593443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96dd8353c27ae2878f198d77c115f6a5.jpg","text":"TemporaryFile(/tmp/multipartBody771256495804988569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327192713,"filename":"image_08012025_10_05_02_593443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/634372db621ce9483498f832dd2ff9be.jpg","text":"TemporaryFile(/tmp/multipartBody785166360213459864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327192713,"filename":"image_08012025_10_04_02_475565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433216","file1":"1327433211","file0":"1327433204","file3":"1327433224"},"map_files_photo_id_array":[{"photo_id":"1327433216","filename":"file2"},{"photo_id":"1327433211","filename":"file1"},{"photo_id":"1327433204","filename":"file0"},{"photo_id":"1327433224","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433224":["hashtag1","hashtag2"]},{"1327433211":["hashtag1","hashtag2"]},{"1327433216":["hashtag1","hashtag2"]},{"1327433204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433224, 1327433211, 1327433216, 1327433204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63199234008789 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-08 10:06:22.583663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0003.jpg', '/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0000.jpg', '/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0001.jpg', '/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/05/image_08012025_10_05_02_593443_0003.jpg
/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0000.jpg
/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0001.jpg
/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433316","1327433270","1327433312","1327433309"],"photo_ids_order":["1327433270","1327433309","1327433312","1327433316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bd8ca6bb813be10dbd533df25355ad4.jpg","text":"TemporaryFile(/tmp/multipartBody51633306020563049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327252863,"filename":"image_08012025_10_06_02_721413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c42179b04ae754b994553e9b7cd2f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody740609960881413363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327252863,"filename":"image_08012025_10_05_02_593443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5c71af423db0909d8248a4e86fe5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8466830490423190399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327252863,"filename":"image_08012025_10_06_02_721413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4140933c79cbfe60042b6bdbecb2588.jpg","text":"TemporaryFile(/tmp/multipartBody3267357123315426912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327252863,"filename":"image_08012025_10_06_02_721413_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433312","file1":"1327433309","file0":"1327433270","file3":"1327433316"},"map_files_photo_id_array":[{"photo_id":"1327433312","filename":"file2"},{"photo_id":"1327433309","filename":"file1"},{"photo_id":"1327433270","filename":"file0"},{"photo_id":"1327433316","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433316":["hashtag1","hashtag2"]},{"1327433270":["hashtag1","hashtag2"]},{"1327433312":["hashtag1","hashtag2"]},{"1327433309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433316, 1327433270, 1327433312, 1327433309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30255675315857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:07:03.165786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:07:22.732907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0003.jpg', '/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0000.jpg', '/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0001.jpg', '/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/06/image_08012025_10_06_02_721413_0003.jpg
/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0000.jpg
/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0001.jpg
/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433344","1327433352","1327433375","1327433348"],"photo_ids_order":["1327433344","1327433348","1327433352","1327433375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3c64fee948a31264669b2e6041addfa.jpg","text":"TemporaryFile(/tmp/multipartBody5064521994299819654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327313129,"filename":"image_08012025_10_06_02_721413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efe8e7f48d0d007d336815fe215a8b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8311738356401850310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327313129,"filename":"image_08012025_10_07_02_905229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d7eb7b91cbd7a34b375db83df49f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody8248009604442213764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327313129,"filename":"image_08012025_10_07_02_905229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0929bf2f7829e625abeb1079905a3af7.jpg","text":"TemporaryFile(/tmp/multipartBody3029997138631268437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327313129,"filename":"image_08012025_10_07_02_905229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433352","file1":"1327433348","file0":"1327433344","file3":"1327433375"},"map_files_photo_id_array":[{"photo_id":"1327433352","filename":"file2"},{"photo_id":"1327433348","filename":"file1"},{"photo_id":"1327433344","filename":"file0"},{"photo_id":"1327433375","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433344":["hashtag1","hashtag2"]},{"1327433352":["hashtag1","hashtag2"]},{"1327433375":["hashtag1","hashtag2"]},{"1327433348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433344, 1327433352, 1327433375, 1327433348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10710668563843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:08:21.906026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0003.jpg', '/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0000.jpg', '/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0001.jpg', '/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/07/image_08012025_10_07_02_905229_0003.jpg
/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0000.jpg
/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0001.jpg
/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433551","1327433547","1327433538","1327433543"],"photo_ids_order":["1327433538","1327433543","1327433547","1327433551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb89e3f8e2771dec7748af2ca6d426ce.jpg","text":"TemporaryFile(/tmp/multipartBody3937343609569959281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327372240,"filename":"image_08012025_10_08_03_074290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81e2ad3c8133dee7e8c5f4d09f9c8d85.jpg","text":"TemporaryFile(/tmp/multipartBody8854521040767659699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327372240,"filename":"image_08012025_10_08_03_074290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2484d5e5d82acbe51243de2a9aaed76.jpg","text":"TemporaryFile(/tmp/multipartBody8076559269870034581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327372240,"filename":"image_08012025_10_07_02_905229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d082ab966a1fe8d06f680e6bf862b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1112517893461285199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327372240,"filename":"image_08012025_10_08_03_074290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433547","file1":"1327433543","file0":"1327433538","file3":"1327433551"},"map_files_photo_id_array":[{"photo_id":"1327433547","filename":"file2"},{"photo_id":"1327433543","filename":"file1"},{"photo_id":"1327433538","filename":"file0"},{"photo_id":"1327433551","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433551":["hashtag1","hashtag2"]},{"1327433547":["hashtag1","hashtag2"]},{"1327433538":["hashtag1","hashtag2"]},{"1327433543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433551, 1327433547, 1327433538, 1327433543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06253170967102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:09:22.161374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0003.jpg', '/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0000.jpg', '/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0001.jpg', '/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/08/image_08012025_10_08_03_074290_0003.jpg
/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0000.jpg
/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0001.jpg
/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433571","1327433574","1327433577","1327433567"],"photo_ids_order":["1327433567","1327433571","1327433574","1327433577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/596285bb6a104f2c222a18115b1901c6.jpg","text":"TemporaryFile(/tmp/multipartBody2753327119142329029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327432458,"filename":"image_08012025_10_09_02_307278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c017cb3bc64bbc2bfaccf04b4e6a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody6148968882703030973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327432458,"filename":"image_08012025_10_09_02_307278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ac9c6fb98d133d6a4bef1a5c3110cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3610601907450913123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327432458,"filename":"image_08012025_10_09_02_307278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1675cdcec36c3ca62ed5c8445f910c80.jpg","text":"TemporaryFile(/tmp/multipartBody8085816974762340977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327432458,"filename":"image_08012025_10_08_03_074290_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433574","file1":"1327433571","file0":"1327433567","file3":"1327433577"},"map_files_photo_id_array":[{"photo_id":"1327433574","filename":"file2"},{"photo_id":"1327433571","filename":"file1"},{"photo_id":"1327433567","filename":"file0"},{"photo_id":"1327433577","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433571":["hashtag1","hashtag2"]},{"1327433574":["hashtag1","hashtag2"]},{"1327433577":["hashtag1","hashtag2"]},{"1327433567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433571, 1327433574, 1327433577, 1327433567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.082387924194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:10:02.571961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:10:22.226072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0003.jpg', '/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0000.jpg', '/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0001.jpg', '/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/09/image_08012025_10_09_02_307278_0003.jpg
/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0000.jpg
/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0001.jpg
/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433650","1327433685","1327433681","1327433645"],"photo_ids_order":["1327433645","1327433650","1327433681","1327433685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/feac6d2c997fa5fcdaeac012fd21942e.jpg","text":"TemporaryFile(/tmp/multipartBody5649619768943369919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327492489,"filename":"image_08012025_10_10_02_501225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8191db855a6cf2b8c9266d25d79315e.jpg","text":"TemporaryFile(/tmp/multipartBody2297941242368174154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327492489,"filename":"image_08012025_10_10_02_501225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e2b4c4ba2ca60d8bb80b5b72e0f31e7.jpg","text":"TemporaryFile(/tmp/multipartBody8470969392593902150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327492489,"filename":"image_08012025_10_10_02_501225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d530640abf3ebfaebf91b7dcd5020651.jpg","text":"TemporaryFile(/tmp/multipartBody716558432216128809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327492489,"filename":"image_08012025_10_09_02_307278_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433681","file1":"1327433650","file0":"1327433645","file3":"1327433685"},"map_files_photo_id_array":[{"photo_id":"1327433681","filename":"file2"},{"photo_id":"1327433650","filename":"file1"},{"photo_id":"1327433645","filename":"file0"},{"photo_id":"1327433685","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433650":["hashtag1","hashtag2"]},{"1327433685":["hashtag1","hashtag2"]},{"1327433681":["hashtag1","hashtag2"]},{"1327433645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433650, 1327433685, 1327433681, 1327433645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5743145942688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:11:03.039319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:11:22.444378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0003.jpg', '/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0000.jpg', '/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0001.jpg', '/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/10/image_08012025_10_10_02_501225_0003.jpg
/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0000.jpg
/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0001.jpg
/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433737","1327433786","1327433783","1327433741"],"photo_ids_order":["1327433737","1327433741","1327433783","1327433786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f05cd8c0d752cae6a1ef0627daa5c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7566176549666442895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327552843,"filename":"image_08012025_10_10_02_501225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1bd1a7f927feed7114956b8297f52bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6350338204374563062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327552843,"filename":"image_08012025_10_11_02_648954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c234c01000c6f8cc62387c3d850451a.jpg","text":"TemporaryFile(/tmp/multipartBody4254251675336392485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327552843,"filename":"image_08012025_10_11_02_648954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6ae9e52ec63a041460aec99a53f3ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5222124370728476962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327552843,"filename":"image_08012025_10_11_02_648954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433783","file1":"1327433741","file0":"1327433737","file3":"1327433786"},"map_files_photo_id_array":[{"photo_id":"1327433783","filename":"file2"},{"photo_id":"1327433741","filename":"file1"},{"photo_id":"1327433737","filename":"file0"},{"photo_id":"1327433786","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433737":["hashtag1","hashtag2"]},{"1327433786":["hashtag1","hashtag2"]},{"1327433783":["hashtag1","hashtag2"]},{"1327433741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433737, 1327433786, 1327433783, 1327433741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30974364280701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:12:03.018586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:12:22.590014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0003.jpg', '/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0000.jpg', '/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0001.jpg', '/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/11/image_08012025_10_11_02_648954_0003.jpg
/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0000.jpg
/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0001.jpg
/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433821","1327433824","1327433818","1327433828"],"photo_ids_order":["1327433818","1327433821","1327433824","1327433828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c61e1caf0bb1b18e181165ccab3739f1.jpg","text":"TemporaryFile(/tmp/multipartBody1778601596646150914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327612972,"filename":"image_08012025_10_12_02_770272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/937434e8d6ac8de68887eb18de76db55.jpg","text":"TemporaryFile(/tmp/multipartBody4105730506321230121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327612972,"filename":"image_08012025_10_12_02_770272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cccab86723cb2ab8885a9c6927c5865c.jpg","text":"TemporaryFile(/tmp/multipartBody407769942537393119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327612972,"filename":"image_08012025_10_11_02_648954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cb743c71522dc9ddc025934bcdb5424.jpg","text":"TemporaryFile(/tmp/multipartBody2362379996627646456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327612972,"filename":"image_08012025_10_12_02_770272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433824","file1":"1327433821","file0":"1327433818","file3":"1327433828"},"map_files_photo_id_array":[{"photo_id":"1327433824","filename":"file2"},{"photo_id":"1327433821","filename":"file1"},{"photo_id":"1327433818","filename":"file0"},{"photo_id":"1327433828","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433821":["hashtag1","hashtag2"]},{"1327433824":["hashtag1","hashtag2"]},{"1327433818":["hashtag1","hashtag2"]},{"1327433828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433821, 1327433824, 1327433818, 1327433828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.71556234359741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:13:21.833128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0003.jpg', '/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0000.jpg', '/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0001.jpg', '/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/12/image_08012025_10_12_02_770272_0003.jpg
/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0000.jpg
/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0001.jpg
/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433856","1327433859","1327433844","1327433849"],"photo_ids_order":["1327433844","1327433849","1327433856","1327433859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c7bbd4ebd7240c027ed2da228b9740c.jpg","text":"TemporaryFile(/tmp/multipartBody3819018098228300777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327672071,"filename":"image_08012025_10_13_02_995854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/113d4f6dbd13f927c2aa6302b54d15dc.jpg","text":"TemporaryFile(/tmp/multipartBody3705345823430396703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327672071,"filename":"image_08012025_10_13_02_995854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5eb9ec3a07084da953e33a6a3f94341.jpg","text":"TemporaryFile(/tmp/multipartBody1434258175631199351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327672071,"filename":"image_08012025_10_12_02_770272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f09ba0b1536f7379660be82051f8f36.jpg","text":"TemporaryFile(/tmp/multipartBody6685634816161768687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327672071,"filename":"image_08012025_10_13_02_995854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433856","file1":"1327433849","file0":"1327433844","file3":"1327433859"},"map_files_photo_id_array":[{"photo_id":"1327433856","filename":"file2"},{"photo_id":"1327433849","filename":"file1"},{"photo_id":"1327433844","filename":"file0"},{"photo_id":"1327433859","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433856":["hashtag1","hashtag2"]},{"1327433859":["hashtag1","hashtag2"]},{"1327433844":["hashtag1","hashtag2"]},{"1327433849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433856, 1327433859, 1327433844, 1327433849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.607242584228516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:14:02.347270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:14:22.076238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0003.jpg', '/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0000.jpg', '/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0001.jpg', '/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/13/image_08012025_10_13_02_995854_0003.jpg
/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0000.jpg
/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0001.jpg
/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327433910","1327433921","1327433918","1327433915"],"photo_ids_order":["1327433910","1327433915","1327433918","1327433921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc78656ff1473de9a62376e6f5ac9d53.jpg","text":"TemporaryFile(/tmp/multipartBody1041446319199321466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327732324,"filename":"image_08012025_10_13_02_995854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b7ca82e0c245e580ef01a02da40ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody5392173672960750407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327732324,"filename":"image_08012025_10_14_02_120684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/035a29e58c1017d2e88a4cf2e0d46a52.jpg","text":"TemporaryFile(/tmp/multipartBody4070467011097379553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327732324,"filename":"image_08012025_10_14_02_120684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d07247211dc8c907013dd37f05078ff.jpg","text":"TemporaryFile(/tmp/multipartBody8399604233592210296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327732324,"filename":"image_08012025_10_14_02_120684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327433918","file1":"1327433915","file0":"1327433910","file3":"1327433921"},"map_files_photo_id_array":[{"photo_id":"1327433918","filename":"file2"},{"photo_id":"1327433915","filename":"file1"},{"photo_id":"1327433910","filename":"file0"},{"photo_id":"1327433921","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327433910":["hashtag1","hashtag2"]},{"1327433921":["hashtag1","hashtag2"]},{"1327433918":["hashtag1","hashtag2"]},{"1327433915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327433910, 1327433921, 1327433918, 1327433915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47530269622803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:15:02.928344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:15:22.210278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0003.jpg', '/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0000.jpg', '/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0001.jpg', '/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/14/image_08012025_10_14_02_120684_0003.jpg
/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0000.jpg
/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0001.jpg
/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434296","1327434281","1327434287","1327434292"],"photo_ids_order":["1327434281","1327434287","1327434292","1327434296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f38829a7d033a2a3525bc4c7fb44666c.jpg","text":"TemporaryFile(/tmp/multipartBody4835265621081799729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327792426,"filename":"image_08012025_10_15_02_400055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93a5b3395ab6578f75be21939c79a8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1479169426839424011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327792426,"filename":"image_08012025_10_14_02_120684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8bfefd259438d96e62215186f15a556.jpg","text":"TemporaryFile(/tmp/multipartBody3088820882106555301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327792426,"filename":"image_08012025_10_15_02_400055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db07cf7ea6aebd326befca8e100e75f7.jpg","text":"TemporaryFile(/tmp/multipartBody2524021997200542270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327792426,"filename":"image_08012025_10_15_02_400055_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434292","file1":"1327434287","file0":"1327434281","file3":"1327434296"},"map_files_photo_id_array":[{"photo_id":"1327434292","filename":"file2"},{"photo_id":"1327434287","filename":"file1"},{"photo_id":"1327434281","filename":"file0"},{"photo_id":"1327434296","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434296":["hashtag1","hashtag2"]},{"1327434281":["hashtag1","hashtag2"]},{"1327434287":["hashtag1","hashtag2"]},{"1327434292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434296, 1327434281, 1327434287, 1327434292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.066099882125854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:16:02.689020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:16:22.365305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0003.jpg', '/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0000.jpg', '/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0001.jpg', '/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/15/image_08012025_10_15_02_400055_0003.jpg
/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0000.jpg
/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0001.jpg
/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434415","1327434453","1327434423","1327434448"],"photo_ids_order":["1327434415","1327434423","1327434448","1327434453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a76c7d341492773ebeb9de9be820f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1901699542761890614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327852546,"filename":"image_08012025_10_15_02_400055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1be94e169de88428f6048dca3873ae3a.jpg","text":"TemporaryFile(/tmp/multipartBody9057252948258990451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327852546,"filename":"image_08012025_10_16_02_557337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe5701f2d0cfea5996e389ccd108d489.jpg","text":"TemporaryFile(/tmp/multipartBody7380634449613193092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327852546,"filename":"image_08012025_10_16_02_557337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6f5e03af0a8e500191fe9b46a3fdd84.jpg","text":"TemporaryFile(/tmp/multipartBody4808684325659532784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327852546,"filename":"image_08012025_10_16_02_557337_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434448","file1":"1327434423","file0":"1327434415","file3":"1327434453"},"map_files_photo_id_array":[{"photo_id":"1327434448","filename":"file2"},{"photo_id":"1327434423","filename":"file1"},{"photo_id":"1327434415","filename":"file0"},{"photo_id":"1327434453","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434415":["hashtag1","hashtag2"]},{"1327434453":["hashtag1","hashtag2"]},{"1327434423":["hashtag1","hashtag2"]},{"1327434448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434415, 1327434453, 1327434423, 1327434448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.475974321365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:17:03.082648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:17:22.499651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0003.jpg', '/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0000.jpg', '/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0001.jpg', '/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/16/image_08012025_10_16_02_557337_0003.jpg
/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0000.jpg
/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0001.jpg
/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434537","1327434542","1327434545","1327434539"],"photo_ids_order":["1327434537","1327434539","1327434542","1327434545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/745a18bd9e5612aa7f9c3f901c1c5864.jpg","text":"TemporaryFile(/tmp/multipartBody5221863020420653880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327912742,"filename":"image_08012025_10_16_02_557337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58fb575bf82c1209e5fa29c98b1d2bfa.jpg","text":"TemporaryFile(/tmp/multipartBody556484778587755219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327912742,"filename":"image_08012025_10_17_02_727206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/637d9eb29ba12e5f0138e12c74364130.jpg","text":"TemporaryFile(/tmp/multipartBody528325139349064843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327912742,"filename":"image_08012025_10_17_02_727206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01fa3452679de4ade4f88339c6f0e89a.jpg","text":"TemporaryFile(/tmp/multipartBody1987849099152982510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327912742,"filename":"image_08012025_10_17_02_727206_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434542","file1":"1327434539","file0":"1327434537","file3":"1327434545"},"map_files_photo_id_array":[{"photo_id":"1327434542","filename":"file2"},{"photo_id":"1327434539","filename":"file1"},{"photo_id":"1327434537","filename":"file0"},{"photo_id":"1327434545","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434537":["hashtag1","hashtag2"]},{"1327434542":["hashtag1","hashtag2"]},{"1327434545":["hashtag1","hashtag2"]},{"1327434539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434537, 1327434542, 1327434545, 1327434539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93924331665039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:18:22.657227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0003.jpg', '/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0000.jpg', '/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0001.jpg', '/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/17/image_08012025_10_17_02_727206_0003.jpg
/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0000.jpg
/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0001.jpg
/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434588","1327434570","1327434577","1327434565"],"photo_ids_order":["1327434565","1327434570","1327434577","1327434588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9873a15f7c2b52cc8227f80416902ca6.jpg","text":"TemporaryFile(/tmp/multipartBody348917633846478613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327973069,"filename":"image_08012025_10_18_02_881975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b6f62252f85dee2ce7e71de12e25229.jpg","text":"TemporaryFile(/tmp/multipartBody5421112784669520205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327973069,"filename":"image_08012025_10_18_02_881975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53b55e46715c1a8953d9092bab513671.jpg","text":"TemporaryFile(/tmp/multipartBody1138521008106992974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327973069,"filename":"image_08012025_10_18_02_881975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5fd619222cdedf094f41226dd9ff2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4630690865559563207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736327973069,"filename":"image_08012025_10_17_02_727206_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434577","file1":"1327434570","file0":"1327434565","file3":"1327434588"},"map_files_photo_id_array":[{"photo_id":"1327434577","filename":"file2"},{"photo_id":"1327434570","filename":"file1"},{"photo_id":"1327434565","filename":"file0"},{"photo_id":"1327434588","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434588":["hashtag1","hashtag2"]},{"1327434570":["hashtag1","hashtag2"]},{"1327434577":["hashtag1","hashtag2"]},{"1327434565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434588, 1327434570, 1327434577, 1327434565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8193473815918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:19:21.856662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0003.jpg', '/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0000.jpg', '/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0001.jpg', '/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/18/image_08012025_10_18_02_881975_0003.jpg
/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0000.jpg
/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0001.jpg
/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434623","1327434617","1327434608","1327434613"],"photo_ids_order":["1327434608","1327434613","1327434617","1327434623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7948b6898ceca82cc855443fe36fedf6.jpg","text":"TemporaryFile(/tmp/multipartBody8698619011623191844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328032239,"filename":"image_08012025_10_19_02_979809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba7a80ce8a60932a269036d9724a01db.jpg","text":"TemporaryFile(/tmp/multipartBody5861730084202383177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328032239,"filename":"image_08012025_10_19_02_979809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b79ba8ebd1666905f2ace89bda1f094.jpg","text":"TemporaryFile(/tmp/multipartBody9025927536124685897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328032239,"filename":"image_08012025_10_18_02_881975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b00b5b253ab07a39652291c870b702c.jpg","text":"TemporaryFile(/tmp/multipartBody7604525004970857571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328032239,"filename":"image_08012025_10_19_02_979809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434617","file1":"1327434613","file0":"1327434608","file3":"1327434623"},"map_files_photo_id_array":[{"photo_id":"1327434617","filename":"file2"},{"photo_id":"1327434613","filename":"file1"},{"photo_id":"1327434608","filename":"file0"},{"photo_id":"1327434623","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434623":["hashtag1","hashtag2"]},{"1327434617":["hashtag1","hashtag2"]},{"1327434608":["hashtag1","hashtag2"]},{"1327434613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434623, 1327434617, 1327434608, 1327434613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66689729690552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:20:02.466531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:20:22.058477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0003.jpg', '/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0000.jpg', '/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0001.jpg', '/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/19/image_08012025_10_19_02_979809_0003.jpg
/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0000.jpg
/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0001.jpg
/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434774","1327434768","1327434779","1327434764"],"photo_ids_order":["1327434764","1327434768","1327434774","1327434779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc91d505cbdd744cfafb361615bd0247.jpg","text":"TemporaryFile(/tmp/multipartBody6100328016849964539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328092288,"filename":"image_08012025_10_20_02_314464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/574e00d3ec5509f1a95eba64bb52e16a.jpg","text":"TemporaryFile(/tmp/multipartBody6389424330382833468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328092288,"filename":"image_08012025_10_20_02_314464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d1ce3718cb83800f8a13e7efc96ad09.jpg","text":"TemporaryFile(/tmp/multipartBody2508267112135615370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328092288,"filename":"image_08012025_10_20_02_314464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3240ecee114f142be7ea5e1e1af0d625.jpg","text":"TemporaryFile(/tmp/multipartBody8496209328007723221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328092288,"filename":"image_08012025_10_19_02_979809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434774","file1":"1327434768","file0":"1327434764","file3":"1327434779"},"map_files_photo_id_array":[{"photo_id":"1327434774","filename":"file2"},{"photo_id":"1327434768","filename":"file1"},{"photo_id":"1327434764","filename":"file0"},{"photo_id":"1327434779","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434774":["hashtag1","hashtag2"]},{"1327434768":["hashtag1","hashtag2"]},{"1327434779":["hashtag1","hashtag2"]},{"1327434764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434774, 1327434768, 1327434779, 1327434764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15790390968323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:21:02.851569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:21:22.350631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0003.jpg', '/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0000.jpg', '/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0001.jpg', '/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/20/image_08012025_10_20_02_314464_0003.jpg
/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0000.jpg
/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0001.jpg
/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434903","1327434797","1327434899","1327434908"],"photo_ids_order":["1327434797","1327434899","1327434903","1327434908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5001550e8def42ca39fee5957ab7f195.jpg","text":"TemporaryFile(/tmp/multipartBody3219804814219193261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328152606,"filename":"image_08012025_10_21_02_396383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/558e72ed3958cfc23f146bcdc278a3df.jpg","text":"TemporaryFile(/tmp/multipartBody1389675572766120952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328152606,"filename":"image_08012025_10_20_02_314464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04d0d8d754193bbe05a0d915f5d100ef.jpg","text":"TemporaryFile(/tmp/multipartBody1240111320823358314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328152606,"filename":"image_08012025_10_21_02_396383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ccd287eaae62d3d93712acaf08e37206.jpg","text":"TemporaryFile(/tmp/multipartBody5913850902142099084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328152606,"filename":"image_08012025_10_21_02_396383_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434903","file1":"1327434899","file0":"1327434797","file3":"1327434908"},"map_files_photo_id_array":[{"photo_id":"1327434903","filename":"file2"},{"photo_id":"1327434899","filename":"file1"},{"photo_id":"1327434797","filename":"file0"},{"photo_id":"1327434908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434903":["hashtag1","hashtag2"]},{"1327434797":["hashtag1","hashtag2"]},{"1327434899":["hashtag1","hashtag2"]},{"1327434908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434903, 1327434797, 1327434899, 1327434908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.78376626968384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:22:02.756821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:22:22.440909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0003.jpg', '/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0000.jpg', '/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0001.jpg', '/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/21/image_08012025_10_21_02_396383_0003.jpg
/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0000.jpg
/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0001.jpg
/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327434993","1327434981","1327434962","1327434979"],"photo_ids_order":["1327434962","1327434979","1327434981","1327434993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4761ff7cbacb44db2b3aafe32112c7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3705190358558682515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328212759,"filename":"image_08012025_10_22_02_679511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5168f1ff2eac852505b0476c808b7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3682877759113052537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328212759,"filename":"image_08012025_10_22_02_679511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12f7ef70d6cf61289003b19f309c1aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1244094204134168827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328212759,"filename":"image_08012025_10_21_02_396383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db13113f3e80dccbdd890dddea0d0188.jpg","text":"TemporaryFile(/tmp/multipartBody4079728916932703100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328212759,"filename":"image_08012025_10_22_02_679511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327434981","file1":"1327434979","file0":"1327434962","file3":"1327434993"},"map_files_photo_id_array":[{"photo_id":"1327434981","filename":"file2"},{"photo_id":"1327434979","filename":"file1"},{"photo_id":"1327434962","filename":"file0"},{"photo_id":"1327434993","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327434993":["hashtag1","hashtag2"]},{"1327434981":["hashtag1","hashtag2"]},{"1327434962":["hashtag1","hashtag2"]},{"1327434979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327434993, 1327434981, 1327434962, 1327434979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4590802192688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:23:22.684810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0003.jpg', '/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0000.jpg', '/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0001.jpg', '/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/22/image_08012025_10_22_02_679511_0003.jpg
/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0000.jpg
/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0001.jpg
/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435049","1327435040","1327435045","1327435071"],"photo_ids_order":["1327435040","1327435045","1327435049","1327435071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a1f1ac15c0062a290f11ae7ef30bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody6558927583591080399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328273073,"filename":"image_08012025_10_23_02_782186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13c245a5e1cb1643bfab8936f87cc3bf.jpg","text":"TemporaryFile(/tmp/multipartBody8135565824126615162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328273073,"filename":"image_08012025_10_22_02_679511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bfa90b36216cb63a0111fdbb0707f32.jpg","text":"TemporaryFile(/tmp/multipartBody6660142652243532070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328273073,"filename":"image_08012025_10_23_02_782186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4362c2ee2ce953c3d4d253df753f03ba.jpg","text":"TemporaryFile(/tmp/multipartBody613606933611051693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328273073,"filename":"image_08012025_10_23_02_782186_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435049","file1":"1327435045","file0":"1327435040","file3":"1327435071"},"map_files_photo_id_array":[{"photo_id":"1327435049","filename":"file2"},{"photo_id":"1327435045","filename":"file1"},{"photo_id":"1327435040","filename":"file0"},{"photo_id":"1327435071","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435049":["hashtag1","hashtag2"]},{"1327435040":["hashtag1","hashtag2"]},{"1327435045":["hashtag1","hashtag2"]},{"1327435071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435049, 1327435040, 1327435045, 1327435071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15752553939819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:24:02.002044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:24:21.786532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0003.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0000.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0001.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0003.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0000.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0001.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.038320779800415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 10:24:41.736130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0003.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0000.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0001.jpg', '/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/23/image_08012025_10_23_02_782186_0003.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0000.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0001.jpg
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435287","1327435289","1327435283","1327435285"],"photo_ids_order":["1327435283","1327435285","1327435287","1327435289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18fb7f5df66169565ec762d2dfa671f1.jpg","text":"TemporaryFile(/tmp/multipartBody5250107772579142009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328352194,"filename":"image_08012025_10_24_02_954088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e1732c3584c582d5cc46771b2787da3.jpg","text":"TemporaryFile(/tmp/multipartBody1307644887614817500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328352194,"filename":"image_08012025_10_24_02_954088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2661054710fa965bf4768ef255f052e7.jpg","text":"TemporaryFile(/tmp/multipartBody5062117642017968465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328352194,"filename":"image_08012025_10_23_02_782186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d95b742effa5c357f652579dcb2cbec3.jpg","text":"TemporaryFile(/tmp/multipartBody1649299299042026669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328352194,"filename":"image_08012025_10_24_02_954088_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435287","file1":"1327435285","file0":"1327435283","file3":"1327435289"},"map_files_photo_id_array":[{"photo_id":"1327435287","filename":"file2"},{"photo_id":"1327435285","filename":"file1"},{"photo_id":"1327435283","filename":"file0"},{"photo_id":"1327435289","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435287":["hashtag1","hashtag2"]},{"1327435289":["hashtag1","hashtag2"]},{"1327435283":["hashtag1","hashtag2"]},{"1327435285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435287, 1327435289, 1327435283, 1327435285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86655354499817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 10:25:31.912226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0003.jpg', '/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0000.jpg', '/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0001.jpg', '/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/24/image_08012025_10_24_02_954088_0003.jpg
/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0000.jpg
/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0001.jpg
/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435376","1327435378","1327435363","1327435374"],"photo_ids_order":["1327435363","1327435374","1327435376","1327435378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77d6ba266ff2d4e75ba34cfad7032da8.jpg","text":"TemporaryFile(/tmp/multipartBody2037216395553051217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328402261,"filename":"image_08012025_10_25_02_171685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b623a57492586ace505f8f57e2f964e.jpg","text":"TemporaryFile(/tmp/multipartBody6191158183536081008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328402261,"filename":"image_08012025_10_25_02_171685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59ad0fe61233c77dade4f34bcd76af89.jpg","text":"TemporaryFile(/tmp/multipartBody5221861826713005268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328402261,"filename":"image_08012025_10_24_02_954088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a5ed964e79b3f1981e1ac2118b08e96.jpg","text":"TemporaryFile(/tmp/multipartBody7151756277905171860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328402261,"filename":"image_08012025_10_25_02_171685_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435376","file1":"1327435374","file0":"1327435363","file3":"1327435378"},"map_files_photo_id_array":[{"photo_id":"1327435376","filename":"file2"},{"photo_id":"1327435374","filename":"file1"},{"photo_id":"1327435363","filename":"file0"},{"photo_id":"1327435378","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435376":["hashtag1","hashtag2"]},{"1327435378":["hashtag1","hashtag2"]},{"1327435363":["hashtag1","hashtag2"]},{"1327435374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435376, 1327435378, 1327435363, 1327435374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91564130783081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:26:22.099430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0003.jpg', '/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0000.jpg', '/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0001.jpg', '/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/25/image_08012025_10_25_02_171685_0003.jpg
/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0000.jpg
/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0001.jpg
/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435446","1327435428","1327435424","1327435432"],"photo_ids_order":["1327435424","1327435428","1327435432","1327435446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12d12e4cc0dbeca3bb6b5b3f72297dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2386619640133953310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328452364,"filename":"image_08012025_10_26_02_315362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6c118176f82313cb7e3a1d0b93b795e.jpg","text":"TemporaryFile(/tmp/multipartBody7625666398574930955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328452364,"filename":"image_08012025_10_26_02_315362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7871ad2d0ccdce369bbb4480faa50f54.jpg","text":"TemporaryFile(/tmp/multipartBody1106035097305928533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328452364,"filename":"image_08012025_10_25_02_171685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1cff7dd4e35d743838c7bf1d929d169.jpg","text":"TemporaryFile(/tmp/multipartBody2542823483146702170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328452364,"filename":"image_08012025_10_26_02_315362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435432","file1":"1327435428","file0":"1327435424","file3":"1327435446"},"map_files_photo_id_array":[{"photo_id":"1327435432","filename":"file2"},{"photo_id":"1327435428","filename":"file1"},{"photo_id":"1327435424","filename":"file0"},{"photo_id":"1327435446","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435446":["hashtag1","hashtag2"]},{"1327435428":["hashtag1","hashtag2"]},{"1327435424":["hashtag1","hashtag2"]},{"1327435432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435446, 1327435428, 1327435424, 1327435432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.96750354766846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:27:02.864988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:27:22.374400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0003.jpg', '/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0000.jpg', '/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0001.jpg', '/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/26/image_08012025_10_26_02_315362_0003.jpg
/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0000.jpg
/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0001.jpg
/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435563","1327435565","1327435492","1327435560"],"photo_ids_order":["1327435492","1327435560","1327435563","1327435565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01b335cc8822a0ecd71b82a9e131b2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7644242617251499805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328512780,"filename":"image_08012025_10_27_02_452378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f658c41b4e5ca46382204c8e11fca27c.jpg","text":"TemporaryFile(/tmp/multipartBody5178757268888379114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328512780,"filename":"image_08012025_10_27_02_452378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf8d754624d4d2cfa5049213f20d46ac.jpg","text":"TemporaryFile(/tmp/multipartBody3691944474549408047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328512780,"filename":"image_08012025_10_26_02_315362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6d5200d0e41743768fb6339ce03697c.jpg","text":"TemporaryFile(/tmp/multipartBody228312155862864737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328512780,"filename":"image_08012025_10_27_02_452378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435563","file1":"1327435560","file0":"1327435492","file3":"1327435565"},"map_files_photo_id_array":[{"photo_id":"1327435563","filename":"file2"},{"photo_id":"1327435560","filename":"file1"},{"photo_id":"1327435492","filename":"file0"},{"photo_id":"1327435565","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435563":["hashtag1","hashtag2"]},{"1327435565":["hashtag1","hashtag2"]},{"1327435492":["hashtag1","hashtag2"]},{"1327435560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435563, 1327435565, 1327435492, 1327435560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76112222671509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:28:22.454522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0003.jpg', '/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0000.jpg', '/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0001.jpg', '/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/27/image_08012025_10_27_02_452378_0003.jpg
/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0000.jpg
/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0001.jpg
/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435605","1327435591","1327435621","1327435618"],"photo_ids_order":["1327435591","1327435605","1327435618","1327435621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8e172a87488b91416e83387fd1d7077.jpg","text":"TemporaryFile(/tmp/multipartBody3128052882869128081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328572798,"filename":"image_08012025_10_28_02_615939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44abe3bff37c60f7309b2064e7db1125.jpg","text":"TemporaryFile(/tmp/multipartBody8621489404870304035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328572798,"filename":"image_08012025_10_27_02_452378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd6c732bda04950dfc62f760cb84eeff.jpg","text":"TemporaryFile(/tmp/multipartBody2205660918851198047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328572798,"filename":"image_08012025_10_28_02_615939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2543a7341cd883c77b1306aad234397c.jpg","text":"TemporaryFile(/tmp/multipartBody3032860749732686333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328572798,"filename":"image_08012025_10_28_02_615939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435618","file1":"1327435605","file0":"1327435591","file3":"1327435621"},"map_files_photo_id_array":[{"photo_id":"1327435618","filename":"file2"},{"photo_id":"1327435605","filename":"file1"},{"photo_id":"1327435591","filename":"file0"},{"photo_id":"1327435621","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435605":["hashtag1","hashtag2"]},{"1327435591":["hashtag1","hashtag2"]},{"1327435621":["hashtag1","hashtag2"]},{"1327435618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435605, 1327435591, 1327435621, 1327435618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24414348602295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:29:03.392612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:29:22.742517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0003.jpg', '/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0000.jpg', '/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0001.jpg', '/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/28/image_08012025_10_28_02_615939_0003.jpg
/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0000.jpg
/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0001.jpg
/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435721","1327435840","1327435858","1327435726"],"photo_ids_order":["1327435721","1327435726","1327435840","1327435858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae62b370b7a0432eeeaf95383c245f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1588968891847947921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328633325,"filename":"image_08012025_10_28_02_615939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cbb05cdebebfa034f5d3037302c34e0.jpg","text":"TemporaryFile(/tmp/multipartBody7477147655062723250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328633325,"filename":"image_08012025_10_29_02_887404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a7d9ed1b8dc98ecbf42526229f4079b.jpg","text":"TemporaryFile(/tmp/multipartBody8932978429651032942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328633325,"filename":"image_08012025_10_29_02_887404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b28d27a18430067aa3f260925d330680.jpg","text":"TemporaryFile(/tmp/multipartBody2491548694255233203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328633325,"filename":"image_08012025_10_29_02_887404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435840","file1":"1327435726","file0":"1327435721","file3":"1327435858"},"map_files_photo_id_array":[{"photo_id":"1327435840","filename":"file2"},{"photo_id":"1327435726","filename":"file1"},{"photo_id":"1327435721","filename":"file0"},{"photo_id":"1327435858","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435721":["hashtag1","hashtag2"]},{"1327435840":["hashtag1","hashtag2"]},{"1327435858":["hashtag1","hashtag2"]},{"1327435726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435721, 1327435840, 1327435858, 1327435726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43992257118225 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-08 10:30:21.862467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0003.jpg', '/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0000.jpg', '/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0001.jpg', '/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/29/image_08012025_10_29_02_887404_0003.jpg
/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0000.jpg
/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0001.jpg
/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327435941","1327435937","1327435931","1327435945"],"photo_ids_order":["1327435931","1327435937","1327435941","1327435945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e19ada5176c77c7f889c036e34f5b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2627100009970264089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328692381,"filename":"image_08012025_10_30_02_987234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7d83a2b36a1a5568366c0516a10af21.jpg","text":"TemporaryFile(/tmp/multipartBody1571672851090885824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328692381,"filename":"image_08012025_10_30_02_987234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/78774cd1a5c2441667a6f8f682fa54b7.jpg","text":"TemporaryFile(/tmp/multipartBody5117060365209579629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328692381,"filename":"image_08012025_10_29_02_887404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36ab69c6b097f23cd7ea079a0731ccea.jpg","text":"TemporaryFile(/tmp/multipartBody4783231945636260378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328692381,"filename":"image_08012025_10_30_02_987234_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327435941","file1":"1327435937","file0":"1327435931","file3":"1327435945"},"map_files_photo_id_array":[{"photo_id":"1327435941","filename":"file2"},{"photo_id":"1327435937","filename":"file1"},{"photo_id":"1327435931","filename":"file0"},{"photo_id":"1327435945","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327435941":["hashtag1","hashtag2"]},{"1327435937":["hashtag1","hashtag2"]},{"1327435931":["hashtag1","hashtag2"]},{"1327435945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327435941, 1327435937, 1327435931, 1327435945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4182448387146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:31:02.630136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:31:21.926091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0003.jpg', '/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0000.jpg', '/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0001.jpg', '/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/30/image_08012025_10_30_02_987234_0003.jpg
/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0000.jpg
/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0001.jpg
/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436090","1327436066","1327436042","1327436051"],"photo_ids_order":["1327436042","1327436051","1327436066","1327436090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6cb9fe1fe5d118b7596cb2f04a13b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6304847506794342419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328752225,"filename":"image_08012025_10_31_02_177582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e76fb5c69e6be349ad79f120049b9f93.jpg","text":"TemporaryFile(/tmp/multipartBody3074814884988080577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328752225,"filename":"image_08012025_10_31_02_177582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8c0bdf436f3e78afcefab1152269ab6.jpg","text":"TemporaryFile(/tmp/multipartBody5809324608332884774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328752225,"filename":"image_08012025_10_30_02_987234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a2721cafb7eceb8a5e8d96321381dec.jpg","text":"TemporaryFile(/tmp/multipartBody8314870588875475707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328752225,"filename":"image_08012025_10_31_02_177582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436066","file1":"1327436051","file0":"1327436042","file3":"1327436090"},"map_files_photo_id_array":[{"photo_id":"1327436066","filename":"file2"},{"photo_id":"1327436051","filename":"file1"},{"photo_id":"1327436042","filename":"file0"},{"photo_id":"1327436090","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436090":["hashtag1","hashtag2"]},{"1327436066":["hashtag1","hashtag2"]},{"1327436042":["hashtag1","hashtag2"]},{"1327436051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436090, 1327436066, 1327436042, 1327436051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53787159919739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:32:02.608363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:32:22.203760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0003.jpg', '/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0000.jpg', '/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0001.jpg', '/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/31/image_08012025_10_31_02_177582_0003.jpg
/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0000.jpg
/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0001.jpg
/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436114","1327436119","1327436139","1327436133"],"photo_ids_order":["1327436114","1327436119","1327436133","1327436139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d87ad94c03119d5b3c2e8b05c11ec0ee.jpg","text":"TemporaryFile(/tmp/multipartBody8705352192130716769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328812536,"filename":"image_08012025_10_31_02_177582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a46a03d502cb6bbc7103b401fc4f604.jpg","text":"TemporaryFile(/tmp/multipartBody2587477862763776873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328812536,"filename":"image_08012025_10_32_02_439940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/695cb5a12057fb1a18601995e487f120.jpg","text":"TemporaryFile(/tmp/multipartBody1023818968851037506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328812536,"filename":"image_08012025_10_32_02_439940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13d593e7d6a3a098d175089b48b37689.jpg","text":"TemporaryFile(/tmp/multipartBody5985066969241691197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328812536,"filename":"image_08012025_10_32_02_439940_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436133","file1":"1327436119","file0":"1327436114","file3":"1327436139"},"map_files_photo_id_array":[{"photo_id":"1327436133","filename":"file2"},{"photo_id":"1327436119","filename":"file1"},{"photo_id":"1327436114","filename":"file0"},{"photo_id":"1327436139","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436114":["hashtag1","hashtag2"]},{"1327436119":["hashtag1","hashtag2"]},{"1327436139":["hashtag1","hashtag2"]},{"1327436133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436114, 1327436119, 1327436139, 1327436133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16666626930237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:33:02.874499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:33:22.407193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0003.jpg', '/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0000.jpg', '/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0001.jpg', '/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/32/image_08012025_10_32_02_439940_0003.jpg
/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0000.jpg
/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0001.jpg
/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436301","1327436246","1327436413","1327436407"],"photo_ids_order":["1327436246","1327436301","1327436407","1327436413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76b426a0ccc60e4366ca99decfeae580.jpg","text":"TemporaryFile(/tmp/multipartBody6876001607269096702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328872727,"filename":"image_08012025_10_33_02_601916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47927f03361521cffa0fe7f46eb6cd02.jpg","text":"TemporaryFile(/tmp/multipartBody1404407956311153336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328872727,"filename":"image_08012025_10_32_02_439940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e7096c082b5945d3f8deaf5e83f5c35.jpg","text":"TemporaryFile(/tmp/multipartBody5156780713941429046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328872727,"filename":"image_08012025_10_33_02_601916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/998c82f8f8e43de698147d6483f9ef17.jpg","text":"TemporaryFile(/tmp/multipartBody2752517996750546096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328872727,"filename":"image_08012025_10_33_02_601916_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436407","file1":"1327436301","file0":"1327436246","file3":"1327436413"},"map_files_photo_id_array":[{"photo_id":"1327436407","filename":"file2"},{"photo_id":"1327436301","filename":"file1"},{"photo_id":"1327436246","filename":"file0"},{"photo_id":"1327436413","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436301":["hashtag1","hashtag2"]},{"1327436246":["hashtag1","hashtag2"]},{"1327436413":["hashtag1","hashtag2"]},{"1327436407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436301, 1327436246, 1327436413, 1327436407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44567370414734 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-08 10:34:22.544738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0003.jpg', '/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0000.jpg', '/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0001.jpg', '/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/33/image_08012025_10_33_02_601916_0003.jpg
/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0000.jpg
/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0001.jpg
/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436477","1327436469","1327436463","1327436457"],"photo_ids_order":["1327436457","1327436463","1327436469","1327436477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9695db6f977c3a1048c9525d261c56aa.jpg","text":"TemporaryFile(/tmp/multipartBody4499602645618322531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328932757,"filename":"image_08012025_10_34_02_789954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7f147f67f4c5c1b49c3da9eea59b2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8134934054814632829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328932757,"filename":"image_08012025_10_34_02_789954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b91ca00e5e417b40b0362b8fffb23d4.jpg","text":"TemporaryFile(/tmp/multipartBody6150017061820147701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328932757,"filename":"image_08012025_10_34_02_789954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3f6fea3fd403bd7c8e3d0affa77d5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1886338205175841174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328932757,"filename":"image_08012025_10_33_02_601916_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436469","file1":"1327436463","file0":"1327436457","file3":"1327436477"},"map_files_photo_id_array":[{"photo_id":"1327436469","filename":"file2"},{"photo_id":"1327436463","filename":"file1"},{"photo_id":"1327436457","filename":"file0"},{"photo_id":"1327436477","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436477":["hashtag1","hashtag2"]},{"1327436469":["hashtag1","hashtag2"]},{"1327436463":["hashtag1","hashtag2"]},{"1327436457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436477, 1327436469, 1327436463, 1327436457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.107428550720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:35:03.151745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:35:22.710899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0003.jpg', '/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0000.jpg', '/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0001.jpg', '/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/34/image_08012025_10_34_02_789954_0003.jpg
/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0000.jpg
/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0001.jpg
/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436576","1327436702","1327436707","1327436712"],"photo_ids_order":["1327436576","1327436702","1327436707","1327436712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3449d6be1aee27e92a21c01443b4d5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8097231542061261905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328992984,"filename":"image_08012025_10_34_02_789954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/739762e07c53e56f0cdd971026270bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3557927741478547438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328992984,"filename":"image_08012025_10_35_02_922467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b18565f0a4595d273f0a37291b0a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody7147896469099124966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328992984,"filename":"image_08012025_10_35_02_922467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bab4d6bda32e46647530d6da0fbce4f4.jpg","text":"TemporaryFile(/tmp/multipartBody6442657257585758957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736328992984,"filename":"image_08012025_10_35_02_922467_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436707","file1":"1327436702","file0":"1327436576","file3":"1327436712"},"map_files_photo_id_array":[{"photo_id":"1327436707","filename":"file2"},{"photo_id":"1327436702","filename":"file1"},{"photo_id":"1327436576","filename":"file0"},{"photo_id":"1327436712","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436576":["hashtag1","hashtag2"]},{"1327436702":["hashtag1","hashtag2"]},{"1327436707":["hashtag1","hashtag2"]},{"1327436712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436576, 1327436702, 1327436707, 1327436712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60738968849182 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-08 10:36:22.006730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0003.jpg', '/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0000.jpg', '/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0001.jpg', '/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/35/image_08012025_10_35_02_922467_0003.jpg
/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0000.jpg
/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0001.jpg
/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436783","1327436779","1327436787","1327436790"],"photo_ids_order":["1327436779","1327436783","1327436787","1327436790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/baa5b9c509952171863ddcbe3a2462e2.jpg","text":"TemporaryFile(/tmp/multipartBody2576241308610864589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329052405,"filename":"image_08012025_10_36_03_102730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dc8e3a2db556090e6f62dd1cc836bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3209437227230479947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329052405,"filename":"image_08012025_10_35_02_922467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e999f24e2bd77ff59e15ae46d6266e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3069228052765653114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329052405,"filename":"image_08012025_10_36_03_102730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfe2c700429c3e66b3b7bf48939f3d63.jpg","text":"TemporaryFile(/tmp/multipartBody4333624174035404131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329052405,"filename":"image_08012025_10_36_03_102730_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436787","file1":"1327436783","file0":"1327436779","file3":"1327436790"},"map_files_photo_id_array":[{"photo_id":"1327436787","filename":"file2"},{"photo_id":"1327436783","filename":"file1"},{"photo_id":"1327436779","filename":"file0"},{"photo_id":"1327436790","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436783":["hashtag1","hashtag2"]},{"1327436779":["hashtag1","hashtag2"]},{"1327436787":["hashtag1","hashtag2"]},{"1327436790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436783, 1327436779, 1327436787, 1327436790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.367417335510254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:37:02.507308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:37:22.106652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0003.jpg', '/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0000.jpg', '/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0001.jpg', '/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/36/image_08012025_10_36_03_102730_0003.jpg
/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0000.jpg
/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0001.jpg
/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327436882","1327436920","1327436923","1327436898"],"photo_ids_order":["1327436882","1327436898","1327436920","1327436923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/86513f9714f25c4940b123a9a1c1ddf1.jpg","text":"TemporaryFile(/tmp/multipartBody1302688458772387606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329112367,"filename":"image_08012025_10_36_03_102730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33b9e342ae52364c1b3b9e0feff18874.jpg","text":"TemporaryFile(/tmp/multipartBody2147549597628669472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329112367,"filename":"image_08012025_10_37_02_315628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f89e563ec10deeebe715c7bef72f3827.jpg","text":"TemporaryFile(/tmp/multipartBody8134447175683890282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329112367,"filename":"image_08012025_10_37_02_315628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7824558d8d5769f0b75297c042b1a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1998012599991734096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329112367,"filename":"image_08012025_10_37_02_315628_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327436920","file1":"1327436898","file0":"1327436882","file3":"1327436923"},"map_files_photo_id_array":[{"photo_id":"1327436920","filename":"file2"},{"photo_id":"1327436898","filename":"file1"},{"photo_id":"1327436882","filename":"file0"},{"photo_id":"1327436923","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327436882":["hashtag1","hashtag2"]},{"1327436920":["hashtag1","hashtag2"]},{"1327436923":["hashtag1","hashtag2"]},{"1327436898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327436882, 1327436920, 1327436923, 1327436898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.81729507446289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:38:22.270377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0003.jpg', '/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0000.jpg', '/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0001.jpg', '/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/37/image_08012025_10_37_02_315628_0003.jpg
/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0000.jpg
/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0001.jpg
/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437082","1327437079","1327437072","1327437075"],"photo_ids_order":["1327437072","1327437075","1327437079","1327437082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3a5fd725455e65d4ea4d7c54745635c.jpg","text":"TemporaryFile(/tmp/multipartBody3400415200619430550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329172587,"filename":"image_08012025_10_38_02_395769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c72303c8bdd9536da30ab4fbfe37d36d.jpg","text":"TemporaryFile(/tmp/multipartBody4318462295797305982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329172587,"filename":"image_08012025_10_38_02_395769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0927a5a4d24ad3b66518cd4ac5973edc.jpg","text":"TemporaryFile(/tmp/multipartBody3680844197527726529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329172587,"filename":"image_08012025_10_37_02_315628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f464a0b5b7650360392b6f9b80ddc95.jpg","text":"TemporaryFile(/tmp/multipartBody242022619389586019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329172587,"filename":"image_08012025_10_38_02_395769_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437079","file1":"1327437075","file0":"1327437072","file3":"1327437082"},"map_files_photo_id_array":[{"photo_id":"1327437079","filename":"file2"},{"photo_id":"1327437075","filename":"file1"},{"photo_id":"1327437072","filename":"file0"},{"photo_id":"1327437082","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437082":["hashtag1","hashtag2"]},{"1327437079":["hashtag1","hashtag2"]},{"1327437072":["hashtag1","hashtag2"]},{"1327437075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437082, 1327437079, 1327437072, 1327437075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2832887172699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:39:02.801651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:39:22.450931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0003.jpg', '/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0000.jpg', '/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0001.jpg', '/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/38/image_08012025_10_38_02_395769_0003.jpg
/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0000.jpg
/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0001.jpg
/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437122","1327437130","1327437133","1327437126"],"photo_ids_order":["1327437122","1327437126","1327437130","1327437133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c3dddcc2ba5f778e259d869023f72d2.jpg","text":"TemporaryFile(/tmp/multipartBody1981039888753944399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329232676,"filename":"image_08012025_10_38_02_395769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a2a79554dac9e3ce99375ee064fb305.jpg","text":"TemporaryFile(/tmp/multipartBody1279608273972355779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329232676,"filename":"image_08012025_10_39_02_632604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bec5e6990f71c36078b9cd2e2c99013.jpg","text":"TemporaryFile(/tmp/multipartBody4808090136798380658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329232676,"filename":"image_08012025_10_39_02_632604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c185d8aa189d60d5e5689841953f30f.jpg","text":"TemporaryFile(/tmp/multipartBody5532663965523544494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329232676,"filename":"image_08012025_10_39_02_632604_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437130","file1":"1327437126","file0":"1327437122","file3":"1327437133"},"map_files_photo_id_array":[{"photo_id":"1327437130","filename":"file2"},{"photo_id":"1327437126","filename":"file1"},{"photo_id":"1327437122","filename":"file0"},{"photo_id":"1327437133","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437122":["hashtag1","hashtag2"]},{"1327437130":["hashtag1","hashtag2"]},{"1327437133":["hashtag1","hashtag2"]},{"1327437126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437122, 1327437130, 1327437133, 1327437126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0986852645874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:40:22.592784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0003.jpg', '/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0000.jpg', '/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0001.jpg', '/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/39/image_08012025_10_39_02_632604_0003.jpg
/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0000.jpg
/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0001.jpg
/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437161","1327437155","1327437172","1327437148"],"photo_ids_order":["1327437148","1327437155","1327437161","1327437172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9163ad3ae6d99e7b59abba3b3d5986b8.jpg","text":"TemporaryFile(/tmp/multipartBody8609807574418775407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329292871,"filename":"image_08012025_10_40_02_809185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cbdf9ed88a92357a8c5abce780d4315.jpg","text":"TemporaryFile(/tmp/multipartBody7465172552062165480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329292871,"filename":"image_08012025_10_40_02_809185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a251935061c9dce76c86951f7f4f701f.jpg","text":"TemporaryFile(/tmp/multipartBody6595244380526309716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329292871,"filename":"image_08012025_10_40_02_809185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4eeba4d3fd59f906450ee15de53f9047.jpg","text":"TemporaryFile(/tmp/multipartBody4832324294897888104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329292871,"filename":"image_08012025_10_39_02_632604_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437161","file1":"1327437155","file0":"1327437148","file3":"1327437172"},"map_files_photo_id_array":[{"photo_id":"1327437161","filename":"file2"},{"photo_id":"1327437155","filename":"file1"},{"photo_id":"1327437148","filename":"file0"},{"photo_id":"1327437172","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437161":["hashtag1","hashtag2"]},{"1327437155":["hashtag1","hashtag2"]},{"1327437172":["hashtag1","hashtag2"]},{"1327437148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437161, 1327437155, 1327437172, 1327437148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20967745780945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:41:03.258348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:41:22.803764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0003.jpg', '/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0000.jpg', '/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0001.jpg', '/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/40/image_08012025_10_40_02_809185_0003.jpg
/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0000.jpg
/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0001.jpg
/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437245","1327437268","1327437277","1327437259"],"photo_ids_order":["1327437245","1327437259","1327437268","1327437277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57d653e0d6203ece86c6a4655fbd5666.jpg","text":"TemporaryFile(/tmp/multipartBody1988961842061558188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329353064,"filename":"image_08012025_10_40_02_809185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f7631ffdec10534956233d46d0579e6.jpg","text":"TemporaryFile(/tmp/multipartBody4090847933068645152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329353064,"filename":"image_08012025_10_41_02_974478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b52bf3628740027fd38e7a0427fef1b.jpg","text":"TemporaryFile(/tmp/multipartBody4434431712131569787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329353064,"filename":"image_08012025_10_41_02_974478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b53b5a6456b1c82b40d7aa972c91c01.jpg","text":"TemporaryFile(/tmp/multipartBody355710748185601837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329353064,"filename":"image_08012025_10_41_02_974478_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437268","file1":"1327437259","file0":"1327437245","file3":"1327437277"},"map_files_photo_id_array":[{"photo_id":"1327437268","filename":"file2"},{"photo_id":"1327437259","filename":"file1"},{"photo_id":"1327437245","filename":"file0"},{"photo_id":"1327437277","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437245":["hashtag1","hashtag2"]},{"1327437268":["hashtag1","hashtag2"]},{"1327437277":["hashtag1","hashtag2"]},{"1327437259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437245, 1327437268, 1327437277, 1327437259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01075053215027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:42:21.985769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0003.jpg', '/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0000.jpg', '/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0001.jpg', '/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/41/image_08012025_10_41_02_974478_0003.jpg
/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0000.jpg
/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0001.jpg
/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437437","1327437384","1327437426","1327437389"],"photo_ids_order":["1327437384","1327437389","1327437426","1327437437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6d303476831cdd5efd7d1da936ae1c6.jpg","text":"TemporaryFile(/tmp/multipartBody7547558949994342866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329412208,"filename":"image_08012025_10_42_03_055334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2bbd0a30a48609cc486b9695dbaa6abd.jpg","text":"TemporaryFile(/tmp/multipartBody1452137329497106338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329412208,"filename":"image_08012025_10_41_02_974478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e290d122d1c6e8d7cb5741b1f4ed5140.jpg","text":"TemporaryFile(/tmp/multipartBody8750575783234725811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329412208,"filename":"image_08012025_10_42_03_055334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51650613f5c6c9946ae9e86dcabe6e98.jpg","text":"TemporaryFile(/tmp/multipartBody8955945896203705266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329412208,"filename":"image_08012025_10_42_03_055334_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437426","file1":"1327437389","file0":"1327437384","file3":"1327437437"},"map_files_photo_id_array":[{"photo_id":"1327437426","filename":"file2"},{"photo_id":"1327437389","filename":"file1"},{"photo_id":"1327437384","filename":"file0"},{"photo_id":"1327437437","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437437":["hashtag1","hashtag2"]},{"1327437384":["hashtag1","hashtag2"]},{"1327437426":["hashtag1","hashtag2"]},{"1327437389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437437, 1327437384, 1327437426, 1327437389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.114598751068115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:43:02.497119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:43:22.005644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0003.jpg', '/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0000.jpg', '/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0001.jpg', '/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/42/image_08012025_10_42_03_055334_0003.jpg
/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0000.jpg
/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0001.jpg
/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437503","1327437491","1327437485","1327437497"],"photo_ids_order":["1327437485","1327437491","1327437497","1327437503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b95410f68b8b983d73421ad2aaef8239.jpg","text":"TemporaryFile(/tmp/multipartBody8660008809512258104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329472263,"filename":"image_08012025_10_43_02_258296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdbf6db7da69b4c862882782579675c7.jpg","text":"TemporaryFile(/tmp/multipartBody977625928655282080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329472263,"filename":"image_08012025_10_43_02_258296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a6c442c73d38122e41795156d35271c.jpg","text":"TemporaryFile(/tmp/multipartBody688302236614618374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329472263,"filename":"image_08012025_10_42_03_055334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4a984d78133008408ef212d1b55ede3.jpg","text":"TemporaryFile(/tmp/multipartBody7108438627309291457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329472263,"filename":"image_08012025_10_43_02_258296_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437497","file1":"1327437491","file0":"1327437485","file3":"1327437503"},"map_files_photo_id_array":[{"photo_id":"1327437497","filename":"file2"},{"photo_id":"1327437491","filename":"file1"},{"photo_id":"1327437485","filename":"file0"},{"photo_id":"1327437503","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437503":["hashtag1","hashtag2"]},{"1327437491":["hashtag1","hashtag2"]},{"1327437485":["hashtag1","hashtag2"]},{"1327437497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437503, 1327437491, 1327437485, 1327437497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.982993841171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:44:02.717724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:44:22.197751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0003.jpg', '/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0000.jpg', '/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0001.jpg', '/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/43/image_08012025_10_43_02_258296_0003.jpg
/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0000.jpg
/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0001.jpg
/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437557","1327437553","1327437541","1327437549"],"photo_ids_order":["1327437541","1327437549","1327437553","1327437557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e8db35f43a086e1677ce64b45a7e36e.jpg","text":"TemporaryFile(/tmp/multipartBody4388252808129568634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329532454,"filename":"image_08012025_10_44_02_379641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5530c2455e98d7b65833f280c643024f.jpg","text":"TemporaryFile(/tmp/multipartBody4623799993785335201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329532454,"filename":"image_08012025_10_44_02_379641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3bfaa26c32b6ceb8e38e2e6e7baf71a4.jpg","text":"TemporaryFile(/tmp/multipartBody2869747439316686190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329532454,"filename":"image_08012025_10_43_02_258296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5989a3c58ca40c954a870f68fd58466b.jpg","text":"TemporaryFile(/tmp/multipartBody6582082900131270490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329532454,"filename":"image_08012025_10_44_02_379641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437553","file1":"1327437549","file0":"1327437541","file3":"1327437557"},"map_files_photo_id_array":[{"photo_id":"1327437553","filename":"file2"},{"photo_id":"1327437549","filename":"file1"},{"photo_id":"1327437541","filename":"file0"},{"photo_id":"1327437557","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437557":["hashtag1","hashtag2"]},{"1327437553":["hashtag1","hashtag2"]},{"1327437541":["hashtag1","hashtag2"]},{"1327437549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437557, 1327437553, 1327437541, 1327437549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55455684661865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:45:03.132151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:45:22.403454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0003.jpg', '/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0000.jpg', '/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0001.jpg', '/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/44/image_08012025_10_44_02_379641_0003.jpg
/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0000.jpg
/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0001.jpg
/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437617","1327437611","1327437614","1327437608"],"photo_ids_order":["1327437608","1327437611","1327437614","1327437617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5f27e702e9b833521836e01da76d5e8.jpg","text":"TemporaryFile(/tmp/multipartBody4278779288878944750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329592660,"filename":"image_08012025_10_45_02_559944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/719ad2a07ab40137f4790c77720c8515.jpg","text":"TemporaryFile(/tmp/multipartBody4156263966109344971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329592660,"filename":"image_08012025_10_45_02_559944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c86d2ffbb79110ab0372f27b48a7f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4957805485139013306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329592660,"filename":"image_08012025_10_45_02_559944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/656193b074d9590497ec45962488de4f.jpg","text":"TemporaryFile(/tmp/multipartBody4691688656302548685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329592660,"filename":"image_08012025_10_44_02_379641_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437614","file1":"1327437611","file0":"1327437608","file3":"1327437617"},"map_files_photo_id_array":[{"photo_id":"1327437614","filename":"file2"},{"photo_id":"1327437611","filename":"file1"},{"photo_id":"1327437608","filename":"file0"},{"photo_id":"1327437617","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437617":["hashtag1","hashtag2"]},{"1327437611":["hashtag1","hashtag2"]},{"1327437614":["hashtag1","hashtag2"]},{"1327437608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437617, 1327437611, 1327437614, 1327437608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62186861038208 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-08 10:46:22.588264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0003.jpg', '/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0000.jpg', '/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0001.jpg', '/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/45/image_08012025_10_45_02_559944_0003.jpg
/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0000.jpg
/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0001.jpg
/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437688","1327437693","1327437672","1327437675"],"photo_ids_order":["1327437672","1327437675","1327437688","1327437693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b0db159cc4e7ca7b4c36fc08006ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody290245898960599693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329652794,"filename":"image_08012025_10_46_02_744917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e83e5f35d7b6928a1b1248538bd64a86.jpg","text":"TemporaryFile(/tmp/multipartBody7372452269796692788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329652794,"filename":"image_08012025_10_46_02_744917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fe2cffb3129d182c51cf8336c139872.jpg","text":"TemporaryFile(/tmp/multipartBody7895580370469639087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329652794,"filename":"image_08012025_10_45_02_559944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f452296a4f448e7db3643aa7785bf56.jpg","text":"TemporaryFile(/tmp/multipartBody6375903954832002193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329652794,"filename":"image_08012025_10_46_02_744917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437688","file1":"1327437675","file0":"1327437672","file3":"1327437693"},"map_files_photo_id_array":[{"photo_id":"1327437688","filename":"file2"},{"photo_id":"1327437675","filename":"file1"},{"photo_id":"1327437672","filename":"file0"},{"photo_id":"1327437693","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437688":["hashtag1","hashtag2"]},{"1327437693":["hashtag1","hashtag2"]},{"1327437672":["hashtag1","hashtag2"]},{"1327437675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437688, 1327437693, 1327437672, 1327437675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45712971687317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:47:03.348818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:47:22.769281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0003.jpg', '/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0000.jpg', '/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0001.jpg', '/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/46/image_08012025_10_46_02_744917_0003.jpg
/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0000.jpg
/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0001.jpg
/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437728","1327437716","1327437733","1327437720"],"photo_ids_order":["1327437716","1327437720","1327437728","1327437733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfaef39e9604ebc1a3eeba8849a54458.jpg","text":"TemporaryFile(/tmp/multipartBody3574666669680662049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329713055,"filename":"image_08012025_10_47_02_965272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb5eff4c2d648740fb79fd307f4e4beb.jpg","text":"TemporaryFile(/tmp/multipartBody6291209078338039371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329713055,"filename":"image_08012025_10_46_02_744917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd617e2b0de205fe24983b77fab669e2.jpg","text":"TemporaryFile(/tmp/multipartBody2512833413651898694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329713055,"filename":"image_08012025_10_47_02_965272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9481405246b5d496580158a136cb346.jpg","text":"TemporaryFile(/tmp/multipartBody3202851949065638769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329713055,"filename":"image_08012025_10_47_02_965272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437728","file1":"1327437720","file0":"1327437716","file3":"1327437733"},"map_files_photo_id_array":[{"photo_id":"1327437728","filename":"file2"},{"photo_id":"1327437720","filename":"file1"},{"photo_id":"1327437716","filename":"file0"},{"photo_id":"1327437733","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437728":["hashtag1","hashtag2"]},{"1327437716":["hashtag1","hashtag2"]},{"1327437733":["hashtag1","hashtag2"]},{"1327437720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437728, 1327437716, 1327437733, 1327437720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2787811756134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:48:22.015920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0003.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0000.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0001.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0003.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0000.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0001.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.731560468673706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 10:48:41.920981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0003.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0000.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0001.jpg', '/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/47/image_08012025_10_47_02_965272_0003.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0000.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0001.jpg
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437796","1327437798","1327437791","1327437794"],"photo_ids_order":["1327437791","1327437794","1327437796","1327437798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4877e56849c040f0a89971958d6eb043.jpg","text":"TemporaryFile(/tmp/multipartBody6992960298904134557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329792057,"filename":"image_08012025_10_48_03_132296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc49ffddf77cbff46da1fa576b1f4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4461355282723609691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329792057,"filename":"image_08012025_10_48_03_132296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/108a9e4304079614a7fe34b28ac48751.jpg","text":"TemporaryFile(/tmp/multipartBody4065723462103744353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329792057,"filename":"image_08012025_10_47_02_965272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec617b03342ef5bfc191708299dd1c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4792103198158238563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329792057,"filename":"image_08012025_10_48_03_132296_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437796","file1":"1327437794","file0":"1327437791","file3":"1327437798"},"map_files_photo_id_array":[{"photo_id":"1327437796","filename":"file2"},{"photo_id":"1327437794","filename":"file1"},{"photo_id":"1327437791","filename":"file0"},{"photo_id":"1327437798","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437796":["hashtag1","hashtag2"]},{"1327437798":["hashtag1","hashtag2"]},{"1327437791":["hashtag1","hashtag2"]},{"1327437794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437796, 1327437798, 1327437791, 1327437794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.077430963516235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:49:22.243927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0003.jpg', '/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0000.jpg', '/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0001.jpg', '/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/48/image_08012025_10_48_03_132296_0003.jpg
/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0000.jpg
/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0001.jpg
/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437812","1327437823","1327437820","1327437817"],"photo_ids_order":["1327437812","1327437817","1327437820","1327437823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6eadb818d01bcd5476fe936d34a03463.jpg","text":"TemporaryFile(/tmp/multipartBody3800121784251803876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329832614,"filename":"image_08012025_10_48_03_132296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81861214de323fb628963958068693c4.jpg","text":"TemporaryFile(/tmp/multipartBody695377531338526179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329832614,"filename":"image_08012025_10_49_02_371891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/09ef35a5c97d5ac7058d69abcbbfed4a.jpg","text":"TemporaryFile(/tmp/multipartBody4006023534157098975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329832614,"filename":"image_08012025_10_49_02_371891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d375c791ad8bd3845cceb70625c77f3.jpg","text":"TemporaryFile(/tmp/multipartBody7717844322560313414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329832614,"filename":"image_08012025_10_49_02_371891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437820","file1":"1327437817","file0":"1327437812","file3":"1327437823"},"map_files_photo_id_array":[{"photo_id":"1327437820","filename":"file2"},{"photo_id":"1327437817","filename":"file1"},{"photo_id":"1327437812","filename":"file0"},{"photo_id":"1327437823","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437812":["hashtag1","hashtag2"]},{"1327437823":["hashtag1","hashtag2"]},{"1327437820":["hashtag1","hashtag2"]},{"1327437817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437812, 1327437823, 1327437820, 1327437817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97191619873047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:50:22.301514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0003.jpg', '/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0000.jpg', '/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0001.jpg', '/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/49/image_08012025_10_49_02_371891_0003.jpg
/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0000.jpg
/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0001.jpg
/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437922","1327437925","1327437919","1327437863"],"photo_ids_order":["1327437863","1327437919","1327437922","1327437925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c04260cd843e94bfcba29fce9ee66a5.jpg","text":"TemporaryFile(/tmp/multipartBody5362134360931694040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329892484,"filename":"image_08012025_10_50_02_504965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b72f49bf423b024694cda39f6a04dc72.jpg","text":"TemporaryFile(/tmp/multipartBody7651366041090807559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329892484,"filename":"image_08012025_10_50_02_504965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af4449d144ab1c749c37683312084b63.jpg","text":"TemporaryFile(/tmp/multipartBody1342860243910441389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329892484,"filename":"image_08012025_10_50_02_504965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e59b3c22c0e1ca35a3fb96ffa6c0015.jpg","text":"TemporaryFile(/tmp/multipartBody5966394719910860293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329892484,"filename":"image_08012025_10_49_02_371891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327437922","file1":"1327437919","file0":"1327437863","file3":"1327437925"},"map_files_photo_id_array":[{"photo_id":"1327437922","filename":"file2"},{"photo_id":"1327437919","filename":"file1"},{"photo_id":"1327437863","filename":"file0"},{"photo_id":"1327437925","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437922":["hashtag1","hashtag2"]},{"1327437925":["hashtag1","hashtag2"]},{"1327437919":["hashtag1","hashtag2"]},{"1327437863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437922, 1327437925, 1327437919, 1327437863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01696228981018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:51:03.213484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:51:22.500004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0003.jpg', '/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0000.jpg', '/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0001.jpg', '/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/50/image_08012025_10_50_02_504965_0003.jpg
/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0000.jpg
/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0001.jpg
/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327437994","1327438000","1327437969","1327438005"],"photo_ids_order":["1327437969","1327437994","1327438000","1327438005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a421a004cbf91c7bfa30bcff337ce48.jpg","text":"TemporaryFile(/tmp/multipartBody3970848675873760163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329952831,"filename":"image_08012025_10_51_02_628894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ef2360e77a2fcf3726df4619e6fb9f2.jpg","text":"TemporaryFile(/tmp/multipartBody2705009481795499261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329952831,"filename":"image_08012025_10_51_02_628894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9eaa2d3c96b201b477b7cf884548338.jpg","text":"TemporaryFile(/tmp/multipartBody1786449862549290197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329952831,"filename":"image_08012025_10_50_02_504965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5175673c82099e916c7442b60cceeb18.jpg","text":"TemporaryFile(/tmp/multipartBody2920932805101028275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736329952831,"filename":"image_08012025_10_51_02_628894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438000","file1":"1327437994","file0":"1327437969","file3":"1327438005"},"map_files_photo_id_array":[{"photo_id":"1327438000","filename":"file2"},{"photo_id":"1327437994","filename":"file1"},{"photo_id":"1327437969","filename":"file0"},{"photo_id":"1327438005","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327437994":["hashtag1","hashtag2"]},{"1327438000":["hashtag1","hashtag2"]},{"1327437969":["hashtag1","hashtag2"]},{"1327438005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327437994, 1327438000, 1327437969, 1327438005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87833499908447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:52:03.083825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:52:22.717341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0003.jpg', '/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0000.jpg', '/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0001.jpg', '/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/51/image_08012025_10_51_02_628894_0003.jpg
/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0000.jpg
/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0001.jpg
/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438022","1327438045","1327438050","1327438031"],"photo_ids_order":["1327438022","1327438031","1327438045","1327438050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de5d54727a6399badbf896e36ae5a299.jpg","text":"TemporaryFile(/tmp/multipartBody4063917970544974312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330012959,"filename":"image_08012025_10_51_02_628894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a90eb9f36c265d938b43d49a35e48d2a.jpg","text":"TemporaryFile(/tmp/multipartBody414963497009615223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330012959,"filename":"image_08012025_10_52_02_895482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af7d69eff05590d567955a86a272dec3.jpg","text":"TemporaryFile(/tmp/multipartBody8349396787847270524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330012959,"filename":"image_08012025_10_52_02_895482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b39c496eee90f4da985a0721e957310.jpg","text":"TemporaryFile(/tmp/multipartBody6784824921659984711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330012959,"filename":"image_08012025_10_52_02_895482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438045","file1":"1327438031","file0":"1327438022","file3":"1327438050"},"map_files_photo_id_array":[{"photo_id":"1327438045","filename":"file2"},{"photo_id":"1327438031","filename":"file1"},{"photo_id":"1327438022","filename":"file0"},{"photo_id":"1327438050","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438022":["hashtag1","hashtag2"]},{"1327438045":["hashtag1","hashtag2"]},{"1327438050":["hashtag1","hashtag2"]},{"1327438031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438022, 1327438045, 1327438050, 1327438031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2659969329834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:53:21.914702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0003.jpg', '/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0000.jpg', '/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0001.jpg', '/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/52/image_08012025_10_52_02_895482_0003.jpg
/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0000.jpg
/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0001.jpg
/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438098","1327438118","1327438112","1327438106"],"photo_ids_order":["1327438098","1327438106","1327438112","1327438118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f6653f717df96f48845a4e792917053.jpg","text":"TemporaryFile(/tmp/multipartBody4443085740219873405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330072128,"filename":"image_08012025_10_52_02_895482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54b2625289607629b37b134dea0928b8.jpg","text":"TemporaryFile(/tmp/multipartBody3312981900777257531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330072128,"filename":"image_08012025_10_53_02_968483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eeb7d69ab39acd088def092de84d45b9.jpg","text":"TemporaryFile(/tmp/multipartBody4495905600204559925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330072128,"filename":"image_08012025_10_53_02_968483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6369e98d454559e5bc010a31cb8f7ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7158731446953386159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330072128,"filename":"image_08012025_10_53_02_968483_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438112","file1":"1327438106","file0":"1327438098","file3":"1327438118"},"map_files_photo_id_array":[{"photo_id":"1327438112","filename":"file2"},{"photo_id":"1327438106","filename":"file1"},{"photo_id":"1327438098","filename":"file0"},{"photo_id":"1327438118","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438098":["hashtag1","hashtag2"]},{"1327438118":["hashtag1","hashtag2"]},{"1327438112":["hashtag1","hashtag2"]},{"1327438106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438098, 1327438118, 1327438112, 1327438106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.506439208984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:54:02.392311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:54:22.083987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0003.jpg', '/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0000.jpg', '/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0001.jpg', '/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/53/image_08012025_10_53_02_968483_0003.jpg
/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0000.jpg
/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0001.jpg
/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438152","1327438161","1327438136","1327438145"],"photo_ids_order":["1327438136","1327438145","1327438152","1327438161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5331dde9009ece20532c7fe1dc3e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody7337372822300801925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330132376,"filename":"image_08012025_10_54_02_193896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87eab632f95ce26980ff6f8295188e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3424860000998425747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330132376,"filename":"image_08012025_10_54_02_193896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a28198b28e87908c35a09ad6f751977f.jpg","text":"TemporaryFile(/tmp/multipartBody7266305287404480620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330132376,"filename":"image_08012025_10_53_02_968483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32e72157f2e4e0dc35760c53d550b3a2.jpg","text":"TemporaryFile(/tmp/multipartBody3580067243669814045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330132376,"filename":"image_08012025_10_54_02_193896_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438152","file1":"1327438145","file0":"1327438136","file3":"1327438161"},"map_files_photo_id_array":[{"photo_id":"1327438152","filename":"file2"},{"photo_id":"1327438145","filename":"file1"},{"photo_id":"1327438136","filename":"file0"},{"photo_id":"1327438161","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438152":["hashtag1","hashtag2"]},{"1327438161":["hashtag1","hashtag2"]},{"1327438136":["hashtag1","hashtag2"]},{"1327438145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438152, 1327438161, 1327438136, 1327438145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.962554931640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:55:02.742091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:55:22.144279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0003.jpg', '/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0000.jpg', '/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/54/image_08012025_10_54_02_193896_0003.jpg
/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0000.jpg
/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438198","1327438180","1327438184"],"photo_ids_order":["1327438180","1327438184","1327438198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c22a3261aa5d6f010ebce0957d84cd49.jpg","text":"TemporaryFile(/tmp/multipartBody451116964739692060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330189989,"filename":"image_08012025_10_55_02_446603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5d1f47e660f6dbd44949cd1fb6a902a.jpg","text":"TemporaryFile(/tmp/multipartBody5293600559489123427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330189989,"filename":"image_08012025_10_54_02_193896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0147aebbce35471ee79ba04c965c79be.jpg","text":"TemporaryFile(/tmp/multipartBody8374215767543418923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330189989,"filename":"image_08012025_10_55_02_446603_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438198","file1":"1327438184","file0":"1327438180"},"map_files_photo_id_array":[{"photo_id":"1327438198","filename":"file2"},{"photo_id":"1327438184","filename":"file1"},{"photo_id":"1327438180","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438198":["hashtag1","hashtag2"]},{"1327438180":["hashtag1","hashtag2"]},{"1327438184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438198, 1327438180, 1327438184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.953470945358276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:56:02.675805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:56:22.383902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0003.jpg', '/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0000.jpg', '/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0001.jpg', '/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/55/image_08012025_10_55_02_446603_0003.jpg
/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0000.jpg
/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0001.jpg
/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438432","1327438426","1327438420","1327438415"],"photo_ids_order":["1327438415","1327438420","1327438426","1327438432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3dff4ee74ec101fcdc7f1a184f12ad12.jpg","text":"TemporaryFile(/tmp/multipartBody2523205083556743733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330252628,"filename":"image_08012025_10_56_02_569082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/002b534a4203a3cd7f06aee4b6027b99.jpg","text":"TemporaryFile(/tmp/multipartBody1033013183181824870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330252628,"filename":"image_08012025_10_56_02_569082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01b5f44be2c28b2a971a753113b79b16.jpg","text":"TemporaryFile(/tmp/multipartBody3539869409024906721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330252628,"filename":"image_08012025_10_56_02_569082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dec25e4f2c35f4a81ce313d0e55e6e4a.jpg","text":"TemporaryFile(/tmp/multipartBody713439598510370291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330252628,"filename":"image_08012025_10_55_02_446603_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438426","file1":"1327438420","file0":"1327438415","file3":"1327438432"},"map_files_photo_id_array":[{"photo_id":"1327438426","filename":"file2"},{"photo_id":"1327438420","filename":"file1"},{"photo_id":"1327438415","filename":"file0"},{"photo_id":"1327438432","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438432":["hashtag1","hashtag2"]},{"1327438426":["hashtag1","hashtag2"]},{"1327438420":["hashtag1","hashtag2"]},{"1327438415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438432, 1327438426, 1327438420, 1327438415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.93840050697327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:57:03.119304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 10:57:22.574315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0003.jpg', '/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0000.jpg', '/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0001.jpg', '/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/56/image_08012025_10_56_02_569082_0003.jpg
/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0000.jpg
/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0001.jpg
/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327438525","1327438581","1327438515","1327438520"],"photo_ids_order":["1327438515","1327438520","1327438525","1327438581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a7749c73d6ed1fac9226bf92d931941.jpg","text":"TemporaryFile(/tmp/multipartBody8060585041069761745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330312635,"filename":"image_08012025_10_57_02_759784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ad6849b250a6b64c3fb7cc61b2cb080.jpg","text":"TemporaryFile(/tmp/multipartBody2139406549122374921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330312635,"filename":"image_08012025_10_57_02_759784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b5113ee7c9fc9146dd531d729d18263.jpg","text":"TemporaryFile(/tmp/multipartBody5872403143857310368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330312635,"filename":"image_08012025_10_56_02_569082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ec4075b8d37f35eb5aac914a5507ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8198641925947628267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330312635,"filename":"image_08012025_10_57_02_759784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327438525","file1":"1327438520","file0":"1327438515","file3":"1327438581"},"map_files_photo_id_array":[{"photo_id":"1327438525","filename":"file2"},{"photo_id":"1327438520","filename":"file1"},{"photo_id":"1327438515","filename":"file0"},{"photo_id":"1327438581","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327438525":["hashtag1","hashtag2"]},{"1327438581":["hashtag1","hashtag2"]},{"1327438515":["hashtag1","hashtag2"]},{"1327438520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327438525, 1327438581, 1327438515, 1327438520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.062896490097046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 10:59:02.453935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0003.jpg', '/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0000.jpg', '/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0001.jpg', '/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/57/image_08012025_10_57_02_759784_0003.jpg
/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0000.jpg
/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0001.jpg
/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327439224","1327439212","1327439201","1327439318"],"photo_ids_order":["1327439201","1327439212","1327439224","1327439318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0644ef4b54df4f5c6790734aec2d15bd.jpg","text":"TemporaryFile(/tmp/multipartBody3834071724133866465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330412783,"filename":"image_08012025_10_58_02_929672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adb476253c87292e4d939fbfd971fa08.jpg","text":"TemporaryFile(/tmp/multipartBody7828670263608624952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330412783,"filename":"image_08012025_10_58_02_929672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/619d9e97dfc3c0861971fcb658304ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5144782109450878708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330412783,"filename":"image_08012025_10_57_02_759784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6645aae0344d67b51f321ca64dad03d.jpg","text":"TemporaryFile(/tmp/multipartBody7556690764710888822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330412783,"filename":"image_08012025_10_58_02_929672_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327439224","file1":"1327439212","file0":"1327439201","file3":"1327439318"},"map_files_photo_id_array":[{"photo_id":"1327439224","filename":"file2"},{"photo_id":"1327439212","filename":"file1"},{"photo_id":"1327439201","filename":"file0"},{"photo_id":"1327439318","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327439224":["hashtag1","hashtag2"]},{"1327439212":["hashtag1","hashtag2"]},{"1327439201":["hashtag1","hashtag2"]},{"1327439318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327439224, 1327439212, 1327439201, 1327439318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43144917488098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 10:59:51.838491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0003.jpg', '/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0000.jpg', '/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0001.jpg', '/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/58/image_08012025_10_58_02_929672_0003.jpg
/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0000.jpg
/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0001.jpg
/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327439434","1327439424","1327439418","1327439429"],"photo_ids_order":["1327439418","1327439424","1327439429","1327439434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23163af9f6cdd2157744122ff7c7fafc.jpg","text":"TemporaryFile(/tmp/multipartBody7760229384768871668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330462023,"filename":"image_08012025_10_59_03_094540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8ca322627ef68711cd134b12c3e6bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7978011609485786907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330462023,"filename":"image_08012025_10_59_03_094540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d696600146640fe01674cf5b569cb73.jpg","text":"TemporaryFile(/tmp/multipartBody3081117943124759564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330462023,"filename":"image_08012025_10_58_02_929672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b110bc1a1f71e1a66bd4be3e4f9f50d.jpg","text":"TemporaryFile(/tmp/multipartBody4428763855809620592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330462023,"filename":"image_08012025_10_59_03_094540_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327439429","file1":"1327439424","file0":"1327439418","file3":"1327439434"},"map_files_photo_id_array":[{"photo_id":"1327439429","filename":"file2"},{"photo_id":"1327439424","filename":"file1"},{"photo_id":"1327439418","filename":"file0"},{"photo_id":"1327439434","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327439434":["hashtag1","hashtag2"]},{"1327439424":["hashtag1","hashtag2"]},{"1327439418":["hashtag1","hashtag2"]},{"1327439429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327439434, 1327439424, 1327439418, 1327439429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.523518800735474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:00:42.061337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0003.jpg', '/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0000.jpg', '/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0001.jpg', '/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/10/59/image_08012025_10_59_03_094540_0003.jpg
/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0000.jpg
/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0001.jpg
/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327440292","1327440294","1327440123","1327440298"],"photo_ids_order":["1327440123","1327440292","1327440294","1327440298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40f25f33f5d1f68c7cab89fc3c04cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody6507472348459348426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330512164,"filename":"image_08012025_11_00_02_290895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/578d2b71539f17122200310114aab9c3.jpg","text":"TemporaryFile(/tmp/multipartBody4273305902085930503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330512164,"filename":"image_08012025_11_00_02_290895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8aaf7985a24d697e7aac361fb19ce270.jpg","text":"TemporaryFile(/tmp/multipartBody2838639801604198032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330512164,"filename":"image_08012025_10_59_03_094540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8eed3ddc9fa0b58de58c41f6a61dd975.jpg","text":"TemporaryFile(/tmp/multipartBody8139452477057960648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330512164,"filename":"image_08012025_11_00_02_290895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327440294","file1":"1327440292","file0":"1327440123","file3":"1327440298"},"map_files_photo_id_array":[{"photo_id":"1327440294","filename":"file2"},{"photo_id":"1327440292","filename":"file1"},{"photo_id":"1327440123","filename":"file0"},{"photo_id":"1327440298","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327440292":["hashtag1","hashtag2"]},{"1327440294":["hashtag1","hashtag2"]},{"1327440123":["hashtag1","hashtag2"]},{"1327440298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327440292, 1327440294, 1327440123, 1327440298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44377946853638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:01:22.255518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0003.jpg', '/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0000.jpg', '/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0001.jpg', '/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/00/image_08012025_11_00_02_290895_0003.jpg
/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0000.jpg
/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0001.jpg
/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327440323","1327440317","1327440433","1327440427"],"photo_ids_order":["1327440317","1327440323","1327440427","1327440433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d46555fbfcba18c058ed2f993426f64.jpg","text":"TemporaryFile(/tmp/multipartBody2068122742943801883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330552483,"filename":"image_08012025_11_01_02_392343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50beec38d890e7ea4fd7852c99f7179c.jpg","text":"TemporaryFile(/tmp/multipartBody7405468940472257160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330552483,"filename":"image_08012025_11_00_02_290895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d8528130a8dd0612def1ca5ae80d655.jpg","text":"TemporaryFile(/tmp/multipartBody7458645204502156847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330552483,"filename":"image_08012025_11_01_02_392343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6eb6e1bc25a0998bf32496a8bfa63a0.jpg","text":"TemporaryFile(/tmp/multipartBody3207030916311388293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330552483,"filename":"image_08012025_11_01_02_392343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327440427","file1":"1327440323","file0":"1327440317","file3":"1327440433"},"map_files_photo_id_array":[{"photo_id":"1327440427","filename":"file2"},{"photo_id":"1327440323","filename":"file1"},{"photo_id":"1327440317","filename":"file0"},{"photo_id":"1327440433","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327440323":["hashtag1","hashtag2"]},{"1327440317":["hashtag1","hashtag2"]},{"1327440433":["hashtag1","hashtag2"]},{"1327440427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327440323, 1327440317, 1327440433, 1327440427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.190858125686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:02:02.790464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:02:22.436899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0003.jpg', '/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_0000.jpg', '/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/01/image_08012025_11_01_02_392343_0003.jpg
/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_0000.jpg
/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_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":["1327441002","1327440858","1327440863"],"photo_ids_order":["1327440858","1327440863","1327441002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97cbf8309f9e9a18c34be6c92aeb2142.jpg","text":"TemporaryFile(/tmp/multipartBody8190910056482332199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330610198,"filename":"image_08012025_11_02_02_704243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d49e676c837007dedd760a19c7daf56.jpg","text":"TemporaryFile(/tmp/multipartBody7126697644285859506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330610198,"filename":"image_08012025_11_01_02_392343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/068ebaa98f2007a458ca6278fde959bf.jpg","text":"TemporaryFile(/tmp/multipartBody3657042518772739841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330610198,"filename":"image_08012025_11_02_02_704243_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327441002","file1":"1327440863","file0":"1327440858"},"map_files_photo_id_array":[{"photo_id":"1327441002","filename":"file2"},{"photo_id":"1327440863","filename":"file1"},{"photo_id":"1327440858","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327441002":["hashtag1","hashtag2"]},{"1327440858":["hashtag1","hashtag2"]},{"1327440863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327441002, 1327440858, 1327440863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.320886373519897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:03:03.204683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:03:22.655979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_0003.jpg', '/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0000.jpg', '/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0001.jpg', '/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/02/image_08012025_11_02_02_704243_0003.jpg
/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0000.jpg
/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0001.jpg
/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327441994","1327441982","1327441916","1327441975"],"photo_ids_order":["1327441916","1327441975","1327441982","1327441994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12f1f18c8fdd623980998e06de8c7f84.jpg","text":"TemporaryFile(/tmp/multipartBody3013708175293272586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330672851,"filename":"image_08012025_11_03_02_819078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/263bfd1c1e09f6a3334b453af73a3ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5217133957612524798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330672851,"filename":"image_08012025_11_03_02_819078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/381cad6601be87a5c10c2f08a6d812cb.jpg","text":"TemporaryFile(/tmp/multipartBody4217845900205647585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330672851,"filename":"image_08012025_11_02_02_704243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb2daa03c5b9f75d95d468dd6b20eee3.jpg","text":"TemporaryFile(/tmp/multipartBody5617083721751089075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330672851,"filename":"image_08012025_11_03_02_819078_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327441982","file1":"1327441975","file0":"1327441916","file3":"1327441994"},"map_files_photo_id_array":[{"photo_id":"1327441982","filename":"file2"},{"photo_id":"1327441975","filename":"file1"},{"photo_id":"1327441916","filename":"file0"},{"photo_id":"1327441994","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327441994":["hashtag1","hashtag2"]},{"1327441982":["hashtag1","hashtag2"]},{"1327441916":["hashtag1","hashtag2"]},{"1327441975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327441994, 1327441982, 1327441916, 1327441975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7943012714386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:04:21.902751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0003.jpg', '/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0000.jpg', '/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0001.jpg', '/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/03/image_08012025_11_03_02_819078_0003.jpg
/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0000.jpg
/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0001.jpg
/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327442652","1327442649","1327442374","1327442575"],"photo_ids_order":["1327442374","1327442575","1327442649","1327442652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ea8b10477342df4956d093927fe6e71.jpg","text":"TemporaryFile(/tmp/multipartBody8473515198236818606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330731989,"filename":"image_08012025_11_04_02_954000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63ec83189c3e5759dbefff36e80d55a7.jpg","text":"TemporaryFile(/tmp/multipartBody7279491551583667676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330731989,"filename":"image_08012025_11_04_02_954000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0eabb74f0f929ebc6d849cf0f2a6b167.jpg","text":"TemporaryFile(/tmp/multipartBody8806292831817401486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330731989,"filename":"image_08012025_11_03_02_819078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e10ce2eabb53d8b8f25bd20d40707243.jpg","text":"TemporaryFile(/tmp/multipartBody2416574038147955546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330731989,"filename":"image_08012025_11_04_02_954000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327442649","file1":"1327442575","file0":"1327442374","file3":"1327442652"},"map_files_photo_id_array":[{"photo_id":"1327442649","filename":"file2"},{"photo_id":"1327442575","filename":"file1"},{"photo_id":"1327442374","filename":"file0"},{"photo_id":"1327442652","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327442652":["hashtag1","hashtag2"]},{"1327442649":["hashtag1","hashtag2"]},{"1327442374":["hashtag1","hashtag2"]},{"1327442575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327442652, 1327442649, 1327442374, 1327442575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17517042160034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:05:02.407732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:05:21.912695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0003.jpg', '/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0000.jpg', '/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0001.jpg', '/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/04/image_08012025_11_04_02_954000_0003.jpg
/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0000.jpg
/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0001.jpg
/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327442841","1327442996","1327442835","1327442848"],"photo_ids_order":["1327442835","1327442841","1327442848","1327442996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7db70c675ec780e3154e3f7d0847490f.jpg","text":"TemporaryFile(/tmp/multipartBody2178984212235847316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330791900,"filename":"image_08012025_11_05_02_163197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70878c310e749db144428b2b405ae0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6176378272536695169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330791900,"filename":"image_08012025_11_05_02_163197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85caec68e7de7238c1c9b0091f9a9d49.jpg","text":"TemporaryFile(/tmp/multipartBody6454364208503045971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330791900,"filename":"image_08012025_11_04_02_954000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55c38049b1ce8b4f7e559971cffe6ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4277429019658616617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330791900,"filename":"image_08012025_11_05_02_163197_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327442848","file1":"1327442841","file0":"1327442835","file3":"1327442996"},"map_files_photo_id_array":[{"photo_id":"1327442848","filename":"file2"},{"photo_id":"1327442841","filename":"file1"},{"photo_id":"1327442835","filename":"file0"},{"photo_id":"1327442996","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327442841":["hashtag1","hashtag2"]},{"1327442996":["hashtag1","hashtag2"]},{"1327442835":["hashtag1","hashtag2"]},{"1327442848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327442841, 1327442996, 1327442835, 1327442848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45499396324158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:06:02.456657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:06:22.104354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0003.jpg', '/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0000.jpg', '/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0001.jpg', '/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/05/image_08012025_11_05_02_163197_0003.jpg
/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0000.jpg
/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0001.jpg
/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443050","1327443047","1327443043","1327443037"],"photo_ids_order":["1327443037","1327443043","1327443047","1327443050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/259b83bd441445ecb55e48013eeb48a4.jpg","text":"TemporaryFile(/tmp/multipartBody8839577981070473013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330852308,"filename":"image_08012025_11_06_02_270818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48a8fbcab1693ce066394eed799f6916.jpg","text":"TemporaryFile(/tmp/multipartBody2289462080140028724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330852308,"filename":"image_08012025_11_06_02_270818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22ceceaeafd729575470a6d08348b018.jpg","text":"TemporaryFile(/tmp/multipartBody1731576477689380305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330852308,"filename":"image_08012025_11_06_02_270818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec4b39b0459d04f18b4e6b6c0274c121.jpg","text":"TemporaryFile(/tmp/multipartBody5398879718637968747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330852308,"filename":"image_08012025_11_05_02_163197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443047","file1":"1327443043","file0":"1327443037","file3":"1327443050"},"map_files_photo_id_array":[{"photo_id":"1327443047","filename":"file2"},{"photo_id":"1327443043","filename":"file1"},{"photo_id":"1327443037","filename":"file0"},{"photo_id":"1327443050","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443050":["hashtag1","hashtag2"]},{"1327443047":["hashtag1","hashtag2"]},{"1327443043":["hashtag1","hashtag2"]},{"1327443037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443050, 1327443047, 1327443043, 1327443037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99796962738037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:07:22.325964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0003.jpg', '/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_0000.jpg', '/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/06/image_08012025_11_06_02_270818_0003.jpg
/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_0000.jpg
/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_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":["1327443097","1327443100","1327443093"],"photo_ids_order":["1327443093","1327443097","1327443100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d1ff376f3f169ab83451f2aab7156a2.jpg","text":"TemporaryFile(/tmp/multipartBody2716146108412302120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330909929,"filename":"image_08012025_11_07_02_414892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83be2ad380394aa0722e34f68a5ca6e1.jpg","text":"TemporaryFile(/tmp/multipartBody966570668102170419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330909929,"filename":"image_08012025_11_07_02_414892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db94abc4cc088d72834a1e51f8a2812d.jpg","text":"TemporaryFile(/tmp/multipartBody8449843721936068061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330909929,"filename":"image_08012025_11_06_02_270818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443100","file1":"1327443097","file0":"1327443093"},"map_files_photo_id_array":[{"photo_id":"1327443100","filename":"file2"},{"photo_id":"1327443097","filename":"file1"},{"photo_id":"1327443093","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443097":["hashtag1","hashtag2"]},{"1327443100":["hashtag1","hashtag2"]},{"1327443093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443097, 1327443100, 1327443093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.720014095306396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:08:02.792534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:08:22.505115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_0002.jpg', '/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0000.jpg', '/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0001.jpg', '/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/07/image_08012025_11_07_02_414892_0002.jpg
/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0000.jpg
/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0001.jpg
/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443209","1327443199","1327443196","1327443154"],"photo_ids_order":["1327443154","1327443196","1327443199","1327443209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b5605a2f498705481449d2a173995560.jpg","text":"TemporaryFile(/tmp/multipartBody7241779184647935423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330972661,"filename":"image_08012025_11_08_02_708210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2214ac872a5241e00bc0dd877bbee32.jpg","text":"TemporaryFile(/tmp/multipartBody6621357162295257147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330972661,"filename":"image_08012025_11_08_02_708210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50ea485709a84aa0b37da816b824f0c3.jpg","text":"TemporaryFile(/tmp/multipartBody6579275170842332320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330972661,"filename":"image_08012025_11_08_02_708210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75b72afcafd61a22dc3140c9cc680e18.jpg","text":"TemporaryFile(/tmp/multipartBody1707778483004362426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736330972661,"filename":"image_08012025_11_07_02_414892_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443199","file1":"1327443196","file0":"1327443154","file3":"1327443209"},"map_files_photo_id_array":[{"photo_id":"1327443199","filename":"file2"},{"photo_id":"1327443196","filename":"file1"},{"photo_id":"1327443154","filename":"file0"},{"photo_id":"1327443209","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443209":["hashtag1","hashtag2"]},{"1327443199":["hashtag1","hashtag2"]},{"1327443196":["hashtag1","hashtag2"]},{"1327443154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443209, 1327443199, 1327443196, 1327443154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12971353530884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:09:03.155197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:09:22.604472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0003.jpg', '/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0000.jpg', '/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0001.jpg', '/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/08/image_08012025_11_08_02_708210_0003.jpg
/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0000.jpg
/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0001.jpg
/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443243","1327443253","1327443250","1327443247"],"photo_ids_order":["1327443243","1327443247","1327443250","1327443253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80d2d48064c018607f043593e4a92461.jpg","text":"TemporaryFile(/tmp/multipartBody6679077336242527392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331032618,"filename":"image_08012025_11_08_02_708210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50c0d78c03f1ec67465e8c6b85f0abd4.jpg","text":"TemporaryFile(/tmp/multipartBody395227580432394829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331032618,"filename":"image_08012025_11_09_02_854695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1bd9c1d57d58bcbee9f2a67ca4fa0713.jpg","text":"TemporaryFile(/tmp/multipartBody3416255480824042749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331032618,"filename":"image_08012025_11_09_02_854695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0babaea4fafca03b1256a97f82667445.jpg","text":"TemporaryFile(/tmp/multipartBody3029118640291670811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331032618,"filename":"image_08012025_11_09_02_854695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443250","file1":"1327443247","file0":"1327443243","file3":"1327443253"},"map_files_photo_id_array":[{"photo_id":"1327443250","filename":"file2"},{"photo_id":"1327443247","filename":"file1"},{"photo_id":"1327443243","filename":"file0"},{"photo_id":"1327443253","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443243":["hashtag1","hashtag2"]},{"1327443253":["hashtag1","hashtag2"]},{"1327443250":["hashtag1","hashtag2"]},{"1327443247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443243, 1327443253, 1327443250, 1327443247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98832821846008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:10:02.343720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:10:21.913568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0003.jpg', '/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0000.jpg', '/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0001.jpg', '/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/09/image_08012025_11_09_02_854695_0003.jpg
/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0000.jpg
/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0001.jpg
/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443281","1327443278","1327443319","1327443276"],"photo_ids_order":["1327443276","1327443278","1327443281","1327443319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efd70a516b9b5f210b3503b4c0ecfd1b.jpg","text":"TemporaryFile(/tmp/multipartBody5536381662933353039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331091842,"filename":"image_08012025_11_10_03_066637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b07b0b538f49eb3e140a5e11557f2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5177026470550418736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331091842,"filename":"image_08012025_11_10_03_066637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed1f7652f8322ac683f725cfeab3d737.jpg","text":"TemporaryFile(/tmp/multipartBody3089438638781478085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331091842,"filename":"image_08012025_11_10_03_066637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a745b58ad84e1cb5fd984739b2f9216.jpg","text":"TemporaryFile(/tmp/multipartBody4959801447887127942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331091842,"filename":"image_08012025_11_09_02_854695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443281","file1":"1327443278","file0":"1327443276","file3":"1327443319"},"map_files_photo_id_array":[{"photo_id":"1327443281","filename":"file2"},{"photo_id":"1327443278","filename":"file1"},{"photo_id":"1327443276","filename":"file0"},{"photo_id":"1327443319","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443281":["hashtag1","hashtag2"]},{"1327443278":["hashtag1","hashtag2"]},{"1327443319":["hashtag1","hashtag2"]},{"1327443276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443281, 1327443278, 1327443319, 1327443276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.422065019607544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:11:02.822462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:11:22.200911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0003.jpg', '/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0000.jpg', '/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0001.jpg', '/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/10/image_08012025_11_10_03_066637_0003.jpg
/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0000.jpg
/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0001.jpg
/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443382","1327443391","1327443385","1327443388"],"photo_ids_order":["1327443382","1327443385","1327443388","1327443391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6ce0b3e78de7743c19d65f3c619c73b.jpg","text":"TemporaryFile(/tmp/multipartBody5545169720043211400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331152220,"filename":"image_08012025_11_10_03_066637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f978c69d154da8726ea176c5be151be.jpg","text":"TemporaryFile(/tmp/multipartBody7526148452685771929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331152220,"filename":"image_08012025_11_11_02_224524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9333d0c069afb0e4d6df9c90180beee.jpg","text":"TemporaryFile(/tmp/multipartBody755993235273857641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331152220,"filename":"image_08012025_11_11_02_224524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d4590e7cfca444d487f77166e05988e.jpg","text":"TemporaryFile(/tmp/multipartBody2362809268867923319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331152220,"filename":"image_08012025_11_11_02_224524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443388","file1":"1327443385","file0":"1327443382","file3":"1327443391"},"map_files_photo_id_array":[{"photo_id":"1327443388","filename":"file2"},{"photo_id":"1327443385","filename":"file1"},{"photo_id":"1327443382","filename":"file0"},{"photo_id":"1327443391","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443382":["hashtag1","hashtag2"]},{"1327443391":["hashtag1","hashtag2"]},{"1327443385":["hashtag1","hashtag2"]},{"1327443388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443382, 1327443391, 1327443385, 1327443388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54983735084534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:12:22.259206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0003.jpg', '/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0000.jpg', '/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0001.jpg', '/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/11/image_08012025_11_11_02_224524_0003.jpg
/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0000.jpg
/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0001.jpg
/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443411","1327443404","1327443407","1327443416"],"photo_ids_order":["1327443404","1327443407","1327443411","1327443416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29cb380e65bbad484d2f678ce791ba83.jpg","text":"TemporaryFile(/tmp/multipartBody4458345899853524629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331212531,"filename":"image_08012025_11_12_02_428567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd5a0936b3d9806588b48e5d93538a01.jpg","text":"TemporaryFile(/tmp/multipartBody2277869032321549779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331212531,"filename":"image_08012025_11_11_02_224524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db932cfb3c0f6d1481ff323fdca0b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody1760500841856166599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331212531,"filename":"image_08012025_11_12_02_428567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/301ab1ae4caa3ef7afdf721424316988.jpg","text":"TemporaryFile(/tmp/multipartBody7079411969529330701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331212531,"filename":"image_08012025_11_12_02_428567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443411","file1":"1327443407","file0":"1327443404","file3":"1327443416"},"map_files_photo_id_array":[{"photo_id":"1327443411","filename":"file2"},{"photo_id":"1327443407","filename":"file1"},{"photo_id":"1327443404","filename":"file0"},{"photo_id":"1327443416","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443411":["hashtag1","hashtag2"]},{"1327443404":["hashtag1","hashtag2"]},{"1327443407":["hashtag1","hashtag2"]},{"1327443416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443411, 1327443404, 1327443407, 1327443416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9406418800354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:13:03.000629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:13:22.399775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0003.jpg', '/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0000.jpg', '/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0001.jpg', '/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/12/image_08012025_11_12_02_428567_0003.jpg
/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0000.jpg
/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0001.jpg
/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443447","1327443440","1327443443","1327443445"],"photo_ids_order":["1327443440","1327443443","1327443445","1327443447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77aeac36cf28494a1095d12267203118.jpg","text":"TemporaryFile(/tmp/multipartBody8958361800803666457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331272740,"filename":"image_08012025_11_13_02_623353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5375999fe9c3e0e4ec04a323d123a34.jpg","text":"TemporaryFile(/tmp/multipartBody7243439128875393037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331272740,"filename":"image_08012025_11_12_02_428567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a239f8d30376fd29ab7468621eb8478.jpg","text":"TemporaryFile(/tmp/multipartBody6158025334268980845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331272740,"filename":"image_08012025_11_13_02_623353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/558c3de572a4147261ecd40625bbed53.jpg","text":"TemporaryFile(/tmp/multipartBody1820158059546866884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331272740,"filename":"image_08012025_11_13_02_623353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443445","file1":"1327443443","file0":"1327443440","file3":"1327443447"},"map_files_photo_id_array":[{"photo_id":"1327443445","filename":"file2"},{"photo_id":"1327443443","filename":"file1"},{"photo_id":"1327443440","filename":"file0"},{"photo_id":"1327443447","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443447":["hashtag1","hashtag2"]},{"1327443440":["hashtag1","hashtag2"]},{"1327443443":["hashtag1","hashtag2"]},{"1327443445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443447, 1327443440, 1327443443, 1327443445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57706308364868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:14:03.009554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:14:22.572268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0003.jpg', '/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0000.jpg', '/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0001.jpg', '/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/13/image_08012025_11_13_02_623353_0003.jpg
/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0000.jpg
/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0001.jpg
/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443519","1327443513","1327443516","1327443508"],"photo_ids_order":["1327443508","1327443513","1327443516","1327443519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b835e7a8dce50cea17f4595af4cc55a9.jpg","text":"TemporaryFile(/tmp/multipartBody555374799694935430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331332871,"filename":"image_08012025_11_14_02_790600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4156c96efc9ff7128b2145f999ac705e.jpg","text":"TemporaryFile(/tmp/multipartBody1302364483373756805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331332871,"filename":"image_08012025_11_14_02_790600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9e7c0eaf9ba71cc7a56f950e0c19714.jpg","text":"TemporaryFile(/tmp/multipartBody7754469531454656443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331332871,"filename":"image_08012025_11_14_02_790600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/062b5e476b8187e1c775bbd753eea621.jpg","text":"TemporaryFile(/tmp/multipartBody8063396187634693381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331332871,"filename":"image_08012025_11_13_02_623353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443516","file1":"1327443513","file0":"1327443508","file3":"1327443519"},"map_files_photo_id_array":[{"photo_id":"1327443516","filename":"file2"},{"photo_id":"1327443513","filename":"file1"},{"photo_id":"1327443508","filename":"file0"},{"photo_id":"1327443519","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443519":["hashtag1","hashtag2"]},{"1327443513":["hashtag1","hashtag2"]},{"1327443516":["hashtag1","hashtag2"]},{"1327443508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443519, 1327443513, 1327443516, 1327443508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.943971157073975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:15:22.802691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0003.jpg', '/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0000.jpg', '/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0001.jpg', '/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/14/image_08012025_11_14_02_790600_0003.jpg
/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0000.jpg
/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0001.jpg
/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443551","1327443545","1327443541","1327443537"],"photo_ids_order":["1327443537","1327443541","1327443545","1327443551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4eff01090d00960ce7da36c9526c682a.jpg","text":"TemporaryFile(/tmp/multipartBody1888461117091403604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331393035,"filename":"image_08012025_11_15_02_932021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a87c544508265d415237746c63be66b.jpg","text":"TemporaryFile(/tmp/multipartBody2856647344250885508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331393035,"filename":"image_08012025_11_15_02_932021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1dc8856dae1fcbcd8c2d52a13e7f39fa.jpg","text":"TemporaryFile(/tmp/multipartBody1966286237180032084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331393035,"filename":"image_08012025_11_15_02_932021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a4f109f62bd7782e30ebe7b88f4e01e.jpg","text":"TemporaryFile(/tmp/multipartBody4797606043956121646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331393035,"filename":"image_08012025_11_14_02_790600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443545","file1":"1327443541","file0":"1327443537","file3":"1327443551"},"map_files_photo_id_array":[{"photo_id":"1327443545","filename":"file2"},{"photo_id":"1327443541","filename":"file1"},{"photo_id":"1327443537","filename":"file0"},{"photo_id":"1327443551","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443551":["hashtag1","hashtag2"]},{"1327443545":["hashtag1","hashtag2"]},{"1327443541":["hashtag1","hashtag2"]},{"1327443537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443551, 1327443545, 1327443541, 1327443537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.940898180007935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:16:21.982070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0003.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0000.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0001.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0003.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0000.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0001.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.723343849182129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:16:41.977578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0003.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0000.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0001.jpg', '/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/15/image_08012025_11_15_02_932021_0003.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0000.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0001.jpg
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443621","1327443626","1327443595","1327443592"],"photo_ids_order":["1327443592","1327443595","1327443621","1327443626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/141029e72cc271c214ea7af272250a84.jpg","text":"TemporaryFile(/tmp/multipartBody5738837076883948554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331472117,"filename":"image_08012025_11_16_03_078485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1449ef2eb91b7ab92147f3f7f2de3bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1812290679168538436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331472117,"filename":"image_08012025_11_16_03_078485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbb1410b00eaf60dcca5f0bfa1762cfa.jpg","text":"TemporaryFile(/tmp/multipartBody536618864998175925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331472117,"filename":"image_08012025_11_16_03_078485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eed640cd264fbaa159a2d88854463563.jpg","text":"TemporaryFile(/tmp/multipartBody3230672028629084202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331472117,"filename":"image_08012025_11_15_02_932021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443621","file1":"1327443595","file0":"1327443592","file3":"1327443626"},"map_files_photo_id_array":[{"photo_id":"1327443621","filename":"file2"},{"photo_id":"1327443595","filename":"file1"},{"photo_id":"1327443592","filename":"file0"},{"photo_id":"1327443626","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443621":["hashtag1","hashtag2"]},{"1327443626":["hashtag1","hashtag2"]},{"1327443595":["hashtag1","hashtag2"]},{"1327443592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443621, 1327443626, 1327443595, 1327443592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37636637687683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 11:17:32.098247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0003.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0000.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0001.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0003.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0000.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0001.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.84904956817627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 11:17:52.065445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0003.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0000.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0001.jpg', '/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/16/image_08012025_11_16_03_078485_0003.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0000.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0001.jpg
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443843","1327443880","1327443841","1327443826"],"photo_ids_order":["1327443826","1327443841","1327443843","1327443880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf69cce9662056c90e6290851fcdc955.jpg","text":"TemporaryFile(/tmp/multipartBody5369052340163164443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331542339,"filename":"image_08012025_11_17_02_301516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a46168adee755b9104131a42e93289d.jpg","text":"TemporaryFile(/tmp/multipartBody639733509571215772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331542339,"filename":"image_08012025_11_17_02_301516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b49dc89c0649dc68851c785258d4911.jpg","text":"TemporaryFile(/tmp/multipartBody5506624482232461336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331542339,"filename":"image_08012025_11_17_02_301516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e2ec1ebb9f731387202317edd25dec7.jpg","text":"TemporaryFile(/tmp/multipartBody511730128703506252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331542339,"filename":"image_08012025_11_16_03_078485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443843","file1":"1327443841","file0":"1327443826","file3":"1327443880"},"map_files_photo_id_array":[{"photo_id":"1327443843","filename":"file2"},{"photo_id":"1327443841","filename":"file1"},{"photo_id":"1327443826","filename":"file0"},{"photo_id":"1327443880","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443843":["hashtag1","hashtag2"]},{"1327443880":["hashtag1","hashtag2"]},{"1327443841":["hashtag1","hashtag2"]},{"1327443826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443843, 1327443880, 1327443841, 1327443826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.037248373031616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 11:18:32.261220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0003.jpg', '/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0000.jpg', '/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0001.jpg', '/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/17/image_08012025_11_17_02_301516_0003.jpg
/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0000.jpg
/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0001.jpg
/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327443953","1327443952","1327443949","1327443946"],"photo_ids_order":["1327443946","1327443949","1327443952","1327443953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6a56cd7ba1fb17f3ec8c4f42ed45a44.jpg","text":"TemporaryFile(/tmp/multipartBody2177990516263272729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331582509,"filename":"image_08012025_11_18_02_493502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/505a4aeade38e4808908ab4f232cbb95.jpg","text":"TemporaryFile(/tmp/multipartBody6033770875368345492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331582509,"filename":"image_08012025_11_18_02_493502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3310cfdb4f9af802a310938b29305c01.jpg","text":"TemporaryFile(/tmp/multipartBody2780686842107926642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331582509,"filename":"image_08012025_11_18_02_493502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c156eb75964d9b9f4402090f7341a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4572922387223516746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331582509,"filename":"image_08012025_11_17_02_301516_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327443952","file1":"1327443949","file0":"1327443946","file3":"1327443953"},"map_files_photo_id_array":[{"photo_id":"1327443952","filename":"file2"},{"photo_id":"1327443949","filename":"file1"},{"photo_id":"1327443946","filename":"file0"},{"photo_id":"1327443953","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327443953":["hashtag1","hashtag2"]},{"1327443952":["hashtag1","hashtag2"]},{"1327443949":["hashtag1","hashtag2"]},{"1327443946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327443953, 1327443952, 1327443949, 1327443946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.678579568862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:19:22.452941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0003.jpg', '/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0000.jpg', '/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0001.jpg', '/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/18/image_08012025_11_18_02_493502_0003.jpg
/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0000.jpg
/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0001.jpg
/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444025","1327444028","1327443981","1327443987"],"photo_ids_order":["1327443981","1327443987","1327444025","1327444028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98201337676d2540fa51eec44b693bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1860481837364056683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331632594,"filename":"image_08012025_11_19_02_628950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11c697b0a1921ddbe6bce974cd43a0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3430578316398509931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331632594,"filename":"image_08012025_11_19_02_628950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f621e7b431be6f49732fa917777b157.jpg","text":"TemporaryFile(/tmp/multipartBody2517144587765216004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331632594,"filename":"image_08012025_11_18_02_493502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2830d9af390c8efa3d229233d1e32850.jpg","text":"TemporaryFile(/tmp/multipartBody305636062603986923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331632594,"filename":"image_08012025_11_19_02_628950_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444025","file1":"1327443987","file0":"1327443981","file3":"1327444028"},"map_files_photo_id_array":[{"photo_id":"1327444025","filename":"file2"},{"photo_id":"1327443987","filename":"file1"},{"photo_id":"1327443981","filename":"file0"},{"photo_id":"1327444028","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444025":["hashtag1","hashtag2"]},{"1327444028":["hashtag1","hashtag2"]},{"1327443981":["hashtag1","hashtag2"]},{"1327443987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444025, 1327444028, 1327443981, 1327443987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75516963005066 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-08 11:20:22.813455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0003.jpg', '/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0000.jpg', '/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0001.jpg', '/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/19/image_08012025_11_19_02_628950_0003.jpg
/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0000.jpg
/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0001.jpg
/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444218","1327444178","1327444211","1327444215"],"photo_ids_order":["1327444178","1327444211","1327444215","1327444218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ab2d55dabb980713b07601a6646cd20.jpg","text":"TemporaryFile(/tmp/multipartBody2556858753130542693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331693125,"filename":"image_08012025_11_20_02_824497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75118a7de07baa0bf4a2229c01fecb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8789941182057950201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331693125,"filename":"image_08012025_11_19_02_628950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ab71ca0afa385262bc47145c17a78d2.jpg","text":"TemporaryFile(/tmp/multipartBody1565847190794076603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331693125,"filename":"image_08012025_11_20_02_824497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca8ad10f7017cd4ee3f05764574612e3.jpg","text":"TemporaryFile(/tmp/multipartBody4938927309137841854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331693125,"filename":"image_08012025_11_20_02_824497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444215","file1":"1327444211","file0":"1327444178","file3":"1327444218"},"map_files_photo_id_array":[{"photo_id":"1327444215","filename":"file2"},{"photo_id":"1327444211","filename":"file1"},{"photo_id":"1327444178","filename":"file0"},{"photo_id":"1327444218","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444218":["hashtag1","hashtag2"]},{"1327444178":["hashtag1","hashtag2"]},{"1327444211":["hashtag1","hashtag2"]},{"1327444215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444218, 1327444178, 1327444211, 1327444215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27045130729675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:21:02.559924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:21:21.938124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0003.jpg', '/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0000.jpg', '/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0001.jpg', '/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/20/image_08012025_11_20_02_824497_0003.jpg
/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0000.jpg
/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0001.jpg
/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444235","1327444231","1327444237","1327444239"],"photo_ids_order":["1327444231","1327444235","1327444237","1327444239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5f7b8dbdd327f94b580d2b73a18d6d7.jpg","text":"TemporaryFile(/tmp/multipartBody8307815847746325084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331752251,"filename":"image_08012025_11_21_03_162081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13e2ab4b1adfc6aa281385d9f2a698c6.jpg","text":"TemporaryFile(/tmp/multipartBody4570419057129668102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331752251,"filename":"image_08012025_11_20_02_824497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e51f5bc467049e9833b328c3b064507f.jpg","text":"TemporaryFile(/tmp/multipartBody4233471589129883747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331752251,"filename":"image_08012025_11_21_03_162081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20bf73cfb164a3ee34c173dd9dfb6d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3339922058426865167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331752251,"filename":"image_08012025_11_21_03_162081_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444237","file1":"1327444235","file0":"1327444231","file3":"1327444239"},"map_files_photo_id_array":[{"photo_id":"1327444237","filename":"file2"},{"photo_id":"1327444235","filename":"file1"},{"photo_id":"1327444231","filename":"file0"},{"photo_id":"1327444239","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444235":["hashtag1","hashtag2"]},{"1327444231":["hashtag1","hashtag2"]},{"1327444237":["hashtag1","hashtag2"]},{"1327444239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444235, 1327444231, 1327444237, 1327444239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67402625083923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:22:02.419830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:22:22.131985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0003.jpg', '/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0000.jpg', '/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0001.jpg', '/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/21/image_08012025_11_21_03_162081_0003.jpg
/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0000.jpg
/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0001.jpg
/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444294","1327444288","1327444298","1327444283"],"photo_ids_order":["1327444283","1327444288","1327444294","1327444298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d89a3942a92953451fcd38fac81c013.jpg","text":"TemporaryFile(/tmp/multipartBody4190253308908717352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331812298,"filename":"image_08012025_11_22_02_318758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e432662bd930bb322bc983315e6f9264.jpg","text":"TemporaryFile(/tmp/multipartBody2139521573790475420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331812298,"filename":"image_08012025_11_22_02_318758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffb4e50d66fab35008a1cc3429c696fd.jpg","text":"TemporaryFile(/tmp/multipartBody5291487907125652998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331812298,"filename":"image_08012025_11_22_02_318758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44db0d25b0fe60b8efae235f241d7373.jpg","text":"TemporaryFile(/tmp/multipartBody1693085104282586463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331812298,"filename":"image_08012025_11_21_03_162081_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444294","file1":"1327444288","file0":"1327444283","file3":"1327444298"},"map_files_photo_id_array":[{"photo_id":"1327444294","filename":"file2"},{"photo_id":"1327444288","filename":"file1"},{"photo_id":"1327444283","filename":"file0"},{"photo_id":"1327444298","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444294":["hashtag1","hashtag2"]},{"1327444288":["hashtag1","hashtag2"]},{"1327444298":["hashtag1","hashtag2"]},{"1327444283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444294, 1327444288, 1327444298, 1327444283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42435836791992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:23:02.953893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:23:22.366873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0003.jpg', '/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0000.jpg', '/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0001.jpg', '/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/22/image_08012025_11_22_02_318758_0003.jpg
/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0000.jpg
/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0001.jpg
/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444322","1327444316","1327444319","1327444312"],"photo_ids_order":["1327444312","1327444316","1327444319","1327444322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc4a5ebf50d105452e3077599d772ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6645842565436229343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331872711,"filename":"image_08012025_11_23_02_486915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82014c15f73c30349c2923dfdcd12f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3271794912639237859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331872711,"filename":"image_08012025_11_23_02_486915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17e9204b59f0b9e56b6f186bd5b4db1c.jpg","text":"TemporaryFile(/tmp/multipartBody6346513199689758312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331872711,"filename":"image_08012025_11_23_02_486915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02c8c935f4774d759c01d47b9ca69fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5850290692115569480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331872711,"filename":"image_08012025_11_22_02_318758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444319","file1":"1327444316","file0":"1327444312","file3":"1327444322"},"map_files_photo_id_array":[{"photo_id":"1327444319","filename":"file2"},{"photo_id":"1327444316","filename":"file1"},{"photo_id":"1327444312","filename":"file0"},{"photo_id":"1327444322","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444322":["hashtag1","hashtag2"]},{"1327444316":["hashtag1","hashtag2"]},{"1327444319":["hashtag1","hashtag2"]},{"1327444312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444322, 1327444316, 1327444319, 1327444312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82627606391907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:24:22.583116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0003.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0000.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0001.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0003.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0000.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0001.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85898208618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:24:42.561894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0003.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0000.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0001.jpg', '/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/23/image_08012025_11_23_02_486915_0003.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0000.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0001.jpg
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444379","1327444363","1327444368","1327444365"],"photo_ids_order":["1327444363","1327444365","1327444368","1327444379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89ff49c6392cdff3255d4297ab6d4e91.jpg","text":"TemporaryFile(/tmp/multipartBody6213581502047133636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331952817,"filename":"image_08012025_11_24_02_703252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/149e2133d87f8c7016c36d97c9e9ee77.jpg","text":"TemporaryFile(/tmp/multipartBody3254409924118037162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331952817,"filename":"image_08012025_11_23_02_486915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7788790235b62f647e352a80e2a2644.jpg","text":"TemporaryFile(/tmp/multipartBody3263484301421779283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331952817,"filename":"image_08012025_11_24_02_703252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50deb98c02d5adade6700d66ec1499d5.jpg","text":"TemporaryFile(/tmp/multipartBody4549461095943190527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331952817,"filename":"image_08012025_11_24_02_703252_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444368","file1":"1327444365","file0":"1327444363","file3":"1327444379"},"map_files_photo_id_array":[{"photo_id":"1327444368","filename":"file2"},{"photo_id":"1327444365","filename":"file1"},{"photo_id":"1327444363","filename":"file0"},{"photo_id":"1327444379","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444379":["hashtag1","hashtag2"]},{"1327444363":["hashtag1","hashtag2"]},{"1327444368":["hashtag1","hashtag2"]},{"1327444365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444379, 1327444363, 1327444368, 1327444365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89777731895447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:25:22.836019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0003.jpg', '/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0000.jpg', '/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0001.jpg', '/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/24/image_08012025_11_24_02_703252_0003.jpg
/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0000.jpg
/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0001.jpg
/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444531","1327444525","1327444446","1327444496"],"photo_ids_order":["1327444446","1327444496","1327444525","1327444531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ae25504fefb0e55ee9506bd8cbcdf7d.jpg","text":"TemporaryFile(/tmp/multipartBody6167809538285050587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331993071,"filename":"image_08012025_11_25_02_956308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fd73e4663ac7f7b6a5a48a65ca81ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7965780014944905906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331993071,"filename":"image_08012025_11_25_02_956308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aec7b91566719b17ce26c68509cb4a25.jpg","text":"TemporaryFile(/tmp/multipartBody7069366217647762399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331993071,"filename":"image_08012025_11_24_02_703252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02d52a08717692507b36802a8fd89479.jpg","text":"TemporaryFile(/tmp/multipartBody1505932944122499237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736331993071,"filename":"image_08012025_11_25_02_956308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444525","file1":"1327444496","file0":"1327444446","file3":"1327444531"},"map_files_photo_id_array":[{"photo_id":"1327444525","filename":"file2"},{"photo_id":"1327444496","filename":"file1"},{"photo_id":"1327444446","filename":"file0"},{"photo_id":"1327444531","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444531":["hashtag1","hashtag2"]},{"1327444525":["hashtag1","hashtag2"]},{"1327444446":["hashtag1","hashtag2"]},{"1327444496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444531, 1327444525, 1327444446, 1327444496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.163374185562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:26:22.034747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0003.jpg', '/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0000.jpg', '/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0001.jpg', '/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/25/image_08012025_11_25_02_956308_0003.jpg
/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0000.jpg
/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0001.jpg
/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444706","1327444561","1327444555","1327444702"],"photo_ids_order":["1327444555","1327444561","1327444702","1327444706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb544f26cf571d3587b0b78616b3a2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5143914715773088340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332052358,"filename":"image_08012025_11_26_03_148159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a70fab88faf4a85df396514d09497fb.jpg","text":"TemporaryFile(/tmp/multipartBody9939202971653161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332052358,"filename":"image_08012025_11_26_03_148159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad1510dcb82e9e9abe184dfeebbc6707.jpg","text":"TemporaryFile(/tmp/multipartBody8333228074164175541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332052358,"filename":"image_08012025_11_25_02_956308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd67dbc40a05eff84d0ec6aea70aab67.jpg","text":"TemporaryFile(/tmp/multipartBody9044438579962618557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332052358,"filename":"image_08012025_11_26_03_148159_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444702","file1":"1327444561","file0":"1327444555","file3":"1327444706"},"map_files_photo_id_array":[{"photo_id":"1327444702","filename":"file2"},{"photo_id":"1327444561","filename":"file1"},{"photo_id":"1327444555","filename":"file0"},{"photo_id":"1327444706","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444706":["hashtag1","hashtag2"]},{"1327444561":["hashtag1","hashtag2"]},{"1327444555":["hashtag1","hashtag2"]},{"1327444702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444706, 1327444561, 1327444555, 1327444702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75025033950806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:27:02.853854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:27:22.172115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0003.jpg', '/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0000.jpg', '/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0001.jpg', '/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/26/image_08012025_11_26_03_148159_0003.jpg
/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0000.jpg
/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0001.jpg
/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444844","1327444852","1327444858","1327444863"],"photo_ids_order":["1327444844","1327444852","1327444858","1327444863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfd1d1e15cb34fc2b523b2aa717f75ef.jpg","text":"TemporaryFile(/tmp/multipartBody6279219553060169311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332112387,"filename":"image_08012025_11_26_03_148159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5cc9db4e5b04fd983556aeeb89ab7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3664779639436081756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332112387,"filename":"image_08012025_11_27_02_323016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a2f5b87ad6460ff2b2485bedec20f95.jpg","text":"TemporaryFile(/tmp/multipartBody6847736676310844531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332112387,"filename":"image_08012025_11_27_02_323016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f7bd68458c5e51d769f96a32614d080.jpg","text":"TemporaryFile(/tmp/multipartBody20560611135121853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332112387,"filename":"image_08012025_11_27_02_323016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444858","file1":"1327444852","file0":"1327444844","file3":"1327444863"},"map_files_photo_id_array":[{"photo_id":"1327444858","filename":"file2"},{"photo_id":"1327444852","filename":"file1"},{"photo_id":"1327444844","filename":"file0"},{"photo_id":"1327444863","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444844":["hashtag1","hashtag2"]},{"1327444852":["hashtag1","hashtag2"]},{"1327444858":["hashtag1","hashtag2"]},{"1327444863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444844, 1327444852, 1327444858, 1327444863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97020363807678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:28:22.345106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0003.jpg', '/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0000.jpg', '/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0001.jpg', '/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/27/image_08012025_11_27_02_323016_0003.jpg
/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0000.jpg
/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0001.jpg
/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327444972","1327444933","1327444956","1327444941"],"photo_ids_order":["1327444933","1327444941","1327444956","1327444972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2e1f71874116b4927cbd2070f66cd94.jpg","text":"TemporaryFile(/tmp/multipartBody7749814835598036339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332172608,"filename":"image_08012025_11_28_02_467143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2132ae013ec35b74e37720898ddf2963.jpg","text":"TemporaryFile(/tmp/multipartBody7872784114742128906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332172608,"filename":"image_08012025_11_27_02_323016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b126b81c67eff89b1e7f7583c4dd21d.jpg","text":"TemporaryFile(/tmp/multipartBody3645892899951406516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332172608,"filename":"image_08012025_11_28_02_467143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41a4f7ed8e3d68bd5ad8fc08ef593769.jpg","text":"TemporaryFile(/tmp/multipartBody2280460229070680425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332172608,"filename":"image_08012025_11_28_02_467143_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327444956","file1":"1327444941","file0":"1327444933","file3":"1327444972"},"map_files_photo_id_array":[{"photo_id":"1327444956","filename":"file2"},{"photo_id":"1327444941","filename":"file1"},{"photo_id":"1327444933","filename":"file0"},{"photo_id":"1327444972","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327444972":["hashtag1","hashtag2"]},{"1327444933":["hashtag1","hashtag2"]},{"1327444956":["hashtag1","hashtag2"]},{"1327444941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327444972, 1327444933, 1327444956, 1327444941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91683650016785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:29:22.634490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0003.jpg', '/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0000.jpg', '/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0001.jpg', '/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/28/image_08012025_11_28_02_467143_0003.jpg
/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0000.jpg
/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0001.jpg
/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445018","1327445023","1327445007","1327445001"],"photo_ids_order":["1327445001","1327445007","1327445018","1327445023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d0f8b9db210a6108d2985dc2656d05b.jpg","text":"TemporaryFile(/tmp/multipartBody4977780775058726369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332232928,"filename":"image_08012025_11_29_02_712903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aabc929c5e59d2ad1dea2031596585b0.jpg","text":"TemporaryFile(/tmp/multipartBody6853914930099250472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332232928,"filename":"image_08012025_11_29_02_712903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05c9a28821d106a2aef6bddba8e95bea.jpg","text":"TemporaryFile(/tmp/multipartBody7445743292000953135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332232928,"filename":"image_08012025_11_29_02_712903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea3613f15e3f0de0939f718663ef7d03.jpg","text":"TemporaryFile(/tmp/multipartBody6691884529831935729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332232928,"filename":"image_08012025_11_28_02_467143_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445018","file1":"1327445007","file0":"1327445001","file3":"1327445023"},"map_files_photo_id_array":[{"photo_id":"1327445018","filename":"file2"},{"photo_id":"1327445007","filename":"file1"},{"photo_id":"1327445001","filename":"file0"},{"photo_id":"1327445023","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445018":["hashtag1","hashtag2"]},{"1327445023":["hashtag1","hashtag2"]},{"1327445007":["hashtag1","hashtag2"]},{"1327445001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445018, 1327445023, 1327445007, 1327445001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25379467010498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:30:22.748248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0003.jpg', '/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0000.jpg', '/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0001.jpg', '/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/29/image_08012025_11_29_02_712903_0003.jpg
/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0000.jpg
/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0001.jpg
/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445105","1327445089","1327445113","1327445073"],"photo_ids_order":["1327445073","1327445089","1327445105","1327445113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfcf11e69219a47b458d1eb206df52e5.jpg","text":"TemporaryFile(/tmp/multipartBody7402008228842226596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332293049,"filename":"image_08012025_11_30_02_872839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/960380958addb87c2c7bf9efb2501da7.jpg","text":"TemporaryFile(/tmp/multipartBody7309473833549109946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332293049,"filename":"image_08012025_11_30_02_872839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d26a4213a9c348f9b5755650aeea2b25.jpg","text":"TemporaryFile(/tmp/multipartBody2980296630912572786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332293049,"filename":"image_08012025_11_30_02_872839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df6b1c05d0d2a0c0be034e77831e42a1.jpg","text":"TemporaryFile(/tmp/multipartBody8168813424098537992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332293049,"filename":"image_08012025_11_29_02_712903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445105","file1":"1327445089","file0":"1327445073","file3":"1327445113"},"map_files_photo_id_array":[{"photo_id":"1327445105","filename":"file2"},{"photo_id":"1327445089","filename":"file1"},{"photo_id":"1327445073","filename":"file0"},{"photo_id":"1327445113","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445105":["hashtag1","hashtag2"]},{"1327445089":["hashtag1","hashtag2"]},{"1327445113":["hashtag1","hashtag2"]},{"1327445073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445105, 1327445089, 1327445113, 1327445073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47749471664429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:31:21.985669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0003.jpg', '/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0000.jpg', '/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0001.jpg', '/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/30/image_08012025_11_30_02_872839_0003.jpg
/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0000.jpg
/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0001.jpg
/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445173","1327445166","1327445178","1327445211"],"photo_ids_order":["1327445166","1327445173","1327445178","1327445211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f26e358fff178ebd1b126ecb45a50c61.jpg","text":"TemporaryFile(/tmp/multipartBody8620628815443194591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332352378,"filename":"image_08012025_11_31_03_071119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f81c9301c76ad201d585f7f0b7c03e82.jpg","text":"TemporaryFile(/tmp/multipartBody1021917433577902543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332352378,"filename":"image_08012025_11_30_02_872839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f14fbd91bb94d447a65233e3d247eae4.jpg","text":"TemporaryFile(/tmp/multipartBody5657570604523408571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332352378,"filename":"image_08012025_11_31_03_071119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/317d22542a8acefbae27ccc9f37adfff.jpg","text":"TemporaryFile(/tmp/multipartBody7147473711461116811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332352378,"filename":"image_08012025_11_31_03_071119_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445178","file1":"1327445173","file0":"1327445166","file3":"1327445211"},"map_files_photo_id_array":[{"photo_id":"1327445178","filename":"file2"},{"photo_id":"1327445173","filename":"file1"},{"photo_id":"1327445166","filename":"file0"},{"photo_id":"1327445211","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445173":["hashtag1","hashtag2"]},{"1327445166":["hashtag1","hashtag2"]},{"1327445178":["hashtag1","hashtag2"]},{"1327445211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445173, 1327445166, 1327445178, 1327445211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39861536026001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:32:02.420648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:32:22.148851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0003.jpg', '/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0000.jpg', '/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0001.jpg', '/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/31/image_08012025_11_31_03_071119_0003.jpg
/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0000.jpg
/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0001.jpg
/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445224","1327445233","1327445227","1327445231"],"photo_ids_order":["1327445224","1327445227","1327445231","1327445233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d197802aec20ba950bb38b83dab6c71.jpg","text":"TemporaryFile(/tmp/multipartBody4212755337013745670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332412642,"filename":"image_08012025_11_31_03_071119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41ca046e197218c4bc702e6762043fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4920747396747918619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332412642,"filename":"image_08012025_11_32_02_334579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7fcea54149f152fa70b61c4642e7062e.jpg","text":"TemporaryFile(/tmp/multipartBody8780748718317523100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332412642,"filename":"image_08012025_11_32_02_334579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad9bb311cf0e8bfc902ff213fc2c3459.jpg","text":"TemporaryFile(/tmp/multipartBody4199073105732839696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332412642,"filename":"image_08012025_11_32_02_334579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445231","file1":"1327445227","file0":"1327445224","file3":"1327445233"},"map_files_photo_id_array":[{"photo_id":"1327445231","filename":"file2"},{"photo_id":"1327445227","filename":"file1"},{"photo_id":"1327445224","filename":"file0"},{"photo_id":"1327445233","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445224":["hashtag1","hashtag2"]},{"1327445233":["hashtag1","hashtag2"]},{"1327445227":["hashtag1","hashtag2"]},{"1327445231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445224, 1327445233, 1327445227, 1327445231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.342512369155884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:33:22.283902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0003.jpg', '/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0000.jpg', '/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0001.jpg', '/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/32/image_08012025_11_32_02_334579_0003.jpg
/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0000.jpg
/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0001.jpg
/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445380","1327445367","1327445376","1327445372"],"photo_ids_order":["1327445367","1327445372","1327445376","1327445380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c16b1441a9b68900c133f1f0390923b.jpg","text":"TemporaryFile(/tmp/multipartBody6958894019562004777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332472639,"filename":"image_08012025_11_33_02_428796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2291aedcd4d30a2edc132b2eb3249070.jpg","text":"TemporaryFile(/tmp/multipartBody7045405982950650926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332472639,"filename":"image_08012025_11_32_02_334579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2389006d69b9724398ccb5cd443c38cf.jpg","text":"TemporaryFile(/tmp/multipartBody1835768371687226513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332472639,"filename":"image_08012025_11_33_02_428796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5a4284e67dda68f2a19e17b666f5729.jpg","text":"TemporaryFile(/tmp/multipartBody3890331324963394046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332472639,"filename":"image_08012025_11_33_02_428796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445376","file1":"1327445372","file0":"1327445367","file3":"1327445380"},"map_files_photo_id_array":[{"photo_id":"1327445376","filename":"file2"},{"photo_id":"1327445372","filename":"file1"},{"photo_id":"1327445367","filename":"file0"},{"photo_id":"1327445380","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445380":["hashtag1","hashtag2"]},{"1327445367":["hashtag1","hashtag2"]},{"1327445376":["hashtag1","hashtag2"]},{"1327445372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445380, 1327445367, 1327445376, 1327445372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.515711307525635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:34:02.816634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:34:22.475354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0003.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0000.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0001.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0003.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0000.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0001.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.862170457839966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:34:42.421366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0003.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0000.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0001.jpg', '/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/33/image_08012025_11_33_02_428796_0003.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0000.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0001.jpg
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445464","1327445431","1327445466","1327445433"],"photo_ids_order":["1327445431","1327445433","1327445464","1327445466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fcfb1b0e2c700aedd2dea673291d80aa.jpg","text":"TemporaryFile(/tmp/multipartBody8733855909395474036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332552652,"filename":"image_08012025_11_34_02_578127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/544a5d2bc3fa94ec296a526d3c2eadd0.jpg","text":"TemporaryFile(/tmp/multipartBody5716221487016559312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332552652,"filename":"image_08012025_11_33_02_428796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56987973ce3fdb96fce019b6435ecac7.jpg","text":"TemporaryFile(/tmp/multipartBody296460099452907491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332552652,"filename":"image_08012025_11_34_02_578127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2b714a3f48a7e1704296bffa9a8dc2e.jpg","text":"TemporaryFile(/tmp/multipartBody33538877164914562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332552652,"filename":"image_08012025_11_34_02_578127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445464","file1":"1327445433","file0":"1327445431","file3":"1327445466"},"map_files_photo_id_array":[{"photo_id":"1327445464","filename":"file2"},{"photo_id":"1327445433","filename":"file1"},{"photo_id":"1327445431","filename":"file0"},{"photo_id":"1327445466","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445464":["hashtag1","hashtag2"]},{"1327445431":["hashtag1","hashtag2"]},{"1327445466":["hashtag1","hashtag2"]},{"1327445433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445464, 1327445431, 1327445466, 1327445433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.64011359214783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:35:22.629636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0003.jpg', '/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0000.jpg', '/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0001.jpg', '/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/34/image_08012025_11_34_02_578127_0003.jpg
/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0000.jpg
/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0001.jpg
/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445482","1327445478","1327445487","1327445475"],"photo_ids_order":["1327445475","1327445478","1327445482","1327445487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22fcc34b1e2580c4f1551af9f0251c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6743978284518720933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332592918,"filename":"image_08012025_11_35_02_831345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11604e11c29fc806ee07232a50800cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1088495939486819587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332592918,"filename":"image_08012025_11_35_02_831345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed5087c6c0a9ba16b8bd02875286cb8e.jpg","text":"TemporaryFile(/tmp/multipartBody5723043437253111156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332592918,"filename":"image_08012025_11_35_02_831345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a43ce72693870ce772e7e048f4e08af.jpg","text":"TemporaryFile(/tmp/multipartBody3801401510917285317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332592918,"filename":"image_08012025_11_34_02_578127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445482","file1":"1327445478","file0":"1327445475","file3":"1327445487"},"map_files_photo_id_array":[{"photo_id":"1327445482","filename":"file2"},{"photo_id":"1327445478","filename":"file1"},{"photo_id":"1327445475","filename":"file0"},{"photo_id":"1327445487","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445482":["hashtag1","hashtag2"]},{"1327445478":["hashtag1","hashtag2"]},{"1327445487":["hashtag1","hashtag2"]},{"1327445475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445482, 1327445478, 1327445487, 1327445475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09311556816101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:36:21.826413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0003.jpg', '/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0000.jpg', '/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0001.jpg', '/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/35/image_08012025_11_35_02_831345_0003.jpg
/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0000.jpg
/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0001.jpg
/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445534","1327445518","1327445529","1327445523"],"photo_ids_order":["1327445518","1327445523","1327445529","1327445534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85e7e39e85051b665d6098d7d32898c7.jpg","text":"TemporaryFile(/tmp/multipartBody5813132125286984960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332652107,"filename":"image_08012025_11_36_02_946253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df52ceaf702ccb71a4c49e3ba6822331.jpg","text":"TemporaryFile(/tmp/multipartBody4743148821171475907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332652107,"filename":"image_08012025_11_35_02_831345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d7ffb22bccf52f4a09e36d7549ebc7d.jpg","text":"TemporaryFile(/tmp/multipartBody1763576723361105980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332652107,"filename":"image_08012025_11_36_02_946253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33c9f48428fd399d51b6f2c714691954.jpg","text":"TemporaryFile(/tmp/multipartBody6943189312092977438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332652107,"filename":"image_08012025_11_36_02_946253_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445529","file1":"1327445523","file0":"1327445518","file3":"1327445534"},"map_files_photo_id_array":[{"photo_id":"1327445529","filename":"file2"},{"photo_id":"1327445523","filename":"file1"},{"photo_id":"1327445518","filename":"file0"},{"photo_id":"1327445534","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445534":["hashtag1","hashtag2"]},{"1327445518":["hashtag1","hashtag2"]},{"1327445529":["hashtag1","hashtag2"]},{"1327445523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445534, 1327445518, 1327445529, 1327445523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.359259366989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:37:02.464011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:37:22.005594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0003.jpg', '/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0000.jpg', '/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0001.jpg', '/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/36/image_08012025_11_36_02_946253_0003.jpg
/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0000.jpg
/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0001.jpg
/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445584","1327445668","1327445742","1327445553"],"photo_ids_order":["1327445553","1327445584","1327445668","1327445742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0992670492148e69704f75a54f10ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3942668800018924198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332712219,"filename":"image_08012025_11_37_02_201012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e74604d076ba8601ce9f56abde4bf501.jpg","text":"TemporaryFile(/tmp/multipartBody815473850228977541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332712219,"filename":"image_08012025_11_37_02_201012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8817f681c22ebba0a3a3e979269e180.jpg","text":"TemporaryFile(/tmp/multipartBody4456131745676514071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332712219,"filename":"image_08012025_11_37_02_201012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76ebcbc6a506ccfca5c7fad3ac35f746.jpg","text":"TemporaryFile(/tmp/multipartBody3428205712631464728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332712219,"filename":"image_08012025_11_36_02_946253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445668","file1":"1327445584","file0":"1327445553","file3":"1327445742"},"map_files_photo_id_array":[{"photo_id":"1327445668","filename":"file2"},{"photo_id":"1327445584","filename":"file1"},{"photo_id":"1327445553","filename":"file0"},{"photo_id":"1327445742","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445584":["hashtag1","hashtag2"]},{"1327445668":["hashtag1","hashtag2"]},{"1327445742":["hashtag1","hashtag2"]},{"1327445553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445584, 1327445668, 1327445742, 1327445553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84433174133301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:38:02.696137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:38:22.269911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0003.jpg', '/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0000.jpg', '/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0001.jpg', '/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/37/image_08012025_11_37_02_201012_0003.jpg
/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0000.jpg
/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0001.jpg
/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445812","1327445799","1327445793","1327445805"],"photo_ids_order":["1327445793","1327445799","1327445805","1327445812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7aa39517f0c7a72b2b81d5d6d754269.jpg","text":"TemporaryFile(/tmp/multipartBody3227353736424368793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332772652,"filename":"image_08012025_11_38_02_377546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f47d855d3ae3001003aaed2d9aa0659.jpg","text":"TemporaryFile(/tmp/multipartBody5629125997640892765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332772652,"filename":"image_08012025_11_38_02_377546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1d521bbbfe48f274f135d37e0d1ef11.jpg","text":"TemporaryFile(/tmp/multipartBody1451731988492105778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332772652,"filename":"image_08012025_11_37_02_201012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fed9d28698dbfbf72cff344696f3d129.jpg","text":"TemporaryFile(/tmp/multipartBody7305392622034318382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332772652,"filename":"image_08012025_11_38_02_377546_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445805","file1":"1327445799","file0":"1327445793","file3":"1327445812"},"map_files_photo_id_array":[{"photo_id":"1327445805","filename":"file2"},{"photo_id":"1327445799","filename":"file1"},{"photo_id":"1327445793","filename":"file0"},{"photo_id":"1327445812","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445812":["hashtag1","hashtag2"]},{"1327445799":["hashtag1","hashtag2"]},{"1327445793":["hashtag1","hashtag2"]},{"1327445805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445812, 1327445799, 1327445793, 1327445805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26882219314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:39:02.912885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:39:22.323981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0003.jpg', '/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0000.jpg', '/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0001.jpg', '/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/38/image_08012025_11_38_02_377546_0003.jpg
/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0000.jpg
/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0001.jpg
/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445860","1327445874","1327445865","1327445870"],"photo_ids_order":["1327445860","1327445865","1327445870","1327445874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27b04366c3cf88e4f7ce6331246db951.jpg","text":"TemporaryFile(/tmp/multipartBody8198491323314011800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332832543,"filename":"image_08012025_11_38_02_377546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a48f84e9f98da6dca8312ee4c0e17a7.jpg","text":"TemporaryFile(/tmp/multipartBody5453291540708180239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332832543,"filename":"image_08012025_11_39_02_513850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbfbf2e291c60a37d1ed069f60a08349.jpg","text":"TemporaryFile(/tmp/multipartBody1430076396687201778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332832543,"filename":"image_08012025_11_39_02_513850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ac452e71deca73d8f02fd8943b286f3.jpg","text":"TemporaryFile(/tmp/multipartBody1590958983417041898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332832543,"filename":"image_08012025_11_39_02_513850_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445870","file1":"1327445865","file0":"1327445860","file3":"1327445874"},"map_files_photo_id_array":[{"photo_id":"1327445870","filename":"file2"},{"photo_id":"1327445865","filename":"file1"},{"photo_id":"1327445860","filename":"file0"},{"photo_id":"1327445874","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445860":["hashtag1","hashtag2"]},{"1327445874":["hashtag1","hashtag2"]},{"1327445865":["hashtag1","hashtag2"]},{"1327445870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445860, 1327445874, 1327445865, 1327445870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42678785324097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:40:03.007786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:40:22.524152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0003.jpg', '/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0000.jpg', '/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0001.jpg', '/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/39/image_08012025_11_39_02_513850_0003.jpg
/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0000.jpg
/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0001.jpg
/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445905","1327445898","1327445907","1327445901"],"photo_ids_order":["1327445898","1327445901","1327445905","1327445907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59a353ede04f72aa3a0ea439290068ee.jpg","text":"TemporaryFile(/tmp/multipartBody4687499908758435103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332892822,"filename":"image_08012025_11_40_02_731703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b5fb6430f93fd237c5c22005ec5ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody8952254459252157244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332892822,"filename":"image_08012025_11_39_02_513850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f568e6bc12698b41edfc058d5c70f996.jpg","text":"TemporaryFile(/tmp/multipartBody5535542161885888833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332892822,"filename":"image_08012025_11_40_02_731703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe5d829bf1ed0db301ddb5ada5a90093.jpg","text":"TemporaryFile(/tmp/multipartBody4787150149808942405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332892822,"filename":"image_08012025_11_40_02_731703_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445905","file1":"1327445901","file0":"1327445898","file3":"1327445907"},"map_files_photo_id_array":[{"photo_id":"1327445905","filename":"file2"},{"photo_id":"1327445901","filename":"file1"},{"photo_id":"1327445898","filename":"file0"},{"photo_id":"1327445907","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445905":["hashtag1","hashtag2"]},{"1327445898":["hashtag1","hashtag2"]},{"1327445907":["hashtag1","hashtag2"]},{"1327445901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445905, 1327445898, 1327445907, 1327445901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97869086265564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:41:22.698412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0003.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0000.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0001.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0003.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0000.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0001.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.870079278945923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:41:42.816472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0003.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0000.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0001.jpg', '/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/40/image_08012025_11_40_02_731703_0003.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0000.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0001.jpg
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327445968","1327445947","1327445970","1327445984"],"photo_ids_order":["1327445947","1327445968","1327445970","1327445984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc793f763528679c235ea98d7a3f26bc.jpg","text":"TemporaryFile(/tmp/multipartBody8933539059351373835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332973040,"filename":"image_08012025_11_41_02_857690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72df5c5a18d40938413658fc8f6033aa.jpg","text":"TemporaryFile(/tmp/multipartBody4889733566923982293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332973040,"filename":"image_08012025_11_40_02_731703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef2fc9f86f6588ff488bcac6b79ce1c3.jpg","text":"TemporaryFile(/tmp/multipartBody7030292549864756410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332973040,"filename":"image_08012025_11_41_02_857690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de6174c1a66c14d5b0f1fd580869a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody6524226224993144188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736332973040,"filename":"image_08012025_11_41_02_857690_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327445970","file1":"1327445968","file0":"1327445947","file3":"1327445984"},"map_files_photo_id_array":[{"photo_id":"1327445970","filename":"file2"},{"photo_id":"1327445968","filename":"file1"},{"photo_id":"1327445947","filename":"file0"},{"photo_id":"1327445984","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327445968":["hashtag1","hashtag2"]},{"1327445947":["hashtag1","hashtag2"]},{"1327445970":["hashtag1","hashtag2"]},{"1327445984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327445968, 1327445947, 1327445970, 1327445984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.574317932128906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 11:42:31.830712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0003.jpg', '/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0000.jpg', '/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0001.jpg', '/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/41/image_08012025_11_41_02_857690_0003.jpg
/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0000.jpg
/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0001.jpg
/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446055","1327446052","1327446048","1327446042"],"photo_ids_order":["1327446042","1327446048","1327446052","1327446055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0183423935e43bdab48ec08a704679ac.jpg","text":"TemporaryFile(/tmp/multipartBody6116108663014396538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333022105,"filename":"image_08012025_11_42_03_089044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87ef3debbf56e34b715f1294000be4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1623653507002564783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333022105,"filename":"image_08012025_11_42_03_089044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79aac67b781e8f99860f639a31e8edf7.jpg","text":"TemporaryFile(/tmp/multipartBody7849156262248770195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333022105,"filename":"image_08012025_11_42_03_089044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0674adb5b600e1534340d4174a4cba6e.jpg","text":"TemporaryFile(/tmp/multipartBody6306672055679208181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333022105,"filename":"image_08012025_11_41_02_857690_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446052","file1":"1327446048","file0":"1327446042","file3":"1327446055"},"map_files_photo_id_array":[{"photo_id":"1327446052","filename":"file2"},{"photo_id":"1327446048","filename":"file1"},{"photo_id":"1327446042","filename":"file0"},{"photo_id":"1327446055","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446055":["hashtag1","hashtag2"]},{"1327446052":["hashtag1","hashtag2"]},{"1327446048":["hashtag1","hashtag2"]},{"1327446042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446055, 1327446052, 1327446048, 1327446042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.62191605567932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:43:22.109085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0003.jpg', '/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0000.jpg', '/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0001.jpg', '/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/42/image_08012025_11_42_03_089044_0003.jpg
/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0000.jpg
/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0001.jpg
/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446073","1327446067","1327446070","1327446078"],"photo_ids_order":["1327446067","1327446070","1327446073","1327446078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5478981e29b1f2b9e38c912c830f6cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6507576778419239816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333072505,"filename":"image_08012025_11_43_02_235094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8600f94357b8b5e1d998b89522413355.jpg","text":"TemporaryFile(/tmp/multipartBody8269007487397960820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333072505,"filename":"image_08012025_11_42_03_089044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d83ac35dd68a6251da8c13dbf7b2df5.jpg","text":"TemporaryFile(/tmp/multipartBody173650630424952460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333072505,"filename":"image_08012025_11_43_02_235094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/138b30b7c6ea219b71006c434e4a751c.jpg","text":"TemporaryFile(/tmp/multipartBody1137992455055471921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333072505,"filename":"image_08012025_11_43_02_235094_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446073","file1":"1327446070","file0":"1327446067","file3":"1327446078"},"map_files_photo_id_array":[{"photo_id":"1327446073","filename":"file2"},{"photo_id":"1327446070","filename":"file1"},{"photo_id":"1327446067","filename":"file0"},{"photo_id":"1327446078","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446073":["hashtag1","hashtag2"]},{"1327446067":["hashtag1","hashtag2"]},{"1327446070":["hashtag1","hashtag2"]},{"1327446078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446073, 1327446067, 1327446070, 1327446078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96594834327698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:44:02.584112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:44:22.174288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0003.jpg', '/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0000.jpg', '/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0001.jpg', '/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/43/image_08012025_11_43_02_235094_0003.jpg
/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0000.jpg
/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0001.jpg
/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446169","1327446124","1327446180","1327446134"],"photo_ids_order":["1327446124","1327446134","1327446169","1327446180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92b9753dcf2e28997e0af92e593f5399.jpg","text":"TemporaryFile(/tmp/multipartBody3580673947867488063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333132509,"filename":"image_08012025_11_44_02_450806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a50e3198f6da410d1f34c74d85ff3f70.jpg","text":"TemporaryFile(/tmp/multipartBody7710572081942308847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333132509,"filename":"image_08012025_11_43_02_235094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1cbf08171c12b8f08acafe845f8f244.jpg","text":"TemporaryFile(/tmp/multipartBody8804742217074069324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333132509,"filename":"image_08012025_11_44_02_450806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/110e22af9993930e8426e7922667441d.jpg","text":"TemporaryFile(/tmp/multipartBody4750242553179399025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333132509,"filename":"image_08012025_11_44_02_450806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446169","file1":"1327446134","file0":"1327446124","file3":"1327446180"},"map_files_photo_id_array":[{"photo_id":"1327446169","filename":"file2"},{"photo_id":"1327446134","filename":"file1"},{"photo_id":"1327446124","filename":"file0"},{"photo_id":"1327446180","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446169":["hashtag1","hashtag2"]},{"1327446124":["hashtag1","hashtag2"]},{"1327446180":["hashtag1","hashtag2"]},{"1327446134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446169, 1327446124, 1327446180, 1327446134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3026397228241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:45:22.386825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0003.jpg', '/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0000.jpg', '/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0001.jpg', '/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/44/image_08012025_11_44_02_450806_0003.jpg
/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0000.jpg
/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0001.jpg
/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446381","1327446264","1327446386","1327446278"],"photo_ids_order":["1327446264","1327446278","1327446381","1327446386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab15395db4be19571d201cfd0f7b8b2c.jpg","text":"TemporaryFile(/tmp/multipartBody1702952535189738412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333192752,"filename":"image_08012025_11_45_02_545218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a086b14bf9bf611ce65527a67b6ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody7824685778203863566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333192752,"filename":"image_08012025_11_44_02_450806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4d7243331a89b87830dc3d390a517df.jpg","text":"TemporaryFile(/tmp/multipartBody3686676898326293281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333192752,"filename":"image_08012025_11_45_02_545218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7137913730f206710d999ff6ef556eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1644302604851392893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333192752,"filename":"image_08012025_11_45_02_545218_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446381","file1":"1327446278","file0":"1327446264","file3":"1327446386"},"map_files_photo_id_array":[{"photo_id":"1327446381","filename":"file2"},{"photo_id":"1327446278","filename":"file1"},{"photo_id":"1327446264","filename":"file0"},{"photo_id":"1327446386","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446381":["hashtag1","hashtag2"]},{"1327446264":["hashtag1","hashtag2"]},{"1327446386":["hashtag1","hashtag2"]},{"1327446278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446381, 1327446264, 1327446386, 1327446278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42916941642761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:46:22.539043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0003.jpg', '/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0000.jpg', '/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0001.jpg', '/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/45/image_08012025_11_45_02_545218_0003.jpg
/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0000.jpg
/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0001.jpg
/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446442","1327446440","1327446434","1327446437"],"photo_ids_order":["1327446434","1327446437","1327446440","1327446442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e992a452d787c4824b1cb55ce7fd34a.jpg","text":"TemporaryFile(/tmp/multipartBody54886677142219025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333252779,"filename":"image_08012025_11_46_02_716257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8de83055486d9b8b7c3f638f0157731a.jpg","text":"TemporaryFile(/tmp/multipartBody3310895314837045909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333252779,"filename":"image_08012025_11_46_02_716257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32d9882f3c0e114918eb358e694350c5.jpg","text":"TemporaryFile(/tmp/multipartBody6019637564975619932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333252779,"filename":"image_08012025_11_45_02_545218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76dad5cd54075d0fbc4475ac3c0d3b1d.jpg","text":"TemporaryFile(/tmp/multipartBody2661192486489548273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333252779,"filename":"image_08012025_11_46_02_716257_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446440","file1":"1327446437","file0":"1327446434","file3":"1327446442"},"map_files_photo_id_array":[{"photo_id":"1327446440","filename":"file2"},{"photo_id":"1327446437","filename":"file1"},{"photo_id":"1327446434","filename":"file0"},{"photo_id":"1327446442","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446442":["hashtag1","hashtag2"]},{"1327446440":["hashtag1","hashtag2"]},{"1327446434":["hashtag1","hashtag2"]},{"1327446437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446442, 1327446440, 1327446434, 1327446437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41642880439758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:47:03.413303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:47:22.846549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0003.jpg', '/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0000.jpg', '/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0001.jpg', '/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/46/image_08012025_11_46_02_716257_0003.jpg
/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0000.jpg
/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0001.jpg
/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446499","1327446492","1327446489","1327446485"],"photo_ids_order":["1327446485","1327446489","1327446492","1327446499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5929e237b262f28a39dfc5db331d3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1506945847802044829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333313091,"filename":"image_08012025_11_47_02_888673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/494045e67db6930a5827a10a6c5e208f.jpg","text":"TemporaryFile(/tmp/multipartBody1261574111624218633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333313091,"filename":"image_08012025_11_47_02_888673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b51ebe7083154b56d9937a2868b9e1b5.jpg","text":"TemporaryFile(/tmp/multipartBody7354113944603397328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333313091,"filename":"image_08012025_11_47_02_888673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3793779427e0e4f25213b73f2288a60f.jpg","text":"TemporaryFile(/tmp/multipartBody1365723339588455960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333313091,"filename":"image_08012025_11_46_02_716257_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446492","file1":"1327446489","file0":"1327446485","file3":"1327446499"},"map_files_photo_id_array":[{"photo_id":"1327446492","filename":"file2"},{"photo_id":"1327446489","filename":"file1"},{"photo_id":"1327446485","filename":"file0"},{"photo_id":"1327446499","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446499":["hashtag1","hashtag2"]},{"1327446492":["hashtag1","hashtag2"]},{"1327446489":["hashtag1","hashtag2"]},{"1327446485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446499, 1327446492, 1327446489, 1327446485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21151304244995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:48:22.005558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0003.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0000.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0001.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0003.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0000.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0001.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.860854625701904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 11:48:41.944973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0003.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0000.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0001.jpg', '/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/47/image_08012025_11_47_02_888673_0003.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0000.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0001.jpg
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446568","1327446573","1327446576","1327446580"],"photo_ids_order":["1327446568","1327446573","1327446576","1327446580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ca255dc83c592e8c2f26f5a5615c15d.jpg","text":"TemporaryFile(/tmp/multipartBody2804198979816645426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333392237,"filename":"image_08012025_11_47_02_888673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a28d069bf5e38ba727a4c1e6e54c88bb.jpg","text":"TemporaryFile(/tmp/multipartBody6150334469540424792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333392237,"filename":"image_08012025_11_48_03_129824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/049a9ff0d560f67634ed3474886a0622.jpg","text":"TemporaryFile(/tmp/multipartBody2527775674027282527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333392237,"filename":"image_08012025_11_48_03_129824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56fbf334ebc47959ce0779d1d534ab75.jpg","text":"TemporaryFile(/tmp/multipartBody245565939196606048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333392237,"filename":"image_08012025_11_48_03_129824_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446576","file1":"1327446573","file0":"1327446568","file3":"1327446580"},"map_files_photo_id_array":[{"photo_id":"1327446576","filename":"file2"},{"photo_id":"1327446573","filename":"file1"},{"photo_id":"1327446568","filename":"file0"},{"photo_id":"1327446580","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446568":["hashtag1","hashtag2"]},{"1327446573":["hashtag1","hashtag2"]},{"1327446576":["hashtag1","hashtag2"]},{"1327446580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446568, 1327446573, 1327446576, 1327446580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.145445585250854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:49:22.086960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0003.jpg', '/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0000.jpg', '/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0001.jpg', '/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/48/image_08012025_11_48_03_129824_0003.jpg
/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0000.jpg
/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0001.jpg
/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446594","1327446588","1327446599","1327446605"],"photo_ids_order":["1327446588","1327446594","1327446599","1327446605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8dd58565b3ea0f7c2b28423563509c6.jpg","text":"TemporaryFile(/tmp/multipartBody9096626419359509300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333432339,"filename":"image_08012025_11_49_02_371043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d99ccdffb50b8610d92c0c601d2af660.jpg","text":"TemporaryFile(/tmp/multipartBody3402577732759806590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333432339,"filename":"image_08012025_11_48_03_129824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c431da2dafdbea401cbb5b62ecfe23e8.jpg","text":"TemporaryFile(/tmp/multipartBody6741331081314851309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333432339,"filename":"image_08012025_11_49_02_371043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0ebee21d9a38d8aff3127d4a49a3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody5492026377177061142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333432339,"filename":"image_08012025_11_49_02_371043_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446599","file1":"1327446594","file0":"1327446588","file3":"1327446605"},"map_files_photo_id_array":[{"photo_id":"1327446599","filename":"file2"},{"photo_id":"1327446594","filename":"file1"},{"photo_id":"1327446588","filename":"file0"},{"photo_id":"1327446605","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446594":["hashtag1","hashtag2"]},{"1327446588":["hashtag1","hashtag2"]},{"1327446599":["hashtag1","hashtag2"]},{"1327446605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446594, 1327446588, 1327446599, 1327446605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9338800907135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:50:02.587407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:50:22.219620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0003.jpg', '/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0000.jpg', '/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0001.jpg', '/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/49/image_08012025_11_49_02_371043_0003.jpg
/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0000.jpg
/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0001.jpg
/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327446777","1327446788","1327446791","1327446772"],"photo_ids_order":["1327446772","1327446777","1327446788","1327446791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b299e0348448a66198d1094a33e809c6.jpg","text":"TemporaryFile(/tmp/multipartBody7783753645267782975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333492467,"filename":"image_08012025_11_50_02_505833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3f1c70c1e2d6f17929f454768c8b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody5579760633869130361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333492467,"filename":"image_08012025_11_50_02_505833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/780bc1242a31a97aeb062531428aef27.jpg","text":"TemporaryFile(/tmp/multipartBody3872299394318693670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333492467,"filename":"image_08012025_11_50_02_505833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79c8990d29255996108a64a1ac8f65ec.jpg","text":"TemporaryFile(/tmp/multipartBody1933143094330253235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333492467,"filename":"image_08012025_11_49_02_371043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327446788","file1":"1327446777","file0":"1327446772","file3":"1327446791"},"map_files_photo_id_array":[{"photo_id":"1327446788","filename":"file2"},{"photo_id":"1327446777","filename":"file1"},{"photo_id":"1327446772","filename":"file0"},{"photo_id":"1327446791","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327446777":["hashtag1","hashtag2"]},{"1327446788":["hashtag1","hashtag2"]},{"1327446791":["hashtag1","hashtag2"]},{"1327446772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327446777, 1327446788, 1327446791, 1327446772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.556602001190186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:51:02.927742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:51:22.492196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0003.jpg', '/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0000.jpg', '/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0001.jpg', '/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/50/image_08012025_11_50_02_505833_0003.jpg
/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0000.jpg
/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0001.jpg
/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447092","1327447095","1327447089","1327447086"],"photo_ids_order":["1327447086","1327447089","1327447092","1327447095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80be7adba9f554e6903f343212393151.jpg","text":"TemporaryFile(/tmp/multipartBody750141876287988382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333552746,"filename":"image_08012025_11_51_02_592986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d44297fa9e9fae1c88cbace27b32d261.jpg","text":"TemporaryFile(/tmp/multipartBody3264080293596313387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333552746,"filename":"image_08012025_11_51_02_592986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0118f70f9d54f485acb8e747f80a450f.jpg","text":"TemporaryFile(/tmp/multipartBody8238786677238909497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333552746,"filename":"image_08012025_11_51_02_592986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8195e296764c491ea0799fb023ffbd67.jpg","text":"TemporaryFile(/tmp/multipartBody7603795072016887482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333552746,"filename":"image_08012025_11_50_02_505833_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447092","file1":"1327447089","file0":"1327447086","file3":"1327447095"},"map_files_photo_id_array":[{"photo_id":"1327447092","filename":"file2"},{"photo_id":"1327447089","filename":"file1"},{"photo_id":"1327447086","filename":"file0"},{"photo_id":"1327447095","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447092":["hashtag1","hashtag2"]},{"1327447095":["hashtag1","hashtag2"]},{"1327447089":["hashtag1","hashtag2"]},{"1327447086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447092, 1327447095, 1327447089, 1327447086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17608833312988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:52:22.636785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0003.jpg', '/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0000.jpg', '/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0001.jpg', '/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/51/image_08012025_11_51_02_592986_0003.jpg
/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0000.jpg
/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0001.jpg
/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447143","1327447146","1327447149","1327447140"],"photo_ids_order":["1327447140","1327447143","1327447146","1327447149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd74a061f91b6d0bfadf56f1cb3659e0.jpg","text":"TemporaryFile(/tmp/multipartBody8514829927974912728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333613028,"filename":"image_08012025_11_52_02_758591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/730942c6a1688a08eb5691b17dee15e7.jpg","text":"TemporaryFile(/tmp/multipartBody3230428400513868591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333613028,"filename":"image_08012025_11_52_02_758591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e5173d9edef329ddea6d775946569b6.jpg","text":"TemporaryFile(/tmp/multipartBody4694998888015532939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333613028,"filename":"image_08012025_11_52_02_758591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb49fed9b4e35e9d18c2884d6f34a76e.jpg","text":"TemporaryFile(/tmp/multipartBody1314732934304811851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333613028,"filename":"image_08012025_11_51_02_592986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447146","file1":"1327447143","file0":"1327447140","file3":"1327447149"},"map_files_photo_id_array":[{"photo_id":"1327447146","filename":"file2"},{"photo_id":"1327447143","filename":"file1"},{"photo_id":"1327447140","filename":"file0"},{"photo_id":"1327447149","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447143":["hashtag1","hashtag2"]},{"1327447146":["hashtag1","hashtag2"]},{"1327447149":["hashtag1","hashtag2"]},{"1327447140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447143, 1327447146, 1327447149, 1327447140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.919230461120605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:53:22.826908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0003.jpg', '/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0000.jpg', '/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0001.jpg', '/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/52/image_08012025_11_52_02_758591_0003.jpg
/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0000.jpg
/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0001.jpg
/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447170","1327447167","1327447160","1327447163"],"photo_ids_order":["1327447160","1327447163","1327447167","1327447170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef2edd46cb4c8dcf242cd6cabd1424e2.jpg","text":"TemporaryFile(/tmp/multipartBody5704601715513786770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333673091,"filename":"image_08012025_11_53_02_953314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6492eb501f5062cb7fc11ee3fa3a4002.jpg","text":"TemporaryFile(/tmp/multipartBody2943882010957392185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333673091,"filename":"image_08012025_11_53_02_953314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/473f7091fdbcf00f78a1f5e6bdfc899b.jpg","text":"TemporaryFile(/tmp/multipartBody6614627644425583466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333673091,"filename":"image_08012025_11_52_02_758591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3b07dce70a23db1d3e12438039ea07e.jpg","text":"TemporaryFile(/tmp/multipartBody1476906922340587284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333673091,"filename":"image_08012025_11_53_02_953314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447167","file1":"1327447163","file0":"1327447160","file3":"1327447170"},"map_files_photo_id_array":[{"photo_id":"1327447167","filename":"file2"},{"photo_id":"1327447163","filename":"file1"},{"photo_id":"1327447160","filename":"file0"},{"photo_id":"1327447170","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447170":["hashtag1","hashtag2"]},{"1327447167":["hashtag1","hashtag2"]},{"1327447160":["hashtag1","hashtag2"]},{"1327447163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447170, 1327447167, 1327447160, 1327447163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81737208366394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:54:21.938725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0003.jpg', '/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0000.jpg', '/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0001.jpg', '/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/53/image_08012025_11_53_02_953314_0003.jpg
/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0000.jpg
/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0001.jpg
/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447196","1327447244","1327447202","1327447208"],"photo_ids_order":["1327447196","1327447202","1327447208","1327447244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b078ce89f4ded5ffbb1ae0ea8ea24c65.jpg","text":"TemporaryFile(/tmp/multipartBody4307327148875738295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333732395,"filename":"image_08012025_11_53_02_953314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dfee095a7ed7303c0b67230051f32ca.jpg","text":"TemporaryFile(/tmp/multipartBody5203886486489992977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333732395,"filename":"image_08012025_11_54_03_227308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4aec9444005388700a588f78894ea34e.jpg","text":"TemporaryFile(/tmp/multipartBody1095600934852861193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333732395,"filename":"image_08012025_11_54_03_227308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7f3f86bb98c4d8485c2ce402bb79559.jpg","text":"TemporaryFile(/tmp/multipartBody5743452994923928605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333732395,"filename":"image_08012025_11_54_03_227308_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447208","file1":"1327447202","file0":"1327447196","file3":"1327447244"},"map_files_photo_id_array":[{"photo_id":"1327447208","filename":"file2"},{"photo_id":"1327447202","filename":"file1"},{"photo_id":"1327447196","filename":"file0"},{"photo_id":"1327447244","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447196":["hashtag1","hashtag2"]},{"1327447244":["hashtag1","hashtag2"]},{"1327447202":["hashtag1","hashtag2"]},{"1327447208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447196, 1327447244, 1327447202, 1327447208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24139618873596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:55:22.126444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0003.jpg', '/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0000.jpg', '/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0001.jpg', '/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/54/image_08012025_11_54_03_227308_0003.jpg
/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0000.jpg
/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0001.jpg
/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447300","1327447284","1327447298","1327447302"],"photo_ids_order":["1327447284","1327447298","1327447300","1327447302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a94739e0e2cbf2bbd35520d2e92076bf.jpg","text":"TemporaryFile(/tmp/multipartBody5108025858668413676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333792532,"filename":"image_08012025_11_55_02_303146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdcb505f899b2ccb97171ec29d384c66.jpg","text":"TemporaryFile(/tmp/multipartBody5854060870500833652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333792532,"filename":"image_08012025_11_54_03_227308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0defcdb99b1ffc637826c2cb50f4b50.jpg","text":"TemporaryFile(/tmp/multipartBody3790855760948655527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333792532,"filename":"image_08012025_11_55_02_303146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4db412d5544f983d56ea13ce4ac9d13d.jpg","text":"TemporaryFile(/tmp/multipartBody3879906982705520968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333792532,"filename":"image_08012025_11_55_02_303146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447300","file1":"1327447298","file0":"1327447284","file3":"1327447302"},"map_files_photo_id_array":[{"photo_id":"1327447300","filename":"file2"},{"photo_id":"1327447298","filename":"file1"},{"photo_id":"1327447284","filename":"file0"},{"photo_id":"1327447302","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447300":["hashtag1","hashtag2"]},{"1327447284":["hashtag1","hashtag2"]},{"1327447298":["hashtag1","hashtag2"]},{"1327447302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447300, 1327447284, 1327447298, 1327447302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.121509075164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:56:02.689246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:56:22.297003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0003.jpg', '/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0000.jpg', '/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0001.jpg', '/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/55/image_08012025_11_55_02_303146_0003.jpg
/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0000.jpg
/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0001.jpg
/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447368","1327447362","1327447365","1327447370"],"photo_ids_order":["1327447362","1327447365","1327447368","1327447370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/032dd37966c8ff470fddffd1b1e41f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7103831564347172586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333852611,"filename":"image_08012025_11_56_02_512274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f6722b3fd4f079ad170deb2f3a1f18d.jpg","text":"TemporaryFile(/tmp/multipartBody8714715686269229959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333852611,"filename":"image_08012025_11_55_02_303146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/66ffffdab0186aaf1d57e1ccc047dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody3527559829275685062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333852611,"filename":"image_08012025_11_56_02_512274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb3a7347b60f9211866c7f52b63c6579.jpg","text":"TemporaryFile(/tmp/multipartBody4920813844717909381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333852611,"filename":"image_08012025_11_56_02_512274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447368","file1":"1327447365","file0":"1327447362","file3":"1327447370"},"map_files_photo_id_array":[{"photo_id":"1327447368","filename":"file2"},{"photo_id":"1327447365","filename":"file1"},{"photo_id":"1327447362","filename":"file0"},{"photo_id":"1327447370","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447368":["hashtag1","hashtag2"]},{"1327447362":["hashtag1","hashtag2"]},{"1327447365":["hashtag1","hashtag2"]},{"1327447370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447368, 1327447362, 1327447365, 1327447370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67747759819031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 11:57:22.453681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0003.jpg', '/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0000.jpg', '/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0001.jpg', '/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/56/image_08012025_11_56_02_512274_0003.jpg
/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0000.jpg
/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0001.jpg
/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447519","1327447521","1327447517","1327447522"],"photo_ids_order":["1327447517","1327447519","1327447521","1327447522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ae01f8d406ac067349ccad026c296eb.jpg","text":"TemporaryFile(/tmp/multipartBody3062242468819439593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333912771,"filename":"image_08012025_11_57_02_609535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fffcdad60fc2b68f61729a185901a669.jpg","text":"TemporaryFile(/tmp/multipartBody7483045943938535721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333912771,"filename":"image_08012025_11_57_02_609535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97b977157d1a05b25f7856bb2467e7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2631579698468394228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333912771,"filename":"image_08012025_11_56_02_512274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11708d57d3fba7e27c7a692e4456c7b1.jpg","text":"TemporaryFile(/tmp/multipartBody7085119950894374376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736333912771,"filename":"image_08012025_11_57_02_609535_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447521","file1":"1327447519","file0":"1327447517","file3":"1327447522"},"map_files_photo_id_array":[{"photo_id":"1327447521","filename":"file2"},{"photo_id":"1327447519","filename":"file1"},{"photo_id":"1327447517","filename":"file0"},{"photo_id":"1327447522","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447519":["hashtag1","hashtag2"]},{"1327447521":["hashtag1","hashtag2"]},{"1327447517":["hashtag1","hashtag2"]},{"1327447522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447519, 1327447521, 1327447517, 1327447522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.775737285614014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 11:59:03.353105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0003.jpg', '/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0000.jpg', '/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0001.jpg', '/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/57/image_08012025_11_57_02_609535_0003.jpg
/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0000.jpg
/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0001.jpg
/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327447776","1327447770","1327447755","1327447763"],"photo_ids_order":["1327447755","1327447763","1327447770","1327447776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/179eed7a077f042a99d7cb0d5d054d58.jpg","text":"TemporaryFile(/tmp/multipartBody5797214843063991721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334013780,"filename":"image_08012025_11_58_02_758290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f104ce67f8a86b14f618b1d7e16b3a21.jpg","text":"TemporaryFile(/tmp/multipartBody2697108324148102250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334013780,"filename":"image_08012025_11_58_02_758290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0aaf3f190f2ec20f011df10bce13b75.jpg","text":"TemporaryFile(/tmp/multipartBody7358127120084418470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334013780,"filename":"image_08012025_11_57_02_609535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ab9c97bead7287895043f2bcbb35aac.jpg","text":"TemporaryFile(/tmp/multipartBody2280591233581236054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334013780,"filename":"image_08012025_11_58_02_758290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327447770","file1":"1327447763","file0":"1327447755","file3":"1327447776"},"map_files_photo_id_array":[{"photo_id":"1327447770","filename":"file2"},{"photo_id":"1327447763","filename":"file1"},{"photo_id":"1327447755","filename":"file0"},{"photo_id":"1327447776","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327447776":["hashtag1","hashtag2"]},{"1327447770":["hashtag1","hashtag2"]},{"1327447755":["hashtag1","hashtag2"]},{"1327447763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327447776, 1327447770, 1327447755, 1327447763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.323856830596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 11:59:52.685369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0003.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0000.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0001.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0003.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0000.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0001.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_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-08 12:01:21.138256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0003.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0000.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0001.jpg', '/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/58/image_08012025_11_58_02_758290_0003.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0000.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0001.jpg
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327449683","1327449694","1327449696","1327449687"],"photo_ids_order":["1327449683","1327449687","1327449694","1327449696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/562a7ced51681a2e7be43d1861497f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6164811017118190171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334152489,"filename":"image_08012025_11_58_02_758290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c817cc4e1572ab02263f4254c3a48c59.jpg","text":"TemporaryFile(/tmp/multipartBody2326307059430709930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334152489,"filename":"image_08012025_11_59_02_913035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed11a900197af317e4c310811d5239fc.jpg","text":"TemporaryFile(/tmp/multipartBody4677563475884547693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334152489,"filename":"image_08012025_11_59_02_913035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26acb8d833ccf8234611dfe511412ef1.jpg","text":"TemporaryFile(/tmp/multipartBody137324756632115540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334152489,"filename":"image_08012025_11_59_02_913035_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327449694","file1":"1327449687","file0":"1327449683","file3":"1327449696"},"map_files_photo_id_array":[{"photo_id":"1327449694","filename":"file2"},{"photo_id":"1327449687","filename":"file1"},{"photo_id":"1327449683","filename":"file0"},{"photo_id":"1327449696","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327449683":["hashtag1","hashtag2"]},{"1327449694":["hashtag1","hashtag2"]},{"1327449696":["hashtag1","hashtag2"]},{"1327449687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327449683, 1327449694, 1327449696, 1327449687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.910574436187744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 12:02:09.156946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0003.jpg', '/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0000.jpg', '/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0001.jpg', '/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0002.jpg', '/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0003.jpg', '/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/11/59/image_08012025_11_59_02_913035_0003.jpg
/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0000.jpg
/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0001.jpg
/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0002.jpg
/home/pi/Desktop/images/08012025/12/00/image_08012025_12_00_03_109029_0003.jpg
/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_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":["1327450329","1327450190","1327450160","1327450100","1327450093","1327450089"],"photo_ids_order":["1327450089","1327450093","1327450100","1327450160","1327450190","1327450329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/535abba76ffbe201274a3a36512f9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2300602743567680343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_12_02_19_498026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f00c33e0a65f954180852560dc14f171.jpg","text":"TemporaryFile(/tmp/multipartBody1068866826904894987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_12_00_03_109029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ecf151b5d25fd0693e9b4ae647bba19.jpg","text":"TemporaryFile(/tmp/multipartBody842576481362543652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_12_00_03_109029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b54a39ef1d94ee743fb9ac0a9344b524.jpg","text":"TemporaryFile(/tmp/multipartBody8518773076100664976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_12_00_03_109029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c869ccd6091118ecc1df3e3b54ccd65.jpg","text":"TemporaryFile(/tmp/multipartBody5848486508348594081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_12_00_03_109029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9541707c015e274fbbfa759cfd363471.jpg","text":"TemporaryFile(/tmp/multipartBody48115230762074145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334204251,"filename":"image_08012025_11_59_02_913035_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327450100","file1":"1327450093","file0":"1327450089","file4":"1327450190","file5":"1327450329","file3":"1327450160"},"map_files_photo_id_array":[{"photo_id":"1327450329","filename":"file5"},{"photo_id":"1327450100","filename":"file2"},{"photo_id":"1327450190","filename":"file4"},{"photo_id":"1327450093","filename":"file1"},{"photo_id":"1327450089","filename":"file0"},{"photo_id":"1327450160","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327450329":["hashtag1","hashtag2"]},{"1327450190":["hashtag1","hashtag2"]},{"1327450160":["hashtag1","hashtag2"]},{"1327450100":["hashtag1","hashtag2"]},{"1327450093":["hashtag1","hashtag2"]},{"1327450089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327450329, 1327450190, 1327450160, 1327450100, 1327450093, 1327450089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97631287574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:03:22.602469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0001.jpg', '/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0001.jpg
/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327450803","1327451126"],"photo_ids_order":["1327450803","1327451126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f28e095895b1d3ba66dcd6c4cb380d50.jpg","text":"TemporaryFile(/tmp/multipartBody8293754619321954435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334268067,"filename":"image_08012025_12_02_19_498026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e4dba9bef1be58d881a2a783f48f20b.jpg","text":"TemporaryFile(/tmp/multipartBody2724973453098256197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334268067,"filename":"image_08012025_12_02_19_498026_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327451126","file0":"1327450803"},"map_files_photo_id_array":[{"photo_id":"1327451126","filename":"file1"},{"photo_id":"1327450803","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327450803":["hashtag1","hashtag2"]},{"1327451126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327450803, 1327451126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.86016011238098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 12:03:52.568264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:04:02.190810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:04:21.942696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0003.jpg', '/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0000.jpg', '/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0001.jpg', '/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/02/image_08012025_12_02_19_498026_0003.jpg
/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0000.jpg
/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0001.jpg
/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327451814","1327452073","1327451818","1327452123"],"photo_ids_order":["1327451814","1327451818","1327452073","1327452123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12061a590a11db02c9e9783cd9acb516.jpg","text":"TemporaryFile(/tmp/multipartBody6673329053029937586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334332268,"filename":"image_08012025_12_02_19_498026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1acb7c880bcf031d6d59504bda930391.jpg","text":"TemporaryFile(/tmp/multipartBody1822785236038347082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334332268,"filename":"image_08012025_12_04_02_986621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f2ddcca79209c3a547a8d320c558db5.jpg","text":"TemporaryFile(/tmp/multipartBody8225540746969697337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334332268,"filename":"image_08012025_12_04_02_986621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e666360dfa440403c4ec37bb1fe4b950.jpg","text":"TemporaryFile(/tmp/multipartBody4560797199853682058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334332268,"filename":"image_08012025_12_04_02_986621_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452073","file1":"1327451818","file0":"1327451814","file3":"1327452123"},"map_files_photo_id_array":[{"photo_id":"1327452073","filename":"file2"},{"photo_id":"1327451818","filename":"file1"},{"photo_id":"1327451814","filename":"file0"},{"photo_id":"1327452123","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327451814":["hashtag1","hashtag2"]},{"1327452073":["hashtag1","hashtag2"]},{"1327451818":["hashtag1","hashtag2"]},{"1327452123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327451814, 1327452073, 1327451818, 1327452123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.2718665599823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:05:22.091573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0003.jpg', '/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0000.jpg', '/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0001.jpg', '/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/04/image_08012025_12_04_02_986621_0003.jpg
/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0000.jpg
/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0001.jpg
/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452296","1327452277","1327452285","1327452290"],"photo_ids_order":["1327452277","1327452285","1327452290","1327452296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/690476c6731c24091cc540bde37fe3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1530238436657154441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334392367,"filename":"image_08012025_12_05_02_218961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a641bf031eb8fed05d8e10031c085862.jpg","text":"TemporaryFile(/tmp/multipartBody6992889018707641377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334392367,"filename":"image_08012025_12_04_02_986621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35f62f8b5bbbc2b9de5b054be91659a0.jpg","text":"TemporaryFile(/tmp/multipartBody4212001364145069383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334392367,"filename":"image_08012025_12_05_02_218961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ddd5d8a7a55a83ea0da8557334b8c904.jpg","text":"TemporaryFile(/tmp/multipartBody7100925550181652349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334392367,"filename":"image_08012025_12_05_02_218961_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452290","file1":"1327452285","file0":"1327452277","file3":"1327452296"},"map_files_photo_id_array":[{"photo_id":"1327452290","filename":"file2"},{"photo_id":"1327452285","filename":"file1"},{"photo_id":"1327452277","filename":"file0"},{"photo_id":"1327452296","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452296":["hashtag1","hashtag2"]},{"1327452277":["hashtag1","hashtag2"]},{"1327452285":["hashtag1","hashtag2"]},{"1327452290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452296, 1327452277, 1327452285, 1327452290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91626238822937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:06:02.614054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:06:22.204972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0003.jpg', '/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0000.jpg', '/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0001.jpg', '/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/05/image_08012025_12_05_02_218961_0003.jpg
/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0000.jpg
/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0001.jpg
/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452368","1327452345","1327452339","1327452365"],"photo_ids_order":["1327452339","1327452345","1327452365","1327452368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/133e2833c78e8c471f8a33ec5d6b028f.jpg","text":"TemporaryFile(/tmp/multipartBody8475342064856582233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334452543,"filename":"image_08012025_12_06_02_465805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c65b1311aad5f8fcd0e662ededfc69b7.jpg","text":"TemporaryFile(/tmp/multipartBody8009690722965482584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334452543,"filename":"image_08012025_12_06_02_465805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9c6131d142f2cad52789cbea58c79fc.jpg","text":"TemporaryFile(/tmp/multipartBody3755789645103376670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334452543,"filename":"image_08012025_12_05_02_218961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9be5844fa448d8413acf2c6c870a4f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7152295281693188243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334452543,"filename":"image_08012025_12_06_02_465805_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452365","file1":"1327452345","file0":"1327452339","file3":"1327452368"},"map_files_photo_id_array":[{"photo_id":"1327452365","filename":"file2"},{"photo_id":"1327452345","filename":"file1"},{"photo_id":"1327452339","filename":"file0"},{"photo_id":"1327452368","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452368":["hashtag1","hashtag2"]},{"1327452345":["hashtag1","hashtag2"]},{"1327452339":["hashtag1","hashtag2"]},{"1327452365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452368, 1327452345, 1327452339, 1327452365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01315355300903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:07:02.841964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:07:22.317485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0003.jpg', '/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0000.jpg', '/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0001.jpg', '/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/06/image_08012025_12_06_02_465805_0003.jpg
/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0000.jpg
/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0001.jpg
/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452440","1327452397","1327452441","1327452423"],"photo_ids_order":["1327452397","1327452423","1327452440","1327452441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eacde50989b5eac24072de7b96d820fe.jpg","text":"TemporaryFile(/tmp/multipartBody7235567467579165511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334512621,"filename":"image_08012025_12_07_02_536227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca9618867382a37f478aa39e7c7ebcbf.jpg","text":"TemporaryFile(/tmp/multipartBody9117397608875349328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334512621,"filename":"image_08012025_12_06_02_465805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3bdadb38db95380a9fc4946836cc23cd.jpg","text":"TemporaryFile(/tmp/multipartBody3116196054367281875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334512621,"filename":"image_08012025_12_07_02_536227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/239c26e824445f1bc81fff6f6f68b82c.jpg","text":"TemporaryFile(/tmp/multipartBody1892428849032304583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334512621,"filename":"image_08012025_12_07_02_536227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452440","file1":"1327452423","file0":"1327452397","file3":"1327452441"},"map_files_photo_id_array":[{"photo_id":"1327452440","filename":"file2"},{"photo_id":"1327452423","filename":"file1"},{"photo_id":"1327452397","filename":"file0"},{"photo_id":"1327452441","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452440":["hashtag1","hashtag2"]},{"1327452397":["hashtag1","hashtag2"]},{"1327452441":["hashtag1","hashtag2"]},{"1327452423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452440, 1327452397, 1327452441, 1327452423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.928837060928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:08:02.949866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:08:22.546979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0003.jpg', '/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0000.jpg', '/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0001.jpg', '/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/07/image_08012025_12_07_02_536227_0003.jpg
/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0000.jpg
/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0001.jpg
/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452473","1327452469","1327452462","1327452465"],"photo_ids_order":["1327452462","1327452465","1327452469","1327452473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a449af3c9851be5f2a822a6d20d6252e.jpg","text":"TemporaryFile(/tmp/multipartBody1985342316585750009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334572762,"filename":"image_08012025_12_08_02_636429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ec555affa90ed5cb1a62898adb339e9.jpg","text":"TemporaryFile(/tmp/multipartBody3825957267297493198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334572762,"filename":"image_08012025_12_08_02_636429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0208b1cd4fe2145f619ec8ad029d100.jpg","text":"TemporaryFile(/tmp/multipartBody6729916421395907284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334572762,"filename":"image_08012025_12_07_02_536227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08db4c7b31ec680148d51f6761745fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3840114195380290008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334572762,"filename":"image_08012025_12_08_02_636429_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452469","file1":"1327452465","file0":"1327452462","file3":"1327452473"},"map_files_photo_id_array":[{"photo_id":"1327452469","filename":"file2"},{"photo_id":"1327452465","filename":"file1"},{"photo_id":"1327452462","filename":"file0"},{"photo_id":"1327452473","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452473":["hashtag1","hashtag2"]},{"1327452469":["hashtag1","hashtag2"]},{"1327452462":["hashtag1","hashtag2"]},{"1327452465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452473, 1327452469, 1327452462, 1327452465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.648120641708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:09:03.245625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:09:22.660907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0003.jpg', '/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0000.jpg', '/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0001.jpg', '/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/08/image_08012025_12_08_02_636429_0003.jpg
/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0000.jpg
/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0001.jpg
/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452644","1327452638","1327452651","1327452657"],"photo_ids_order":["1327452638","1327452644","1327452651","1327452657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/606529ee00ea0335aff68e9dbfbbe1eb.jpg","text":"TemporaryFile(/tmp/multipartBody370364359219336456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334632989,"filename":"image_08012025_12_09_02_832608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb61062165e46f9a9b557bafb83db9f7.jpg","text":"TemporaryFile(/tmp/multipartBody5277322765130027880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334632989,"filename":"image_08012025_12_08_02_636429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad5c2973a53f7a22b59d311642d9234c.jpg","text":"TemporaryFile(/tmp/multipartBody8610608827983275483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334632989,"filename":"image_08012025_12_09_02_832608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9987cbb216cd07b8f162904a3a2506e9.jpg","text":"TemporaryFile(/tmp/multipartBody2679764794381165432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334632989,"filename":"image_08012025_12_09_02_832608_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452651","file1":"1327452644","file0":"1327452638","file3":"1327452657"},"map_files_photo_id_array":[{"photo_id":"1327452651","filename":"file2"},{"photo_id":"1327452644","filename":"file1"},{"photo_id":"1327452638","filename":"file0"},{"photo_id":"1327452657","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452644":["hashtag1","hashtag2"]},{"1327452638":["hashtag1","hashtag2"]},{"1327452651":["hashtag1","hashtag2"]},{"1327452657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452644, 1327452638, 1327452651, 1327452657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19842553138733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:10:21.844107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0003.jpg', '/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0000.jpg', '/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0001.jpg', '/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/09/image_08012025_12_09_02_832608_0003.jpg
/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0000.jpg
/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0001.jpg
/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452725","1327452687","1327452729","1327452680"],"photo_ids_order":["1327452680","1327452687","1327452725","1327452729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da6d221bdc4c806ca889de2e9e89aeee.jpg","text":"TemporaryFile(/tmp/multipartBody2577761584419285522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334692151,"filename":"image_08012025_12_10_02_977071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85fa385826c0285cc1643b430e335fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7104549638279427890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334692151,"filename":"image_08012025_12_10_02_977071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9809ea7aa37b1c0b7fcae6226de6b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4793449601360424605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334692151,"filename":"image_08012025_12_10_02_977071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef383498a3c5ed1d9aac6fc580577505.jpg","text":"TemporaryFile(/tmp/multipartBody3855584994533416340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334692151,"filename":"image_08012025_12_09_02_832608_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452725","file1":"1327452687","file0":"1327452680","file3":"1327452729"},"map_files_photo_id_array":[{"photo_id":"1327452725","filename":"file2"},{"photo_id":"1327452687","filename":"file1"},{"photo_id":"1327452680","filename":"file0"},{"photo_id":"1327452729","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452725":["hashtag1","hashtag2"]},{"1327452687":["hashtag1","hashtag2"]},{"1327452729":["hashtag1","hashtag2"]},{"1327452680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452725, 1327452687, 1327452729, 1327452680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78690481185913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:11:22.133939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0003.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0000.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0001.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0003.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0000.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0001.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.791986465454102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 12:11:42.022508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0003.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0000.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0001.jpg', '/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/10/image_08012025_12_10_02_977071_0003.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0000.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0001.jpg
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452752","1327452746","1327452748","1327452750"],"photo_ids_order":["1327452746","1327452748","1327452750","1327452752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37a39660cb30a8711b00a7cd8e7c5678.jpg","text":"TemporaryFile(/tmp/multipartBody2678366423886066341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334772251,"filename":"image_08012025_12_11_02_175100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d5e300cdf8ea6b47180a77b8f2b115e.jpg","text":"TemporaryFile(/tmp/multipartBody1230607398656401832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334772251,"filename":"image_08012025_12_10_02_977071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71ced619dd144363b8b3e5839afa716b.jpg","text":"TemporaryFile(/tmp/multipartBody2859607277594358529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334772251,"filename":"image_08012025_12_11_02_175100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64ae4157879cd935e06f9c07f78d6137.jpg","text":"TemporaryFile(/tmp/multipartBody8619820013713341266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334772251,"filename":"image_08012025_12_11_02_175100_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452750","file1":"1327452748","file0":"1327452746","file3":"1327452752"},"map_files_photo_id_array":[{"photo_id":"1327452750","filename":"file2"},{"photo_id":"1327452748","filename":"file1"},{"photo_id":"1327452746","filename":"file0"},{"photo_id":"1327452752","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452752":["hashtag1","hashtag2"]},{"1327452746":["hashtag1","hashtag2"]},{"1327452748":["hashtag1","hashtag2"]},{"1327452750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452752, 1327452746, 1327452748, 1327452750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50300574302673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:12:22.280587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0003.jpg', '/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0000.jpg', '/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0001.jpg', '/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/11/image_08012025_12_11_02_175100_0003.jpg
/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0000.jpg
/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0001.jpg
/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452760","1327452765","1327452768","1327452762"],"photo_ids_order":["1327452760","1327452762","1327452765","1327452768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00160c902170633c38a82ee1328623d2.jpg","text":"TemporaryFile(/tmp/multipartBody5951415924921535801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334812566,"filename":"image_08012025_12_11_02_175100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e3f5d2201c443b8875a5cd885571689.jpg","text":"TemporaryFile(/tmp/multipartBody226466720437537702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334812566,"filename":"image_08012025_12_12_02_427319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/be47aa4d5e63f9782997bf11e15d7bef.jpg","text":"TemporaryFile(/tmp/multipartBody7721023044470354760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334812566,"filename":"image_08012025_12_12_02_427319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8f793bc14dc5b63d23ae4780c77c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6938405368129976735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334812566,"filename":"image_08012025_12_12_02_427319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452765","file1":"1327452762","file0":"1327452760","file3":"1327452768"},"map_files_photo_id_array":[{"photo_id":"1327452765","filename":"file2"},{"photo_id":"1327452762","filename":"file1"},{"photo_id":"1327452760","filename":"file0"},{"photo_id":"1327452768","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452760":["hashtag1","hashtag2"]},{"1327452765":["hashtag1","hashtag2"]},{"1327452768":["hashtag1","hashtag2"]},{"1327452762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452760, 1327452765, 1327452768, 1327452762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92190170288086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:13:02.861423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:13:22.327507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0003.jpg', '/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0000.jpg', '/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0001.jpg', '/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/12/image_08012025_12_12_02_427319_0003.jpg
/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0000.jpg
/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0001.jpg
/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327452857","1327452853","1327452847","1327452850"],"photo_ids_order":["1327452847","1327452850","1327452853","1327452857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f364361d6783fcd6eafd4bc65c24791d.jpg","text":"TemporaryFile(/tmp/multipartBody965391753402638963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334872567,"filename":"image_08012025_12_13_02_543839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f7e111e91d6f448761c0ccf4b9ceda6.jpg","text":"TemporaryFile(/tmp/multipartBody4250232041345444366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334872567,"filename":"image_08012025_12_13_02_543839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1dc1561c44263855e04165a1a5835fe.jpg","text":"TemporaryFile(/tmp/multipartBody8189662089283596908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334872567,"filename":"image_08012025_12_12_02_427319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1c322bc7afaf5a4615a7cacb5c295d9.jpg","text":"TemporaryFile(/tmp/multipartBody6809847367231006015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334872567,"filename":"image_08012025_12_13_02_543839_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327452853","file1":"1327452850","file0":"1327452847","file3":"1327452857"},"map_files_photo_id_array":[{"photo_id":"1327452853","filename":"file2"},{"photo_id":"1327452850","filename":"file1"},{"photo_id":"1327452847","filename":"file0"},{"photo_id":"1327452857","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327452857":["hashtag1","hashtag2"]},{"1327452853":["hashtag1","hashtag2"]},{"1327452847":["hashtag1","hashtag2"]},{"1327452850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327452857, 1327452853, 1327452847, 1327452850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60333704948425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:14:02.915471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:14:22.513325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0003.jpg', '/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0000.jpg', '/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0001.jpg', '/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/13/image_08012025_12_13_02_543839_0003.jpg
/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0000.jpg
/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0001.jpg
/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327453150","1327452880","1327452894","1327453023"],"photo_ids_order":["1327452880","1327452894","1327453023","1327453150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80ce8d3d7d67fcc7bcec10b402a2c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody6194950194215473782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334932759,"filename":"image_08012025_12_14_02_697533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/924b47b266510853b4aa3ae431d879b7.jpg","text":"TemporaryFile(/tmp/multipartBody5995842004067672168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334932759,"filename":"image_08012025_12_13_02_543839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b95256bbdb4ef39f9d729a21f0594e6.jpg","text":"TemporaryFile(/tmp/multipartBody7858839409879337444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334932759,"filename":"image_08012025_12_14_02_697533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74d056ec0acb7a5a89ebe13e99668c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4636189381107431939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334932759,"filename":"image_08012025_12_14_02_697533_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327453023","file1":"1327452894","file0":"1327452880","file3":"1327453150"},"map_files_photo_id_array":[{"photo_id":"1327453023","filename":"file2"},{"photo_id":"1327452894","filename":"file1"},{"photo_id":"1327452880","filename":"file0"},{"photo_id":"1327453150","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327453150":["hashtag1","hashtag2"]},{"1327452880":["hashtag1","hashtag2"]},{"1327452894":["hashtag1","hashtag2"]},{"1327453023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327453150, 1327452880, 1327452894, 1327453023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50296950340271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:15:03.232478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:15:22.727293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0003.jpg', '/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0000.jpg', '/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0001.jpg', '/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/14/image_08012025_12_14_02_697533_0003.jpg
/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0000.jpg
/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0001.jpg
/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327453174","1327453188","1327453182","1327453178"],"photo_ids_order":["1327453174","1327453178","1327453182","1327453188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f14315e3f27c8753953db27984e7c683.jpg","text":"TemporaryFile(/tmp/multipartBody2823161823469924115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334993004,"filename":"image_08012025_12_14_02_697533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c63dbde245fcb647fabf3e737a039168.jpg","text":"TemporaryFile(/tmp/multipartBody1671959521190365453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334993004,"filename":"image_08012025_12_15_02_820529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/327c4ad386538d3e49bf45695ad36ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4403448253273577541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334993004,"filename":"image_08012025_12_15_02_820529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20a684e46900b59d6eb7cbdefac2f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody2084370465350285054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736334993004,"filename":"image_08012025_12_15_02_820529_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327453182","file1":"1327453178","file0":"1327453174","file3":"1327453188"},"map_files_photo_id_array":[{"photo_id":"1327453182","filename":"file2"},{"photo_id":"1327453178","filename":"file1"},{"photo_id":"1327453174","filename":"file0"},{"photo_id":"1327453188","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327453174":["hashtag1","hashtag2"]},{"1327453188":["hashtag1","hashtag2"]},{"1327453182":["hashtag1","hashtag2"]},{"1327453178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327453174, 1327453188, 1327453182, 1327453178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58447074890137 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-08 12:16:21.892575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0003.jpg', '/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0000.jpg', '/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0001.jpg', '/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/15/image_08012025_12_15_02_820529_0003.jpg
/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0000.jpg
/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0001.jpg
/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327453290","1327453287","1327453283","1327453292"],"photo_ids_order":["1327453283","1327453287","1327453290","1327453292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c46837345933921b71aa4d183960f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody3620811950578129690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335051969,"filename":"image_08012025_12_16_03_025580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e946fb327b5170339b0221b6de316df.jpg","text":"TemporaryFile(/tmp/multipartBody5245004433158299614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335051969,"filename":"image_08012025_12_16_03_025580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1965aab2d548334fc48bb912c90ce890.jpg","text":"TemporaryFile(/tmp/multipartBody2024028307539218055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335051969,"filename":"image_08012025_12_15_02_820529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba9200390dae014cf600076e805f1bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4062265768788882994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335051969,"filename":"image_08012025_12_16_03_025580_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327453290","file1":"1327453287","file0":"1327453283","file3":"1327453292"},"map_files_photo_id_array":[{"photo_id":"1327453290","filename":"file2"},{"photo_id":"1327453287","filename":"file1"},{"photo_id":"1327453283","filename":"file0"},{"photo_id":"1327453292","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327453290":["hashtag1","hashtag2"]},{"1327453287":["hashtag1","hashtag2"]},{"1327453283":["hashtag1","hashtag2"]},{"1327453292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327453290, 1327453287, 1327453283, 1327453292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.612098693847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 12:17:02.592271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:17:21.965032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0003.jpg', '/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0000.jpg', '/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0001.jpg', '/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/16/image_08012025_12_16_03_025580_0003.jpg
/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0000.jpg
/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0001.jpg
/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327453304","1327453312","1327453314","1327453308"],"photo_ids_order":["1327453304","1327453308","1327453312","1327453314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45bb0922e31e0b9418961fda24046641.jpg","text":"TemporaryFile(/tmp/multipartBody7992979731392676835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335112293,"filename":"image_08012025_12_16_03_025580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb3490d1662517ef27624d08d96dc51f.jpg","text":"TemporaryFile(/tmp/multipartBody759266036053426645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335112293,"filename":"image_08012025_12_17_02_209557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29bbaf7bb45b36431b68323e09061f04.jpg","text":"TemporaryFile(/tmp/multipartBody2213782843575831342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335112293,"filename":"image_08012025_12_17_02_209557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88e537038581d6454bfc545d5fae8dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3795073088044696731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335112293,"filename":"image_08012025_12_17_02_209557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327453312","file1":"1327453308","file0":"1327453304","file3":"1327453314"},"map_files_photo_id_array":[{"photo_id":"1327453312","filename":"file2"},{"photo_id":"1327453308","filename":"file1"},{"photo_id":"1327453304","filename":"file0"},{"photo_id":"1327453314","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327453304":["hashtag1","hashtag2"]},{"1327453312":["hashtag1","hashtag2"]},{"1327453314":["hashtag1","hashtag2"]},{"1327453308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327453304, 1327453312, 1327453314, 1327453308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56554388999939 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-08 12:18:22.179323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0003.jpg', '/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0000.jpg', '/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0001.jpg', '/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/17/image_08012025_12_17_02_209557_0003.jpg
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0000.jpg
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0001.jpg
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327453325","1327453331","1327453334","1327453328"],"photo_ids_order":["1327453325","1327453328","1327453331","1327453334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c19eb1383051e2e7f9187daa6c9fe06.jpg","text":"TemporaryFile(/tmp/multipartBody579566223142234272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335172304,"filename":"image_08012025_12_17_02_209557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f28b170db93629286393bf76adcbde71.jpg","text":"TemporaryFile(/tmp/multipartBody546668426413465372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335172304,"filename":"image_08012025_12_18_02_339032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9715fa57d14819c7b817abcefe9f7bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1090540331915980747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335172304,"filename":"image_08012025_12_18_02_339032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e2af57919dad495b7b0b0b6131aabc9.jpg","text":"TemporaryFile(/tmp/multipartBody7806130512775056971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736335172304,"filename":"image_08012025_12_18_02_339032_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327453331","file1":"1327453328","file0":"1327453325","file3":"1327453334"},"map_files_photo_id_array":[{"photo_id":"1327453331","filename":"file2"},{"photo_id":"1327453328","filename":"file1"},{"photo_id":"1327453325","filename":"file0"},{"photo_id":"1327453334","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327453325":["hashtag1","hashtag2"]},{"1327453331":["hashtag1","hashtag2"]},{"1327453334":["hashtag1","hashtag2"]},{"1327453328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327453325, 1327453331, 1327453334, 1327453328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.301186084747314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:19:22.355727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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-08 12:59:02.435828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.513416051864624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 12:59:21.839156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.269306421279907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 12:59:41.888124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.12499189376831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:00:02.354013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.139176368713379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:00:21.926324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.158531188964844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:00:42.021759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.233282566070557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:01:02.720891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.30439043045044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:01:22.214048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.178661346435547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:01:42.168278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191017150878906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:02:02.697266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.272169589996338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:02:22.402022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.211461305618286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:02:42.396793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.23258090019226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:03:03.127060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.337469100952148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:03:22.558225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.20820426940918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:03:42.588868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.241341352462769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:04:03.210008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.32867431640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:04:22.804654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.063218832015991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:04:42.751387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.314838886260986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:05:02.676254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.182947874069214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:05:21.970000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.083797693252563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:05:41.993336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.176745176315308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:06:02.592861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.165715217590332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:06:22.220422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.24047303199768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:06:42.204881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.198053359985352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:07:03.078512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.299644231796265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:07:22.377450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.172921180725098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:07:42.335803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.195251703262329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:08:02.994898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135818719863892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:08:22.552770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.145089387893677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:08:42.591879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11203408241272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:09:03.321982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.298648118972778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:09:22.749219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.10100507736206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:09:42.712620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.25668478012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:10:02.231158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.403865575790405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:10:21.932711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07443642616272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:10:41.863399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.248332023620605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:11:02.662349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.197500705718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:11:22.123526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.10751485824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:11:42.010804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.421797752380371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:12:02.585288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.236974477767944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:12:22.157043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.19046926498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:12:42.230595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.06466794013977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:13:03.056049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.210781574249268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:13:22.441149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.165191650390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:13:42.454237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.57492208480835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:14:03.057165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.282861232757568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:14:22.655745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.248212814331055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:14:42.599366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.109483003616333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:15:02.431601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.287054061889648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:15:21.866506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.223983526229858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:15:41.779536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.073283195495605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:16:02.428257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.23276400566101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:16:22.115370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.210830450057983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:16:42.126099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.273180484771729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:17:02.781319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.34730339050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:17:22.259000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.164507627487183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:17:42.261570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.270063877105713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:18:02.801780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.248388051986694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:18:22.418124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191982746124268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:18:42.439764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.23151159286499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:19:03.241500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.111543416976929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:19:22.608992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.227792739868164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:19:42.701987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.183531045913696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:20:03.281524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.370972394943237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:20:22.773408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.192087411880493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:20:42.765289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.131728410720825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:21:02.468474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191630601882935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:21:21.936423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.115789890289307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:21:41.943102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135701417922974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:22:02.504123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.423540830612183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:22:22.086259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.304361343383789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:22:42.090633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.123363494873047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:23:02.951418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.200648784637451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:23:22.272117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.079601049423218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:23:42.299477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.443408489227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:24:02.850464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.116183280944824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:24:22.475093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.085492610931396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:24:42.428365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.236547946929932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:25:03.237822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.22780466079712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:25:22.627267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.227577209472656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:25:42.586071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.248262166976929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:26:02.325268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.086202144622803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:26:21.816581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135359764099121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:26:41.839537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.345317840576172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:27:02.657575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.327983856201172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:27:21.977965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.084374189376831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:27:41.975194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.193309783935547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:28:02.607968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.306085348129272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:28:22.222212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11500597000122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:28:42.209715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.401095628738403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:29:02.916698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.237346649169922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:29:22.395255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.301552534103394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:29:42.400710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.203249454498291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:30:02.898604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.214403629302979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:30:22.551458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.170445919036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:30:42.519886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.207756280899048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:31:03.289860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.647590637207031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:31:22.711402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.215083599090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:31:42.753109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.308388710021973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:32:02.426823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.290731191635132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:32:21.976919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.267659425735474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:32:42.032279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.094959259033203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:33:02.720745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.186882019042969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:33:22.151825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.374191045761108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:33:42.151271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.266730785369873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:34:02.659383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.300328731536865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:34:22.376588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.231478691101074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:34:42.337821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.272350072860718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:35:03.168042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.35777735710144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:35:22.572744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.219509840011597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:35:42.517255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.39015507698059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:36:03.105856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.286021947860718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:36:22.680585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.27741026878357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:36:42.644209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.254127025604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:37:02.369257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.263382911682129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:37:22.018883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.164658308029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:37:41.891753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.222795009613037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:38:02.562129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.336065769195557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:38:22.085036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.200804710388184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:38:42.122903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.038773536682129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:39:02.835224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.294184684753418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:39:22.240775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.291666507720947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:39:42.277718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.296870946884155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:40:02.805653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.306588888168335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:40:22.453991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.17574954032898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:40:42.404902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.332380771636963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:41:03.205291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.328949451446533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:41:22.514555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.088585376739502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:41:42.501265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.37212324142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:42:03.134674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.329392671585083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:42:22.812732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.121157169342041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:42:42.737627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.218538284301758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:43:02.493089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.276159524917603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:43:21.899099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.23011326789856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:43:41.909172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.185939311981201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:44:02.504127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.404131650924683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:44:22.010667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.184412240982056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:44:41.978064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.17075800895691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:45:02.830120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.41763949394226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:45:22.193349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.221963882446289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:45:42.181640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.167222738265991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:46:02.862771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.259806871414185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:46:22.429496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.124975442886353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:46:42.349694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.143444538116455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:47:03.235366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.353301763534546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:47:22.656071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.139576196670532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:47:42.665455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.254327535629272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:48:03.109016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.276323556900024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:48:22.764650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07513976097107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:48:42.721715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.071587324142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:49:02.530766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.269111394882202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:49:21.979319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.400547504425049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:49:41.968902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.108139514923096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:50:02.552202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.445353507995605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:50:22.087012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.229385375976562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:50:42.083067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.272321701049805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:51:02.942694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.22210693359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:51:22.400088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.235366582870483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:51:42.304283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.077324628829956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:52:02.921783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.163955450057983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:52:22.486579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.120512962341309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:52:42.438759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.076340913772583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:53:03.283705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.20282530784607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:53:22.714363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.265725135803223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:53:42.720855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.120445966720581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:54:02.296352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.26030421257019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:54:21.941767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.2118821144104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:54:41.888062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.295798063278198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:55:02.784236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.351637840270996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:55:22.086286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.230412483215332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:55:42.124734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.320935249328613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:56:02.710844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191473245620728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:56:22.293438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.285238265991211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:56:42.176982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.208641767501831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:57:03.069358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.332329511642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 13:57:22.442941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.3001229763031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 13:57:42.472692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 13:59:02.532446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg', '/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/18/image_08012025_12_18_02_339032_0003.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0000.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0001.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0002.jpg
/home/pi/Desktop/images/08012025/12/19/image_08012025_12_19_02_491469_0003.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_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":["1327461559","1327461525","1327461575","1327461572","1327461566","1327461569"],"photo_ids_order":["1327461525","1327461559","1327461566","1327461569","1327461572","1327461575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11fc5712583402681cd833bcaa5744a9.jpg","text":"TemporaryFile(/tmp/multipartBody5058930186213715056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_19_02_491469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/382594a34fc2f328cf8f838040371616.jpg","text":"TemporaryFile(/tmp/multipartBody8374481967049172422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_18_02_339032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/072241515bdc5a0af2393bb3e10a0da5.jpg","text":"TemporaryFile(/tmp/multipartBody8651416403216033754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_20_02_655073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b71a07c2828ed13ea7fe7e87330e3f17.jpg","text":"TemporaryFile(/tmp/multipartBody7380722977452863737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_19_02_491469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ced08e6c9a2caa9ff4dbd8cbba117bc.jpg","text":"TemporaryFile(/tmp/multipartBody5257195609828752360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_19_02_491469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/012b2312ccb3bce316bf82977ede4261.jpg","text":"TemporaryFile(/tmp/multipartBody8747195404060911593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341217653,"filename":"image_08012025_12_19_02_491469_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327461566","file1":"1327461559","file0":"1327461525","file4":"1327461572","file5":"1327461575","file3":"1327461569"},"map_files_photo_id_array":[{"photo_id":"1327461575","filename":"file5"},{"photo_id":"1327461566","filename":"file2"},{"photo_id":"1327461572","filename":"file4"},{"photo_id":"1327461559","filename":"file1"},{"photo_id":"1327461525","filename":"file0"},{"photo_id":"1327461569","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327461559":["hashtag1","hashtag2"]},{"1327461525":["hashtag1","hashtag2"]},{"1327461575":["hashtag1","hashtag2"]},{"1327461572":["hashtag1","hashtag2"]},{"1327461566":["hashtag1","hashtag2"]},{"1327461569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327461559, 1327461525, 1327461575, 1327461572, 1327461566, 1327461569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.680686235427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:00:02.476194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0001.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0002.jpg', '/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0003.jpg', '/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0000.jpg', '/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0001.jpg', '/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0001.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0002.jpg
/home/pi/Desktop/images/08012025/12/20/image_08012025_12_20_02_655073_0003.jpg
/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0000.jpg
/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0001.jpg
/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327461701","1327461691","1327461605","1327461600","1327461695","1327461596"],"photo_ids_order":["1327461596","1327461600","1327461605","1327461691","1327461695","1327461701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f88b1c938a194f05bd50298126fa9f00.jpg","text":"TemporaryFile(/tmp/multipartBody4036801125963122836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_21_02_820341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e999317607f649659688a56241c740c2.jpg","text":"TemporaryFile(/tmp/multipartBody1265622201243597526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_21_02_820341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dcfe13a251c75e6849b337c6da56ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody8704186091881816257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_20_02_655073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d40e8e7c3d32150bf84a5f90f5360fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6568216829946018367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_20_02_655073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9705f87e25852f0e5812bc58d001748a.jpg","text":"TemporaryFile(/tmp/multipartBody8443095321817396484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_21_02_820341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c403694ff446300998a928383f45cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2033270426647542104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341277390,"filename":"image_08012025_12_20_02_655073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327461605","file1":"1327461600","file0":"1327461596","file4":"1327461695","file5":"1327461701","file3":"1327461691"},"map_files_photo_id_array":[{"photo_id":"1327461701","filename":"file5"},{"photo_id":"1327461605","filename":"file2"},{"photo_id":"1327461695","filename":"file4"},{"photo_id":"1327461600","filename":"file1"},{"photo_id":"1327461596","filename":"file0"},{"photo_id":"1327461691","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327461701":["hashtag1","hashtag2"]},{"1327461691":["hashtag1","hashtag2"]},{"1327461605":["hashtag1","hashtag2"]},{"1327461600":["hashtag1","hashtag2"]},{"1327461695":["hashtag1","hashtag2"]},{"1327461596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327461701, 1327461691, 1327461605, 1327461600, 1327461695, 1327461596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4757821559906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:01:02.633155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0003.jpg', '/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0000.jpg', '/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0001.jpg', '/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0002.jpg', '/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0003.jpg', '/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/21/image_08012025_12_21_02_820341_0003.jpg
/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0000.jpg
/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0001.jpg
/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0002.jpg
/home/pi/Desktop/images/08012025/12/22/image_08012025_12_22_03_125267_0003.jpg
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_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":["1327461751","1327461742","1327461762","1327461755","1327461758","1327461746"],"photo_ids_order":["1327461742","1327461746","1327461751","1327461755","1327461758","1327461762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e49bc42e960fd5c662616170ec69c6dd.jpg","text":"TemporaryFile(/tmp/multipartBody5862552290842319211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_22_03_125267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5fee782155ffda2dccaa9070cbdc11e6.jpg","text":"TemporaryFile(/tmp/multipartBody4390638847848139088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_21_02_820341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d902ea4166452b8dcb3c36a0af37490.jpg","text":"TemporaryFile(/tmp/multipartBody8744027821598644164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_23_02_201191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b1b14d20c8cac8480e92255eb9fdb7d.jpg","text":"TemporaryFile(/tmp/multipartBody386479398717186266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_22_03_125267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f28bacc4c0f538d310cc6358337db999.jpg","text":"TemporaryFile(/tmp/multipartBody7879779409669797454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_22_03_125267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/44b13c5a35983eaaa013a5379ae21dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7481287472469807693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341337858,"filename":"image_08012025_12_22_03_125267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327461751","file1":"1327461746","file0":"1327461742","file4":"1327461758","file5":"1327461762","file3":"1327461755"},"map_files_photo_id_array":[{"photo_id":"1327461762","filename":"file5"},{"photo_id":"1327461751","filename":"file2"},{"photo_id":"1327461758","filename":"file4"},{"photo_id":"1327461746","filename":"file1"},{"photo_id":"1327461742","filename":"file0"},{"photo_id":"1327461755","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327461751":["hashtag1","hashtag2"]},{"1327461742":["hashtag1","hashtag2"]},{"1327461762":["hashtag1","hashtag2"]},{"1327461755":["hashtag1","hashtag2"]},{"1327461758":["hashtag1","hashtag2"]},{"1327461746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327461751, 1327461742, 1327461762, 1327461755, 1327461758, 1327461746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.480958700180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:02:02.803308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0001.jpg', '/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0002.jpg', '/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0003.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0000.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0001.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0001.jpg
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0002.jpg
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0003.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0000.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0001.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.577576875686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:02:22.371259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0001.jpg', '/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0002.jpg', '/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0003.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0000.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0001.jpg', '/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0001.jpg
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0002.jpg
/home/pi/Desktop/images/08012025/12/23/image_08012025_12_23_02_201191_0003.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0000.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0001.jpg
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327461871","1327461868","1327461858","1327461831","1327461836","1327461827"],"photo_ids_order":["1327461827","1327461831","1327461836","1327461858","1327461868","1327461871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47879bf767baaed9b70dfcd11b166ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6369043112903382218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_24_02_415616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ddb366733946a9cb368e978c56555625.jpg","text":"TemporaryFile(/tmp/multipartBody6575180453802508114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_24_02_415616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e3b5936774f9a2bd4b0eedeb4b171fe.jpg","text":"TemporaryFile(/tmp/multipartBody54153997165221242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_24_02_415616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/607a5fe8cbceee5c953671c60b77b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3824617849625416250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_23_02_201191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3fd6ffc27f0612f0a16e7d0acbc6461.jpg","text":"TemporaryFile(/tmp/multipartBody3997175389716765238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_23_02_201191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7224b9a466bbe3a041ac8f4550d7784c.jpg","text":"TemporaryFile(/tmp/multipartBody3021193674744949979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341417315,"filename":"image_08012025_12_23_02_201191_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327461836","file1":"1327461831","file0":"1327461827","file4":"1327461868","file5":"1327461871","file3":"1327461858"},"map_files_photo_id_array":[{"photo_id":"1327461871","filename":"file5"},{"photo_id":"1327461836","filename":"file2"},{"photo_id":"1327461868","filename":"file4"},{"photo_id":"1327461831","filename":"file1"},{"photo_id":"1327461827","filename":"file0"},{"photo_id":"1327461858","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327461871":["hashtag1","hashtag2"]},{"1327461868":["hashtag1","hashtag2"]},{"1327461858":["hashtag1","hashtag2"]},{"1327461831":["hashtag1","hashtag2"]},{"1327461836":["hashtag1","hashtag2"]},{"1327461827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327461871, 1327461868, 1327461858, 1327461831, 1327461836, 1327461827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.343541622161865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:03:22.579469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0003.jpg', '/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0000.jpg', '/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0001.jpg', '/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0002.jpg', '/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0003.jpg', '/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/24/image_08012025_12_24_02_415616_0003.jpg
/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0000.jpg
/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0001.jpg
/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0002.jpg
/home/pi/Desktop/images/08012025/12/25/image_08012025_12_25_02_584061_0003.jpg
/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_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":["1327462060","1327462068","1327462071","1327462073","1327462075","1327462063"],"photo_ids_order":["1327462060","1327462063","1327462068","1327462071","1327462073","1327462075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0005dbd35fbcac379e120ab7eb87abff.jpg","text":"TemporaryFile(/tmp/multipartBody1287570153604304094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_24_02_415616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/444af3e557ec0ae1782f8a6136f4487b.jpg","text":"TemporaryFile(/tmp/multipartBody566647243300100564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_25_02_584061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd2428fe8a36c8ae3e96e00292b39729.jpg","text":"TemporaryFile(/tmp/multipartBody8924423533461787861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_25_02_584061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e51b91366d7b0e6308d682b7da0a488b.jpg","text":"TemporaryFile(/tmp/multipartBody8019692586927175098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_25_02_584061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95f3a9c2df9af17ac607d528f52aba9c.jpg","text":"TemporaryFile(/tmp/multipartBody7789361112930586602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_26_02_740626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39489f9508b030345c2dfd33c7ecf7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8994449328649775670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341477608,"filename":"image_08012025_12_25_02_584061_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462068","file1":"1327462063","file0":"1327462060","file4":"1327462073","file5":"1327462075","file3":"1327462071"},"map_files_photo_id_array":[{"photo_id":"1327462075","filename":"file5"},{"photo_id":"1327462068","filename":"file2"},{"photo_id":"1327462073","filename":"file4"},{"photo_id":"1327462063","filename":"file1"},{"photo_id":"1327462060","filename":"file0"},{"photo_id":"1327462071","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462060":["hashtag1","hashtag2"]},{"1327462068":["hashtag1","hashtag2"]},{"1327462071":["hashtag1","hashtag2"]},{"1327462073":["hashtag1","hashtag2"]},{"1327462075":["hashtag1","hashtag2"]},{"1327462063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462060, 1327462068, 1327462071, 1327462073, 1327462075, 1327462063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.04925894737244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:04:31.791820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0001.jpg', '/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0002.jpg', '/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0003.jpg', '/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0000.jpg', '/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0001.jpg', '/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0001.jpg
/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0002.jpg
/home/pi/Desktop/images/08012025/12/26/image_08012025_12_26_02_740626_0003.jpg
/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0000.jpg
/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0001.jpg
/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327462102","1327462105","1327462107","1327462097","1327462100","1327462093"],"photo_ids_order":["1327462093","1327462097","1327462100","1327462102","1327462105","1327462107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0abc7354626b4165ad3339f6289f60a5.jpg","text":"TemporaryFile(/tmp/multipartBody2018810369961937172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_27_02_976360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56fde2063dda92b060e68fca13700785.jpg","text":"TemporaryFile(/tmp/multipartBody4351561493622780712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_27_02_976360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b685cc163c152ba6d5b6afe9425e0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2391617435326932956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_27_02_976360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4471be98b2e852f34571a94b914d29b.jpg","text":"TemporaryFile(/tmp/multipartBody3441917906783266270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_26_02_740626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d38e76a982831e80fdb8f728da2bf40.jpg","text":"TemporaryFile(/tmp/multipartBody3891083488576952891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_26_02_740626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/722a3f4481e2636912592a2a8993e97c.jpg","text":"TemporaryFile(/tmp/multipartBody5963664153119787715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341546913,"filename":"image_08012025_12_26_02_740626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462100","file1":"1327462097","file0":"1327462093","file4":"1327462105","file5":"1327462107","file3":"1327462102"},"map_files_photo_id_array":[{"photo_id":"1327462107","filename":"file5"},{"photo_id":"1327462100","filename":"file2"},{"photo_id":"1327462105","filename":"file4"},{"photo_id":"1327462097","filename":"file1"},{"photo_id":"1327462093","filename":"file0"},{"photo_id":"1327462102","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462102":["hashtag1","hashtag2"]},{"1327462105":["hashtag1","hashtag2"]},{"1327462107":["hashtag1","hashtag2"]},{"1327462097":["hashtag1","hashtag2"]},{"1327462100":["hashtag1","hashtag2"]},{"1327462093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462102, 1327462105, 1327462107, 1327462097, 1327462100, 1327462093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.52420425415039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:05:31.952921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0003.jpg', '/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0000.jpg', '/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0001.jpg', '/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0002.jpg', '/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0003.jpg', '/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/27/image_08012025_12_27_02_976360_0003.jpg
/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0000.jpg
/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0001.jpg
/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0002.jpg
/home/pi/Desktop/images/08012025/12/28/image_08012025_12_28_03_070230_0003.jpg
/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_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":["1327462153","1327462126","1327462141","1327462129","1327462137","1327462139"],"photo_ids_order":["1327462126","1327462129","1327462137","1327462139","1327462141","1327462153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5235bcbed205ac3afab2a5a552fa2961.jpg","text":"TemporaryFile(/tmp/multipartBody8754882695756990773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_29_02_254589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/484d5b6415eb7bed47f599d022e3bd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7577588920493406806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_27_02_976360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ac576ccda43ebe1690f7d8726d27707.jpg","text":"TemporaryFile(/tmp/multipartBody1396683876001775644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_28_03_070230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/484712190a472bd6ea6012df17bfaf8a.jpg","text":"TemporaryFile(/tmp/multipartBody5716502907460617291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_28_03_070230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f8e6c5a6a45d6a5fd185966fb29ac48.jpg","text":"TemporaryFile(/tmp/multipartBody6131488879506346184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_28_03_070230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba8912cc917167e094daeb3ee588efb1.jpg","text":"TemporaryFile(/tmp/multipartBody7124908562902044602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341607130,"filename":"image_08012025_12_28_03_070230_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462137","file1":"1327462129","file0":"1327462126","file4":"1327462141","file5":"1327462153","file3":"1327462139"},"map_files_photo_id_array":[{"photo_id":"1327462153","filename":"file5"},{"photo_id":"1327462137","filename":"file2"},{"photo_id":"1327462141","filename":"file4"},{"photo_id":"1327462129","filename":"file1"},{"photo_id":"1327462126","filename":"file0"},{"photo_id":"1327462139","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462153":["hashtag1","hashtag2"]},{"1327462126":["hashtag1","hashtag2"]},{"1327462141":["hashtag1","hashtag2"]},{"1327462129":["hashtag1","hashtag2"]},{"1327462137":["hashtag1","hashtag2"]},{"1327462139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462153, 1327462126, 1327462141, 1327462129, 1327462137, 1327462139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08005690574646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:06:32.223182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0001.jpg', '/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0002.jpg', '/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0003.jpg', '/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0000.jpg', '/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0001.jpg', '/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0001.jpg
/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0002.jpg
/home/pi/Desktop/images/08012025/12/29/image_08012025_12_29_02_254589_0003.jpg
/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0000.jpg
/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0001.jpg
/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327462179","1327462188","1327462182","1327462176","1327462184","1327462186"],"photo_ids_order":["1327462176","1327462179","1327462182","1327462184","1327462186","1327462188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/406c1c00be21a60ce2ebfa01f7e97187.jpg","text":"TemporaryFile(/tmp/multipartBody7792716100314935125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_29_02_254589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da39e5c95842a9bd3009de54cc9e5513.jpg","text":"TemporaryFile(/tmp/multipartBody859332688975638212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_30_02_424069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/693606d3916575e2b52c88be9d898556.jpg","text":"TemporaryFile(/tmp/multipartBody8588641649907072170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_29_02_254589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e77eec6348e1bd0da691cd618a627ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2238049707987248348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_29_02_254589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b07c5b617f2cf619f753a9335816984.jpg","text":"TemporaryFile(/tmp/multipartBody6490951994814830775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_30_02_424069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/474497c9a16937e5e96cce8dc5fdcd51.jpg","text":"TemporaryFile(/tmp/multipartBody4609235434295760219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341667190,"filename":"image_08012025_12_30_02_424069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462182","file1":"1327462179","file0":"1327462176","file4":"1327462186","file5":"1327462188","file3":"1327462184"},"map_files_photo_id_array":[{"photo_id":"1327462188","filename":"file5"},{"photo_id":"1327462182","filename":"file2"},{"photo_id":"1327462186","filename":"file4"},{"photo_id":"1327462179","filename":"file1"},{"photo_id":"1327462176","filename":"file0"},{"photo_id":"1327462184","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462179":["hashtag1","hashtag2"]},{"1327462188":["hashtag1","hashtag2"]},{"1327462182":["hashtag1","hashtag2"]},{"1327462176":["hashtag1","hashtag2"]},{"1327462184":["hashtag1","hashtag2"]},{"1327462186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462179, 1327462188, 1327462182, 1327462176, 1327462184, 1327462186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.911900758743286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:07:32.230837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0003.jpg', '/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0000.jpg', '/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0001.jpg', '/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0002.jpg', '/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0003.jpg', '/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/30/image_08012025_12_30_02_424069_0003.jpg
/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0000.jpg
/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0001.jpg
/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0002.jpg
/home/pi/Desktop/images/08012025/12/31/image_08012025_12_31_02_617410_0003.jpg
/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_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":["1327462213","1327462222","1327462224","1327462206","1327462209","1327462211"],"photo_ids_order":["1327462206","1327462209","1327462211","1327462213","1327462222","1327462224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebe3a61d628716d9888547596a8419b3.jpg","text":"TemporaryFile(/tmp/multipartBody5685800003000826618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_31_02_617410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8fb7cc8f0b1c58a2234a6b5b8dbc269.jpg","text":"TemporaryFile(/tmp/multipartBody6358804675533014520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_31_02_617410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a97f377b03506a7c0d6caa6cad1222a.jpg","text":"TemporaryFile(/tmp/multipartBody3458572017098469875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_32_02_877450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/921964832dc65a90baac7dcdb13397d4.jpg","text":"TemporaryFile(/tmp/multipartBody3703298189361297735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_30_02_424069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/083f74cdb4b8bba9d8b4d8a21994152f.jpg","text":"TemporaryFile(/tmp/multipartBody4903498624311211079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_31_02_617410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93f2d4bbdec173c3319557a2d59481ba.jpg","text":"TemporaryFile(/tmp/multipartBody497779565159518045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341727302,"filename":"image_08012025_12_31_02_617410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462211","file1":"1327462209","file0":"1327462206","file4":"1327462222","file5":"1327462224","file3":"1327462213"},"map_files_photo_id_array":[{"photo_id":"1327462224","filename":"file5"},{"photo_id":"1327462211","filename":"file2"},{"photo_id":"1327462222","filename":"file4"},{"photo_id":"1327462209","filename":"file1"},{"photo_id":"1327462206","filename":"file0"},{"photo_id":"1327462213","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462213":["hashtag1","hashtag2"]},{"1327462222":["hashtag1","hashtag2"]},{"1327462224":["hashtag1","hashtag2"]},{"1327462206":["hashtag1","hashtag2"]},{"1327462209":["hashtag1","hashtag2"]},{"1327462211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462213, 1327462222, 1327462224, 1327462206, 1327462209, 1327462211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.997403383255005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:08:32.457125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0001.jpg', '/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0002.jpg', '/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0003.jpg', '/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0000.jpg', '/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0001.jpg', '/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0001.jpg
/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0002.jpg
/home/pi/Desktop/images/08012025/12/32/image_08012025_12_32_02_877450_0003.jpg
/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0000.jpg
/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0001.jpg
/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327462260","1327462263","1327462271","1327462274","1327462256","1327462267"],"photo_ids_order":["1327462256","1327462260","1327462263","1327462267","1327462271","1327462274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7046743989387e9f936ca08bf8cb8526.jpg","text":"TemporaryFile(/tmp/multipartBody5351991706866061002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_32_02_877450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a87512afd515d317922da32242162cef.jpg","text":"TemporaryFile(/tmp/multipartBody5485827283701973959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_32_02_877450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/537913fd3abf40610d0900856cccc728.jpg","text":"TemporaryFile(/tmp/multipartBody573099864285371865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_33_03_063561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6546184616e5ef3317715337e9a7fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7670517740409189880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_33_03_063561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dda4da22933b068f691753cbdcd80f26.jpg","text":"TemporaryFile(/tmp/multipartBody7503111852575126159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_32_02_877450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4596c931dc15af26ea5f56cd4cb7e223.jpg","text":"TemporaryFile(/tmp/multipartBody5069092967929062138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341787523,"filename":"image_08012025_12_33_03_063561_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462263","file1":"1327462260","file0":"1327462256","file4":"1327462271","file5":"1327462274","file3":"1327462267"},"map_files_photo_id_array":[{"photo_id":"1327462274","filename":"file5"},{"photo_id":"1327462263","filename":"file2"},{"photo_id":"1327462271","filename":"file4"},{"photo_id":"1327462260","filename":"file1"},{"photo_id":"1327462256","filename":"file0"},{"photo_id":"1327462267","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462260":["hashtag1","hashtag2"]},{"1327462263":["hashtag1","hashtag2"]},{"1327462271":["hashtag1","hashtag2"]},{"1327462274":["hashtag1","hashtag2"]},{"1327462256":["hashtag1","hashtag2"]},{"1327462267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462260, 1327462263, 1327462271, 1327462274, 1327462256, 1327462267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.75178813934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:09:32.672356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0003.jpg', '/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0000.jpg', '/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0001.jpg', '/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0002.jpg', '/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0003.jpg', '/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/33/image_08012025_12_33_03_063561_0003.jpg
/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0000.jpg
/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0001.jpg
/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0002.jpg
/home/pi/Desktop/images/08012025/12/34/image_08012025_12_34_02_206367_0003.jpg
/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_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":["1327462306","1327462314","1327462302","1327462343","1327462310","1327462304"],"photo_ids_order":["1327462302","1327462304","1327462306","1327462310","1327462314","1327462343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36014f9b991d343a6e1aead130684584.jpg","text":"TemporaryFile(/tmp/multipartBody730327439859616641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_34_02_206367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35e4a88f5d53096350877791e6615c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8060890907778968816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_34_02_206367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b4471322dc6cf21871cc7895a5fb6ff.jpg","text":"TemporaryFile(/tmp/multipartBody2651607547737044570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_33_03_063561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02b2df8a29daa9887ecd5834346d9549.jpg","text":"TemporaryFile(/tmp/multipartBody8304571554608467347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_35_02_406950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e5cdd1a2cd88d0bbef4ed371f60a5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8807637380265730972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_34_02_206367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32e9c9c895e86da27a8d224b3c3711bf.jpg","text":"TemporaryFile(/tmp/multipartBody6886869782709020197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341847592,"filename":"image_08012025_12_34_02_206367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462306","file1":"1327462304","file0":"1327462302","file4":"1327462314","file5":"1327462343","file3":"1327462310"},"map_files_photo_id_array":[{"photo_id":"1327462343","filename":"file5"},{"photo_id":"1327462306","filename":"file2"},{"photo_id":"1327462314","filename":"file4"},{"photo_id":"1327462304","filename":"file1"},{"photo_id":"1327462302","filename":"file0"},{"photo_id":"1327462310","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462306":["hashtag1","hashtag2"]},{"1327462314":["hashtag1","hashtag2"]},{"1327462302":["hashtag1","hashtag2"]},{"1327462343":["hashtag1","hashtag2"]},{"1327462310":["hashtag1","hashtag2"]},{"1327462304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462306, 1327462314, 1327462302, 1327462343, 1327462310, 1327462304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10238599777222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:10:31.772689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0001.jpg', '/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0002.jpg', '/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0003.jpg', '/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0000.jpg', '/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0001.jpg', '/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0001.jpg
/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0002.jpg
/home/pi/Desktop/images/08012025/12/35/image_08012025_12_35_02_406950_0003.jpg
/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0000.jpg
/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0001.jpg
/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327462378","1327462363","1327462359","1327462374","1327462367","1327462354"],"photo_ids_order":["1327462354","1327462359","1327462363","1327462367","1327462374","1327462378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cdc98a634da874a513805e62d745afd.jpg","text":"TemporaryFile(/tmp/multipartBody5013926088528426658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_36_02_643501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4203d80b1bd3f10c8d5467f4d468a5a.jpg","text":"TemporaryFile(/tmp/multipartBody539607740065555367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_35_02_406950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14af3bdbc634cc0072cf16076b2d471a.jpg","text":"TemporaryFile(/tmp/multipartBody6151803766759014252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_35_02_406950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a2c888997b0891c9d7d1d9c0a188f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5640089253196097402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_36_02_643501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95356b4e80f20753329a053177cb89dd.jpg","text":"TemporaryFile(/tmp/multipartBody6293306687687632179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_36_02_643501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/098d5afdb9383241a913be9764d65fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6844390076927135390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341906918,"filename":"image_08012025_12_35_02_406950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462363","file1":"1327462359","file0":"1327462354","file4":"1327462374","file5":"1327462378","file3":"1327462367"},"map_files_photo_id_array":[{"photo_id":"1327462378","filename":"file5"},{"photo_id":"1327462363","filename":"file2"},{"photo_id":"1327462374","filename":"file4"},{"photo_id":"1327462359","filename":"file1"},{"photo_id":"1327462354","filename":"file0"},{"photo_id":"1327462367","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462378":["hashtag1","hashtag2"]},{"1327462363":["hashtag1","hashtag2"]},{"1327462359":["hashtag1","hashtag2"]},{"1327462374":["hashtag1","hashtag2"]},{"1327462367":["hashtag1","hashtag2"]},{"1327462354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462378, 1327462363, 1327462359, 1327462374, 1327462367, 1327462354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72336769104004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:11:31.913930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0003.jpg', '/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0000.jpg', '/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0001.jpg', '/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0002.jpg', '/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0003.jpg', '/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/36/image_08012025_12_36_02_643501_0003.jpg
/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0000.jpg
/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0001.jpg
/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0002.jpg
/home/pi/Desktop/images/08012025/12/37/image_08012025_12_37_02_837355_0003.jpg
/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_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":["1327462534","1327462438","1327462530","1327462389","1327462564","1327462393"],"photo_ids_order":["1327462389","1327462393","1327462438","1327462530","1327462534","1327462564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2fac9ec5f5043eac7baa45bf4e9bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody559678390893879794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_37_02_837355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3560519fbe61300940aa38d38900dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5073200208306250873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_37_02_837355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50ce9880e31c92f84d35c3d7f496616e.jpg","text":"TemporaryFile(/tmp/multipartBody7575422931966056668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_37_02_837355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54c43ad6658312d301338fb57da931dc.jpg","text":"TemporaryFile(/tmp/multipartBody1186452209625704276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_36_02_643501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee16d6a5e118237e3b3ad12be531f829.jpg","text":"TemporaryFile(/tmp/multipartBody1854017996430774848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_38_03_036550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c475cfd6b8e478516301f3cda6dd683a.jpg","text":"TemporaryFile(/tmp/multipartBody5955752349122420938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736341966984,"filename":"image_08012025_12_37_02_837355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462438","file1":"1327462393","file0":"1327462389","file4":"1327462534","file5":"1327462564","file3":"1327462530"},"map_files_photo_id_array":[{"photo_id":"1327462564","filename":"file5"},{"photo_id":"1327462438","filename":"file2"},{"photo_id":"1327462534","filename":"file4"},{"photo_id":"1327462393","filename":"file1"},{"photo_id":"1327462389","filename":"file0"},{"photo_id":"1327462530","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462534":["hashtag1","hashtag2"]},{"1327462438":["hashtag1","hashtag2"]},{"1327462530":["hashtag1","hashtag2"]},{"1327462389":["hashtag1","hashtag2"]},{"1327462564":["hashtag1","hashtag2"]},{"1327462393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462534, 1327462438, 1327462530, 1327462389, 1327462564, 1327462393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.392924308776855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:12:32.147900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0001.jpg', '/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0002.jpg', '/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0003.jpg', '/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0000.jpg', '/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0001.jpg', '/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0001.jpg
/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0002.jpg
/home/pi/Desktop/images/08012025/12/38/image_08012025_12_38_03_036550_0003.jpg
/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0000.jpg
/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0001.jpg
/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327462648","1327462695","1327462611","1327462629","1327462640","1327462607"],"photo_ids_order":["1327462607","1327462611","1327462629","1327462640","1327462648","1327462695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91d04394d18faea42908638ed7e3f474.jpg","text":"TemporaryFile(/tmp/multipartBody4847217023122991043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_39_02_202223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3bcf041e18e7a90b11ea234eeddd8f26.jpg","text":"TemporaryFile(/tmp/multipartBody7373949703281609491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_39_02_202223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aae5910308c866f123485d89178c69aa.jpg","text":"TemporaryFile(/tmp/multipartBody4149956167179645335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_38_03_036550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54e14398cd11a5804a7b4360d9859224.jpg","text":"TemporaryFile(/tmp/multipartBody927261724686656474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_38_03_036550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4db7801df8ed7b523bbc315a5ddc66c7.jpg","text":"TemporaryFile(/tmp/multipartBody9016346069404888872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_39_02_202223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa1e2d1a84d731ba2a25b86a6c042843.jpg","text":"TemporaryFile(/tmp/multipartBody1287517492749580861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342027145,"filename":"image_08012025_12_38_03_036550_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462629","file1":"1327462611","file0":"1327462607","file4":"1327462648","file5":"1327462695","file3":"1327462640"},"map_files_photo_id_array":[{"photo_id":"1327462695","filename":"file5"},{"photo_id":"1327462629","filename":"file2"},{"photo_id":"1327462648","filename":"file4"},{"photo_id":"1327462611","filename":"file1"},{"photo_id":"1327462607","filename":"file0"},{"photo_id":"1327462640","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327462648":["hashtag1","hashtag2"]},{"1327462695":["hashtag1","hashtag2"]},{"1327462611":["hashtag1","hashtag2"]},{"1327462629":["hashtag1","hashtag2"]},{"1327462640":["hashtag1","hashtag2"]},{"1327462607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327462648, 1327462695, 1327462611, 1327462629, 1327462640, 1327462607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.597726345062256 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:13:42.315808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0003.jpg', '/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0000.jpg', '/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0001.jpg', '/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0002.jpg', '/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0003.jpg', '/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/39/image_08012025_12_39_02_202223_0003.jpg
/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0000.jpg
/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0001.jpg
/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0002.jpg
/home/pi/Desktop/images/08012025/12/40/image_08012025_12_40_02_388114_0003.jpg
/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_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":["1327463008","1327462982","1327463015","1327462993","1327462996","1327463005"],"photo_ids_order":["1327462982","1327462993","1327462996","1327463005","1327463008","1327463015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c36e3dd063436cf459330fd512e904d.jpg","text":"TemporaryFile(/tmp/multipartBody7206022847900551583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_40_02_388114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c852ec2d17c602e7abc25f5e64753e8.jpg","text":"TemporaryFile(/tmp/multipartBody2221313196373434066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_39_02_202223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1517461907891abb24d641a11aeb0a72.jpg","text":"TemporaryFile(/tmp/multipartBody3726916339005859030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_41_02_615390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4865f3d9d735863e972a59ccd054b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody6514273955940819535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_40_02_388114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cc63f9ea9f4b7c8946ec54f8505bc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3746762048099501264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_40_02_388114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ebd1ed1cdd874ab389c8f4fb1ac8442.jpg","text":"TemporaryFile(/tmp/multipartBody3953783149952167651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342097346,"filename":"image_08012025_12_40_02_388114_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327462996","file1":"1327462993","file0":"1327462982","file4":"1327463008","file5":"1327463015","file3":"1327463005"},"map_files_photo_id_array":[{"photo_id":"1327463015","filename":"file5"},{"photo_id":"1327462996","filename":"file2"},{"photo_id":"1327463008","filename":"file4"},{"photo_id":"1327462993","filename":"file1"},{"photo_id":"1327462982","filename":"file0"},{"photo_id":"1327463005","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463008":["hashtag1","hashtag2"]},{"1327462982":["hashtag1","hashtag2"]},{"1327463015":["hashtag1","hashtag2"]},{"1327462993":["hashtag1","hashtag2"]},{"1327462996":["hashtag1","hashtag2"]},{"1327463005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463008, 1327462982, 1327463015, 1327462993, 1327462996, 1327463005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.19525384902954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:14:42.474026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0001.jpg', '/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0002.jpg', '/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0003.jpg', '/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0000.jpg', '/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0001.jpg', '/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0001.jpg
/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0002.jpg
/home/pi/Desktop/images/08012025/12/41/image_08012025_12_41_02_615390_0003.jpg
/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0000.jpg
/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0001.jpg
/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327463052","1327463046","1327463031","1327463056","1327463041","1327463050"],"photo_ids_order":["1327463031","1327463041","1327463046","1327463050","1327463052","1327463056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31e412806473230562946add5edc4442.jpg","text":"TemporaryFile(/tmp/multipartBody5665518845420443118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_42_02_717025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd43c1630a64a0a9800754697dcfa4af.jpg","text":"TemporaryFile(/tmp/multipartBody9010975595748847827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_41_02_615390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/510298ce61e6eee1aacdc8a1e89ddae8.jpg","text":"TemporaryFile(/tmp/multipartBody3137165053010456502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_41_02_615390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26d991452a56af81941ed09c9d97d722.jpg","text":"TemporaryFile(/tmp/multipartBody3966112567075153085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_42_02_717025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a360df3581b2b11564c22bd8153e9203.jpg","text":"TemporaryFile(/tmp/multipartBody8578302289973103286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_41_02_615390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cacd76185a84c84d90002e64860f53b.jpg","text":"TemporaryFile(/tmp/multipartBody5134029444254125090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342157401,"filename":"image_08012025_12_42_02_717025_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463046","file1":"1327463041","file0":"1327463031","file4":"1327463052","file5":"1327463056","file3":"1327463050"},"map_files_photo_id_array":[{"photo_id":"1327463056","filename":"file5"},{"photo_id":"1327463046","filename":"file2"},{"photo_id":"1327463052","filename":"file4"},{"photo_id":"1327463041","filename":"file1"},{"photo_id":"1327463031","filename":"file0"},{"photo_id":"1327463050","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463052":["hashtag1","hashtag2"]},{"1327463046":["hashtag1","hashtag2"]},{"1327463031":["hashtag1","hashtag2"]},{"1327463056":["hashtag1","hashtag2"]},{"1327463041":["hashtag1","hashtag2"]},{"1327463050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463052, 1327463046, 1327463031, 1327463056, 1327463041, 1327463050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.79608631134033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:15:42.692850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0003.jpg', '/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0000.jpg', '/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0001.jpg', '/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0002.jpg', '/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0003.jpg', '/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/42/image_08012025_12_42_02_717025_0003.jpg
/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0000.jpg
/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0001.jpg
/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0002.jpg
/home/pi/Desktop/images/08012025/12/43/image_08012025_12_43_02_890278_0003.jpg
/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_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":["1327463097","1327463109","1327463100","1327463103","1327463112","1327463106"],"photo_ids_order":["1327463097","1327463100","1327463103","1327463106","1327463109","1327463112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/082f1f3ce75bbaebad97c2873e4d2da1.jpg","text":"TemporaryFile(/tmp/multipartBody2336372636414576509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_42_02_717025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/282e5f2d3e73e87004e369b0a402a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody1426505527754117554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_43_02_890278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91e9021f034a866e4047671db267acea.jpg","text":"TemporaryFile(/tmp/multipartBody7233407389329869971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_43_02_890278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/24ed6db726676e01adcff224d491177c.jpg","text":"TemporaryFile(/tmp/multipartBody2308688902070230554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_43_02_890278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d0573b766dc1dc86583bc84f81998f1.jpg","text":"TemporaryFile(/tmp/multipartBody6575794366381259752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_44_03_128192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/315faa4265f090874c8385e3e77038d6.jpg","text":"TemporaryFile(/tmp/multipartBody612108618481057896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342217647,"filename":"image_08012025_12_43_02_890278_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463103","file1":"1327463100","file0":"1327463097","file4":"1327463109","file5":"1327463112","file3":"1327463106"},"map_files_photo_id_array":[{"photo_id":"1327463112","filename":"file5"},{"photo_id":"1327463103","filename":"file2"},{"photo_id":"1327463109","filename":"file4"},{"photo_id":"1327463100","filename":"file1"},{"photo_id":"1327463097","filename":"file0"},{"photo_id":"1327463106","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463097":["hashtag1","hashtag2"]},{"1327463109":["hashtag1","hashtag2"]},{"1327463100":["hashtag1","hashtag2"]},{"1327463103":["hashtag1","hashtag2"]},{"1327463112":["hashtag1","hashtag2"]},{"1327463106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463097, 1327463109, 1327463100, 1327463103, 1327463112, 1327463106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.695571184158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:16:41.799629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0001.jpg', '/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0002.jpg', '/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0003.jpg', '/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0000.jpg', '/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0001.jpg', '/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0001.jpg
/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0002.jpg
/home/pi/Desktop/images/08012025/12/44/image_08012025_12_44_03_128192_0003.jpg
/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0000.jpg
/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0001.jpg
/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327463174","1327463159","1327463132","1327463129","1327463170","1327463164"],"photo_ids_order":["1327463129","1327463132","1327463159","1327463164","1327463170","1327463174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/470f38fce0c74aec5148c438ab22ffd6.jpg","text":"TemporaryFile(/tmp/multipartBody7306515201193788597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_45_02_386158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8d53db57131b014e6bb7db5c2d33ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2275339593678909779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_44_03_128192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ecaf292e4453a3e5dbdc8dabed206b1.jpg","text":"TemporaryFile(/tmp/multipartBody1882132061709050258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_44_03_128192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e475b2792278d1b08daf58cc80fe3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5998801870948298006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_44_03_128192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27a76efe0f7f16df4d2eb725cff4864a.jpg","text":"TemporaryFile(/tmp/multipartBody5200682703533892524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_45_02_386158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d14444bf636350c645a7a5d1464c48b.jpg","text":"TemporaryFile(/tmp/multipartBody7080363770083838825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342276775,"filename":"image_08012025_12_45_02_386158_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463159","file1":"1327463132","file0":"1327463129","file4":"1327463170","file5":"1327463174","file3":"1327463164"},"map_files_photo_id_array":[{"photo_id":"1327463174","filename":"file5"},{"photo_id":"1327463159","filename":"file2"},{"photo_id":"1327463170","filename":"file4"},{"photo_id":"1327463132","filename":"file1"},{"photo_id":"1327463129","filename":"file0"},{"photo_id":"1327463164","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463174":["hashtag1","hashtag2"]},{"1327463159":["hashtag1","hashtag2"]},{"1327463132":["hashtag1","hashtag2"]},{"1327463129":["hashtag1","hashtag2"]},{"1327463170":["hashtag1","hashtag2"]},{"1327463164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463174, 1327463159, 1327463132, 1327463129, 1327463170, 1327463164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48136901855469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:17:41.981151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0003.jpg', '/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0000.jpg', '/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0001.jpg', '/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0002.jpg', '/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0003.jpg', '/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/45/image_08012025_12_45_02_386158_0003.jpg
/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0000.jpg
/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0001.jpg
/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0002.jpg
/home/pi/Desktop/images/08012025/12/46/image_08012025_12_46_02_481210_0003.jpg
/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_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":["1327463200","1327463193","1327463187","1327463189","1327463204","1327463191"],"photo_ids_order":["1327463187","1327463189","1327463191","1327463193","1327463200","1327463204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c3b4d4395cfe2aca89609779ece53c7.jpg","text":"TemporaryFile(/tmp/multipartBody2811178353234137838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_46_02_481210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b956bb2b6b55e079fd535d61e0984114.jpg","text":"TemporaryFile(/tmp/multipartBody2119638812445199024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_46_02_481210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d270c7eef299b75c44bcaf4303e4736b.jpg","text":"TemporaryFile(/tmp/multipartBody1873264311102008000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_45_02_386158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9f87398c7aca39bad787fe999f38ff7.jpg","text":"TemporaryFile(/tmp/multipartBody438100045209885274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_46_02_481210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/601337a278aae090bb2deab2c35e378b.jpg","text":"TemporaryFile(/tmp/multipartBody4372509363831838562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_47_02_743901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e844c8435c12acc7f3d3f3a550ac26b.jpg","text":"TemporaryFile(/tmp/multipartBody4897180351735331513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342336897,"filename":"image_08012025_12_46_02_481210_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463191","file1":"1327463189","file0":"1327463187","file4":"1327463200","file5":"1327463204","file3":"1327463193"},"map_files_photo_id_array":[{"photo_id":"1327463204","filename":"file5"},{"photo_id":"1327463191","filename":"file2"},{"photo_id":"1327463200","filename":"file4"},{"photo_id":"1327463189","filename":"file1"},{"photo_id":"1327463187","filename":"file0"},{"photo_id":"1327463193","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463200":["hashtag1","hashtag2"]},{"1327463193":["hashtag1","hashtag2"]},{"1327463187":["hashtag1","hashtag2"]},{"1327463189":["hashtag1","hashtag2"]},{"1327463204":["hashtag1","hashtag2"]},{"1327463191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463200, 1327463193, 1327463187, 1327463189, 1327463204, 1327463191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.451788902282715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:18:42.182896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0001.jpg', '/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0002.jpg', '/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0003.jpg', '/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0000.jpg', '/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0001.jpg', '/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0001.jpg
/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0002.jpg
/home/pi/Desktop/images/08012025/12/47/image_08012025_12_47_02_743901_0003.jpg
/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0000.jpg
/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0001.jpg
/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327463237","1327463231","1327463234","1327463228","1327463233","1327463224"],"photo_ids_order":["1327463224","1327463228","1327463231","1327463233","1327463234","1327463237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3b7e392198d8ce2b3bbfe2bc52dd479.jpg","text":"TemporaryFile(/tmp/multipartBody4825057720067226952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_48_02_823596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0155891eae9dcb3c3c8d70f5a05cd3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8399382853755158290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_47_02_743901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbf9175d45b8cfa66bdbda127897a396.jpg","text":"TemporaryFile(/tmp/multipartBody4886362099555088783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_48_02_823596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08639663f15bc8cdc1b46869e57ee1b3.jpg","text":"TemporaryFile(/tmp/multipartBody614505899076697664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_47_02_743901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0680352fd5b4dd0db17a7d46f4c4e56.jpg","text":"TemporaryFile(/tmp/multipartBody6940668125604871268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_48_02_823596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df3110038b4041918db231a9463e22fd.jpg","text":"TemporaryFile(/tmp/multipartBody6209254004067575428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342397223,"filename":"image_08012025_12_47_02_743901_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463231","file1":"1327463228","file0":"1327463224","file4":"1327463234","file5":"1327463237","file3":"1327463233"},"map_files_photo_id_array":[{"photo_id":"1327463237","filename":"file5"},{"photo_id":"1327463231","filename":"file2"},{"photo_id":"1327463234","filename":"file4"},{"photo_id":"1327463228","filename":"file1"},{"photo_id":"1327463224","filename":"file0"},{"photo_id":"1327463233","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463237":["hashtag1","hashtag2"]},{"1327463231":["hashtag1","hashtag2"]},{"1327463234":["hashtag1","hashtag2"]},{"1327463228":["hashtag1","hashtag2"]},{"1327463233":["hashtag1","hashtag2"]},{"1327463224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463237, 1327463231, 1327463234, 1327463228, 1327463233, 1327463224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52490592002869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:19:42.343813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0003.jpg', '/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0000.jpg', '/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0001.jpg', '/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0003.jpg', '/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0000.jpg', '/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/48/image_08012025_12_48_02_823596_0003.jpg
/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0000.jpg
/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0001.jpg
/home/pi/Desktop/images/08012025/12/49/image_08012025_12_49_03_117835_0003.jpg
/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0000.jpg
/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327463397","1327463418","1327463409","1327463429","1327463420","1327463426"],"photo_ids_order":["1327463397","1327463409","1327463418","1327463420","1327463426","1327463429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23c7361d23587862d3aa261975487ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3208249647474096373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_48_02_823596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e93dbec24e2fae1d3aab8ae8bd8424df.jpg","text":"TemporaryFile(/tmp/multipartBody6811438667828975507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_49_03_117835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72c034b8aa2c02425cf7b43d5f72616b.jpg","text":"TemporaryFile(/tmp/multipartBody8151768269104487460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_49_03_117835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fc9984f2a456b0e351436803c9ea53e.jpg","text":"TemporaryFile(/tmp/multipartBody7169209774658449003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_50_02_303238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21773f181da1fb86c8e49fb2ba4e101e.jpg","text":"TemporaryFile(/tmp/multipartBody3191084935832985321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_49_03_117835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6ef81944d9273b8ccefb0193e08d621.jpg","text":"TemporaryFile(/tmp/multipartBody38496303174130986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342457445,"filename":"image_08012025_12_50_02_303238_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463418","file1":"1327463409","file0":"1327463397","file4":"1327463426","file5":"1327463429","file3":"1327463420"},"map_files_photo_id_array":[{"photo_id":"1327463429","filename":"file5"},{"photo_id":"1327463418","filename":"file2"},{"photo_id":"1327463426","filename":"file4"},{"photo_id":"1327463409","filename":"file1"},{"photo_id":"1327463397","filename":"file0"},{"photo_id":"1327463420","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463397":["hashtag1","hashtag2"]},{"1327463418":["hashtag1","hashtag2"]},{"1327463409":["hashtag1","hashtag2"]},{"1327463429":["hashtag1","hashtag2"]},{"1327463420":["hashtag1","hashtag2"]},{"1327463426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463397, 1327463418, 1327463409, 1327463429, 1327463420, 1327463426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.212244749069214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 14:20:42.551774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0003.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0000.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0001.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0002.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0003.jpg', '/home/pi/Desktop/images/08012025/12/52/image_08012025_12_52_02_753709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0003.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0000.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0001.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0002.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0003.jpg
/home/pi/Desktop/images/08012025/12/52/image_08012025_12_52_02_753709_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.680496215820312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:21:03.400372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0003.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0000.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0001.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0002.jpg', '/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0003.jpg', '/home/pi/Desktop/images/08012025/12/52/image_08012025_12_52_02_753709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/50/image_08012025_12_50_02_303238_0003.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0000.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0001.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0002.jpg
/home/pi/Desktop/images/08012025/12/51/image_08012025_12_51_02_485947_0003.jpg
/home/pi/Desktop/images/08012025/12/52/image_08012025_12_52_02_753709_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":["1327463503","1327463472","1327463505","1327463508","1327463474","1327463468"],"photo_ids_order":["1327463468","1327463472","1327463474","1327463503","1327463505","1327463508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ecf93935c3b66bf1238808f7ea8963c.jpg","text":"TemporaryFile(/tmp/multipartBody8704592396899520313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_51_02_485947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83f34ff6abecb9fcb3a66b568944de76.jpg","text":"TemporaryFile(/tmp/multipartBody2914116723175632889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_51_02_485947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/875b323c47846d5be34e344d548360b5.jpg","text":"TemporaryFile(/tmp/multipartBody2015894389818864570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_51_02_485947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bd2768ebd3151154a15b0c2853d68ad.jpg","text":"TemporaryFile(/tmp/multipartBody6646762047650470673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_52_02_753709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ead54c51d7d3b227cb1cf52eac32968.jpg","text":"TemporaryFile(/tmp/multipartBody4590130683128171721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_51_02_485947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/303b4e02661d72d2164cdf373c8e2b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5776344839867682953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342538543,"filename":"image_08012025_12_50_02_303238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463474","file1":"1327463472","file0":"1327463468","file4":"1327463505","file5":"1327463508","file3":"1327463503"},"map_files_photo_id_array":[{"photo_id":"1327463508","filename":"file5"},{"photo_id":"1327463474","filename":"file2"},{"photo_id":"1327463505","filename":"file4"},{"photo_id":"1327463472","filename":"file1"},{"photo_id":"1327463468","filename":"file0"},{"photo_id":"1327463503","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463503":["hashtag1","hashtag2"]},{"1327463472":["hashtag1","hashtag2"]},{"1327463505":["hashtag1","hashtag2"]},{"1327463508":["hashtag1","hashtag2"]},{"1327463474":["hashtag1","hashtag2"]},{"1327463468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463503, 1327463472, 1327463505, 1327463508, 1327463474, 1327463468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41320729255676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:22:02.409410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0000.jpg', '/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0001.jpg', '/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0002.jpg', '/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0003.jpg', '/home/pi/Desktop/images/08012025/12/54/image_08012025_12_54_03_130590_0002.jpg', '/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0000.jpg
/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0001.jpg
/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0002.jpg
/home/pi/Desktop/images/08012025/12/53/image_08012025_12_53_02_981103_0003.jpg
/home/pi/Desktop/images/08012025/12/54/image_08012025_12_54_03_130590_0002.jpg
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_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":["1327463538","1327463534","1327463522","1327463519","1327463542","1327463536"],"photo_ids_order":["1327463519","1327463522","1327463534","1327463536","1327463538","1327463542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0938eb1b98af1c6d73a3b23b2b5c7564.jpg","text":"TemporaryFile(/tmp/multipartBody3258064707141079143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_54_03_130590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbe31b671187430b53864e5b0eaf2dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3369618300255267814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_53_02_981103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c7746836b11353984a0414ec99893fa.jpg","text":"TemporaryFile(/tmp/multipartBody7476400670718052735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_53_02_981103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e51f85e65016e05a1ee8a66fea7dc274.jpg","text":"TemporaryFile(/tmp/multipartBody5198272429294231614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_53_02_981103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8acddbdc2bcb5c4656b8aa35c1d49df.jpg","text":"TemporaryFile(/tmp/multipartBody56617811119544265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_55_02_303198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f1118ddc327f0fae0866458b9640b29.jpg","text":"TemporaryFile(/tmp/multipartBody6541348816943570425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342597552,"filename":"image_08012025_12_53_02_981103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463534","file1":"1327463522","file0":"1327463519","file4":"1327463538","file5":"1327463542","file3":"1327463536"},"map_files_photo_id_array":[{"photo_id":"1327463542","filename":"file5"},{"photo_id":"1327463534","filename":"file2"},{"photo_id":"1327463538","filename":"file4"},{"photo_id":"1327463522","filename":"file1"},{"photo_id":"1327463519","filename":"file0"},{"photo_id":"1327463536","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463538":["hashtag1","hashtag2"]},{"1327463534":["hashtag1","hashtag2"]},{"1327463522":["hashtag1","hashtag2"]},{"1327463519":["hashtag1","hashtag2"]},{"1327463542":["hashtag1","hashtag2"]},{"1327463536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463538, 1327463534, 1327463522, 1327463519, 1327463542, 1327463536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.444188594818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:23:02.782197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0001.jpg', '/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0002.jpg', '/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0003.jpg', '/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0001.jpg', '/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0002.jpg', '/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0001.jpg
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0002.jpg
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0003.jpg
/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0001.jpg
/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0002.jpg
/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_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.75609016418457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:23:22.156288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0001.jpg', '/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0002.jpg', '/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0003.jpg', '/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0001.jpg', '/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0002.jpg', '/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0001.jpg
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0002.jpg
/home/pi/Desktop/images/08012025/12/55/image_08012025_12_55_02_303198_0003.jpg
/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0001.jpg
/home/pi/Desktop/images/08012025/12/56/image_08012025_12_56_02_407872_0002.jpg
/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_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":["1327463643","1327463645","1327463648","1327463641","1327463623","1327463635"],"photo_ids_order":["1327463623","1327463635","1327463641","1327463643","1327463645","1327463648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9379d4bd8dd2d01e85e2a720b920140f.jpg","text":"TemporaryFile(/tmp/multipartBody1989739568877417641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_56_02_407872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bae92dd8702f90eedf9ff4883dc75cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6216515014151257108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_56_02_407872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/251c25f6054daf42e6524b15f9325dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4069669964871036170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_57_02_569505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80b42f2142c62b5d2088363ef880db7c.jpg","text":"TemporaryFile(/tmp/multipartBody1143115051288725666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_55_02_303198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3544928cdef6496110de4bdfabd69c16.jpg","text":"TemporaryFile(/tmp/multipartBody1848187815792494362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_55_02_303198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8915faf59ee17acea221293bfa5749f.jpg","text":"TemporaryFile(/tmp/multipartBody5355383360805407156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342677244,"filename":"image_08012025_12_55_02_303198_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463641","file1":"1327463635","file0":"1327463623","file4":"1327463645","file5":"1327463648","file3":"1327463643"},"map_files_photo_id_array":[{"photo_id":"1327463648","filename":"file5"},{"photo_id":"1327463641","filename":"file2"},{"photo_id":"1327463645","filename":"file4"},{"photo_id":"1327463635","filename":"file1"},{"photo_id":"1327463623","filename":"file0"},{"photo_id":"1327463643","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463643":["hashtag1","hashtag2"]},{"1327463645":["hashtag1","hashtag2"]},{"1327463648":["hashtag1","hashtag2"]},{"1327463641":["hashtag1","hashtag2"]},{"1327463623":["hashtag1","hashtag2"]},{"1327463635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463643, 1327463645, 1327463648, 1327463641, 1327463623, 1327463635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.912837743759155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:24:22.346994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0002.jpg', '/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0003.jpg', '/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0000.jpg', '/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0001.jpg', '/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0002.jpg', '/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0002.jpg
/home/pi/Desktop/images/08012025/12/57/image_08012025_12_57_02_569505_0003.jpg
/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0000.jpg
/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0001.jpg
/home/pi/Desktop/images/08012025/12/58/image_08012025_12_58_02_724250_0002.jpg
/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_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":["1327463670","1327463661","1327463658","1327463672","1327463668","1327463665"],"photo_ids_order":["1327463658","1327463661","1327463665","1327463668","1327463670","1327463672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b51912fa9f8424397d45aec76936b2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3839546857224539891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_58_02_724250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5efbde5e4222749c62689c92ba761857.jpg","text":"TemporaryFile(/tmp/multipartBody2017244728343388935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_57_02_569505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18a2ed2c2055bf418055d53d89efc31e.jpg","text":"TemporaryFile(/tmp/multipartBody8527485378742173665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_57_02_569505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93c009b691212c8b0d25acb638733006.jpg","text":"TemporaryFile(/tmp/multipartBody4302800923938407247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_59_02_970855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84b90a8afc2090c288dcd1ade6e8e201.jpg","text":"TemporaryFile(/tmp/multipartBody9152893664528650332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_58_02_724250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe9f5b32ce62e0f48b3db71946adce0a.jpg","text":"TemporaryFile(/tmp/multipartBody692742020736839957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342737459,"filename":"image_08012025_12_58_02_724250_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463665","file1":"1327463661","file0":"1327463658","file4":"1327463670","file5":"1327463672","file3":"1327463668"},"map_files_photo_id_array":[{"photo_id":"1327463672","filename":"file5"},{"photo_id":"1327463665","filename":"file2"},{"photo_id":"1327463670","filename":"file4"},{"photo_id":"1327463661","filename":"file1"},{"photo_id":"1327463658","filename":"file0"},{"photo_id":"1327463668","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463670":["hashtag1","hashtag2"]},{"1327463661":["hashtag1","hashtag2"]},{"1327463658":["hashtag1","hashtag2"]},{"1327463672":["hashtag1","hashtag2"]},{"1327463668":["hashtag1","hashtag2"]},{"1327463665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463670, 1327463661, 1327463658, 1327463672, 1327463668, 1327463665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62085032463074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:25:22.611590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_0001.jpg', '/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_0003.jpg', '/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0000.jpg', '/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0001.jpg', '/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0002.jpg', '/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_0001.jpg
/home/pi/Desktop/images/08012025/12/59/image_08012025_12_59_02_970855_0003.jpg
/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0000.jpg
/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0001.jpg
/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_0002.jpg
/home/pi/Desktop/images/08012025/13/00/image_08012025_13_00_02_180964_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":["1327463726","1327463711","1327463722","1327463731","1327463728","1327463713"],"photo_ids_order":["1327463711","1327463713","1327463722","1327463726","1327463728","1327463731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/329dd473fe82b706ea58656b72970d61.jpg","text":"TemporaryFile(/tmp/multipartBody7681482739964300792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_13_00_02_180964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcd62cfd44c3f41f396875ea8e98edd2.jpg","text":"TemporaryFile(/tmp/multipartBody8430068987901774416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_12_59_02_970855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae3ff40672e5016bc84bb8024583e206.jpg","text":"TemporaryFile(/tmp/multipartBody1291197516092999680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_13_00_02_180964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6bd554c4cddb75b839ff3c3f9d8ec658.jpg","text":"TemporaryFile(/tmp/multipartBody8545092079263045879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_13_00_02_180964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/344f97068880b7a46117f6942f359b04.jpg","text":"TemporaryFile(/tmp/multipartBody1626763025596205089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_13_00_02_180964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6afbea16f7039d57b333896991e3873c.jpg","text":"TemporaryFile(/tmp/multipartBody3290027546877478476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342797742,"filename":"image_08012025_12_59_02_970855_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463722","file1":"1327463713","file0":"1327463711","file4":"1327463728","file5":"1327463731","file3":"1327463726"},"map_files_photo_id_array":[{"photo_id":"1327463731","filename":"file5"},{"photo_id":"1327463722","filename":"file2"},{"photo_id":"1327463728","filename":"file4"},{"photo_id":"1327463713","filename":"file1"},{"photo_id":"1327463711","filename":"file0"},{"photo_id":"1327463726","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463726":["hashtag1","hashtag2"]},{"1327463711":["hashtag1","hashtag2"]},{"1327463722":["hashtag1","hashtag2"]},{"1327463731":["hashtag1","hashtag2"]},{"1327463728":["hashtag1","hashtag2"]},{"1327463713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463726, 1327463711, 1327463722, 1327463731, 1327463728, 1327463713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14864921569824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 14:26:22.739919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0000.jpg', '/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0001.jpg', '/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0002.jpg', '/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0003.jpg', '/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_0000.jpg', '/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0000.jpg
/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0001.jpg
/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0002.jpg
/home/pi/Desktop/images/08012025/13/01/image_08012025_13_01_02_305487_0003.jpg
/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_0000.jpg
/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_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":["1327463793","1327463787","1327463762","1327463837","1327463768","1327463827"],"photo_ids_order":["1327463762","1327463768","1327463787","1327463793","1327463827","1327463837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f335893137c057a56de61c510b29960.jpg","text":"TemporaryFile(/tmp/multipartBody7143545257203892049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_01_02_305487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2bcade1794c30a4f6b915057575e647.jpg","text":"TemporaryFile(/tmp/multipartBody5062250861678279861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_01_02_305487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f28eae5784268559689c4df4d4e81f5.jpg","text":"TemporaryFile(/tmp/multipartBody3543477017843339868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_01_02_305487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f7822392a5939239af28607dc2b28ac.jpg","text":"TemporaryFile(/tmp/multipartBody9193024783581735695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_02_02_641350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51c46319537012948b0980d1e20364df.jpg","text":"TemporaryFile(/tmp/multipartBody6144710716189958170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_01_02_305487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6aeab317a1b8cf30c83f17c3bf317d56.jpg","text":"TemporaryFile(/tmp/multipartBody3710549859627076737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342857458,"filename":"image_08012025_13_02_02_641350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463787","file1":"1327463768","file0":"1327463762","file4":"1327463827","file5":"1327463837","file3":"1327463793"},"map_files_photo_id_array":[{"photo_id":"1327463837","filename":"file5"},{"photo_id":"1327463787","filename":"file2"},{"photo_id":"1327463827","filename":"file4"},{"photo_id":"1327463768","filename":"file1"},{"photo_id":"1327463762","filename":"file0"},{"photo_id":"1327463793","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463793":["hashtag1","hashtag2"]},{"1327463787":["hashtag1","hashtag2"]},{"1327463762":["hashtag1","hashtag2"]},{"1327463837":["hashtag1","hashtag2"]},{"1327463768":["hashtag1","hashtag2"]},{"1327463827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463793, 1327463787, 1327463762, 1327463837, 1327463768, 1327463827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.99846029281616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:27:31.826299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_0002.jpg', '/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0001.jpg', '/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0002.jpg', '/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0003.jpg', '/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0000.jpg', '/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/02/image_08012025_13_02_02_641350_0002.jpg
/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0001.jpg
/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0002.jpg
/home/pi/Desktop/images/08012025/13/03/image_08012025_13_03_02_761696_0003.jpg
/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0000.jpg
/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_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":["1327463877","1327463871","1327463873","1327463879","1327463881","1327463875"],"photo_ids_order":["1327463871","1327463873","1327463875","1327463877","1327463879","1327463881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9cd2cef4062fff081e54a8809c26cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2473261479640126940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_03_02_761696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b29379e7b9b69f6f784c2b07c7fffb9.jpg","text":"TemporaryFile(/tmp/multipartBody7452265154767493371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_02_02_641350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efce9cdf7bdbe0e146822532a7cb3886.jpg","text":"TemporaryFile(/tmp/multipartBody8330132707220261719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_03_02_761696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d443e525157e24d0376ed07ad0a6c742.jpg","text":"TemporaryFile(/tmp/multipartBody117785644681658008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_04_02_902164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1e855c5224a90b43903545d506cc6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6492455028940821260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_04_02_902164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9d4f57794927b23c797a445ecaf1509.jpg","text":"TemporaryFile(/tmp/multipartBody6114218891803911741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342926847,"filename":"image_08012025_13_03_02_761696_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463875","file1":"1327463873","file0":"1327463871","file4":"1327463879","file5":"1327463881","file3":"1327463877"},"map_files_photo_id_array":[{"photo_id":"1327463881","filename":"file5"},{"photo_id":"1327463875","filename":"file2"},{"photo_id":"1327463879","filename":"file4"},{"photo_id":"1327463873","filename":"file1"},{"photo_id":"1327463871","filename":"file0"},{"photo_id":"1327463877","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463877":["hashtag1","hashtag2"]},{"1327463871":["hashtag1","hashtag2"]},{"1327463873":["hashtag1","hashtag2"]},{"1327463879":["hashtag1","hashtag2"]},{"1327463881":["hashtag1","hashtag2"]},{"1327463875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463877, 1327463871, 1327463873, 1327463879, 1327463881, 1327463875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.01969528198242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:28:32.039960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0002.jpg', '/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0003.jpg', '/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0000.jpg', '/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0001.jpg', '/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0002.jpg', '/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0002.jpg
/home/pi/Desktop/images/08012025/13/04/image_08012025_13_04_02_902164_0003.jpg
/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0000.jpg
/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0001.jpg
/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_0002.jpg
/home/pi/Desktop/images/08012025/13/05/image_08012025_13_05_03_196641_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":["1327463914","1327463908","1327463925","1327463910","1327463929","1327463905"],"photo_ids_order":["1327463905","1327463908","1327463910","1327463914","1327463925","1327463929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb51ffa73ed0d966c8047c1c54190f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4172884130040444320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_05_03_196641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99b74e763ef53a0792d99ddf0f9f8fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1701881938480091040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_04_02_902164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d9e811bb40c9b23e82206c1cd62b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8251797998635005552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_05_03_196641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3487db51378c581167e3d6a33495332.jpg","text":"TemporaryFile(/tmp/multipartBody3175769202912169937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_05_03_196641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/83c2632f0217583dc3b34e8a535de00c.jpg","text":"TemporaryFile(/tmp/multipartBody1771837169259369960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_05_03_196641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a70bd8867254505a8b2991812d193ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8978899701727170624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736342986976,"filename":"image_08012025_13_04_02_902164_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463910","file1":"1327463908","file0":"1327463905","file4":"1327463925","file5":"1327463929","file3":"1327463914"},"map_files_photo_id_array":[{"photo_id":"1327463929","filename":"file5"},{"photo_id":"1327463910","filename":"file2"},{"photo_id":"1327463925","filename":"file4"},{"photo_id":"1327463908","filename":"file1"},{"photo_id":"1327463905","filename":"file0"},{"photo_id":"1327463914","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463914":["hashtag1","hashtag2"]},{"1327463908":["hashtag1","hashtag2"]},{"1327463925":["hashtag1","hashtag2"]},{"1327463910":["hashtag1","hashtag2"]},{"1327463929":["hashtag1","hashtag2"]},{"1327463905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463914, 1327463908, 1327463925, 1327463910, 1327463929, 1327463905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.045504570007324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:29:32.264790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0000.jpg', '/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0001.jpg', '/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0002.jpg', '/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0003.jpg', '/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0000.jpg', '/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0000.jpg
/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0001.jpg
/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0002.jpg
/home/pi/Desktop/images/08012025/13/06/image_08012025_13_06_02_319035_0003.jpg
/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0000.jpg
/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_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":["1327463997","1327464000","1327463972","1327463986","1327463989","1327463974"],"photo_ids_order":["1327463972","1327463974","1327463986","1327463989","1327463997","1327464000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/436d5245724f912d0f0a725633b7bc15.jpg","text":"TemporaryFile(/tmp/multipartBody7798891263114178927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_07_02_536758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d9aa96050c893a3ce339fbd7da1917c.jpg","text":"TemporaryFile(/tmp/multipartBody2043581930699205176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_07_02_536758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f55cb1b401d0a7cee04771deae64992.jpg","text":"TemporaryFile(/tmp/multipartBody552902917398936861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_06_02_319035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08ade17f113a4374f36412c298bab578.jpg","text":"TemporaryFile(/tmp/multipartBody885888772805838803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_06_02_319035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff009a4dc3e16ef8d9e7c14b1bda64ae.jpg","text":"TemporaryFile(/tmp/multipartBody6285919092777591406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_06_02_319035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a239351336f84450a444793586f9cb52.jpg","text":"TemporaryFile(/tmp/multipartBody3584107630801926592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343047221,"filename":"image_08012025_13_06_02_319035_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327463986","file1":"1327463974","file0":"1327463972","file4":"1327463997","file5":"1327464000","file3":"1327463989"},"map_files_photo_id_array":[{"photo_id":"1327464000","filename":"file5"},{"photo_id":"1327463986","filename":"file2"},{"photo_id":"1327463997","filename":"file4"},{"photo_id":"1327463974","filename":"file1"},{"photo_id":"1327463972","filename":"file0"},{"photo_id":"1327463989","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327463997":["hashtag1","hashtag2"]},{"1327464000":["hashtag1","hashtag2"]},{"1327463972":["hashtag1","hashtag2"]},{"1327463986":["hashtag1","hashtag2"]},{"1327463989":["hashtag1","hashtag2"]},{"1327463974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327463997, 1327464000, 1327463972, 1327463986, 1327463989, 1327463974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.285505294799805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:30:32.404326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0002.jpg', '/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0003.jpg', '/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0000.jpg', '/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0001.jpg', '/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0002.jpg', '/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0002.jpg
/home/pi/Desktop/images/08012025/13/07/image_08012025_13_07_02_536758_0003.jpg
/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0000.jpg
/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0001.jpg
/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_0002.jpg
/home/pi/Desktop/images/08012025/13/08/image_08012025_13_08_02_717423_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":["1327464123","1327464201","1327464122","1327464187","1327464124","1327464189"],"photo_ids_order":["1327464122","1327464123","1327464124","1327464187","1327464189","1327464201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db27bbd2ce9fafdd3a4a00556d62d9d9.jpg","text":"TemporaryFile(/tmp/multipartBody7609098705753825233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_07_02_536758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dd3aaa87c8055131434484b60088667.jpg","text":"TemporaryFile(/tmp/multipartBody8756682117336803930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_08_02_717423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bed0aca79ca3847ad6bff49080d1b22e.jpg","text":"TemporaryFile(/tmp/multipartBody7791900378666438930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_07_02_536758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/691b99f35c560b6886cdb8c432ecb9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5454532622697018590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_08_02_717423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c6d9faa6acdd49e4f79a694a637509c.jpg","text":"TemporaryFile(/tmp/multipartBody7013071877627164033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_08_02_717423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51569c1a2569abc41df3a6347af58e80.jpg","text":"TemporaryFile(/tmp/multipartBody2735982180776976074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343107486,"filename":"image_08012025_13_08_02_717423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464124","file1":"1327464123","file0":"1327464122","file4":"1327464189","file5":"1327464201","file3":"1327464187"},"map_files_photo_id_array":[{"photo_id":"1327464201","filename":"file5"},{"photo_id":"1327464124","filename":"file2"},{"photo_id":"1327464189","filename":"file4"},{"photo_id":"1327464123","filename":"file1"},{"photo_id":"1327464122","filename":"file0"},{"photo_id":"1327464187","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464123":["hashtag1","hashtag2"]},{"1327464201":["hashtag1","hashtag2"]},{"1327464122":["hashtag1","hashtag2"]},{"1327464187":["hashtag1","hashtag2"]},{"1327464124":["hashtag1","hashtag2"]},{"1327464189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464123, 1327464201, 1327464122, 1327464187, 1327464124, 1327464189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.67813181877136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:31:32.597370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0000.jpg', '/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0001.jpg', '/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0002.jpg', '/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0003.jpg', '/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0000.jpg', '/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0000.jpg
/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0001.jpg
/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0002.jpg
/home/pi/Desktop/images/08012025/13/09/image_08012025_13_09_02_936683_0003.jpg
/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0000.jpg
/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_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":["1327464222","1327464219","1327464221","1327464224","1327464227","1327464220"],"photo_ids_order":["1327464219","1327464220","1327464221","1327464222","1327464224","1327464227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03d6a01f53b8b47066805cc458769146.jpg","text":"TemporaryFile(/tmp/multipartBody6613238252683294396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_09_02_936683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/be02b9dd5daad1c82398a40d166bd107.jpg","text":"TemporaryFile(/tmp/multipartBody8722201918257110784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_09_02_936683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9501f545215d1e3e78a6739727b1aeda.jpg","text":"TemporaryFile(/tmp/multipartBody7040564152557680672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_09_02_936683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4d58e670a5de781e3d2ffcf1012c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2027676448042742214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_10_03_071329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/24085b171a4c0f4a3376cbfc6fccfbfe.jpg","text":"TemporaryFile(/tmp/multipartBody2269683233305081923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_10_03_071329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f6697197fc904cbc2384e049a4b3e351.jpg","text":"TemporaryFile(/tmp/multipartBody1737777959141122361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343167647,"filename":"image_08012025_13_09_02_936683_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464221","file1":"1327464220","file0":"1327464219","file4":"1327464224","file5":"1327464227","file3":"1327464222"},"map_files_photo_id_array":[{"photo_id":"1327464227","filename":"file5"},{"photo_id":"1327464221","filename":"file2"},{"photo_id":"1327464224","filename":"file4"},{"photo_id":"1327464220","filename":"file1"},{"photo_id":"1327464219","filename":"file0"},{"photo_id":"1327464222","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464222":["hashtag1","hashtag2"]},{"1327464219":["hashtag1","hashtag2"]},{"1327464221":["hashtag1","hashtag2"]},{"1327464224":["hashtag1","hashtag2"]},{"1327464227":["hashtag1","hashtag2"]},{"1327464220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464222, 1327464219, 1327464221, 1327464224, 1327464227, 1327464220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76722574234009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:32:31.797556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0002.jpg', '/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0003.jpg', '/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0000.jpg', '/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0001.jpg', '/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0002.jpg', '/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0002.jpg
/home/pi/Desktop/images/08012025/13/10/image_08012025_13_10_03_071329_0003.jpg
/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0000.jpg
/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0001.jpg
/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_0002.jpg
/home/pi/Desktop/images/08012025/13/11/image_08012025_13_11_02_258727_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":["1327464389","1327464404","1327464388","1327464400","1327464390","1327464387"],"photo_ids_order":["1327464387","1327464388","1327464389","1327464390","1327464400","1327464404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aeadd3090519cebce0ec636c3f2c5db6.jpg","text":"TemporaryFile(/tmp/multipartBody8698252150063258979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_11_02_258727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7f78713ae1147d772cc67e596b537ca.jpg","text":"TemporaryFile(/tmp/multipartBody6102898275092607428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_11_02_258727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ea9858bfad71b4ff70994d0a7815a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2418432098571209486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_10_03_071329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b04554c6cb9708e736a7cefb5e408d46.jpg","text":"TemporaryFile(/tmp/multipartBody2792501976155925353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_11_02_258727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8e4dde05a5317651f384d6fe9be5391.jpg","text":"TemporaryFile(/tmp/multipartBody5393046072438586559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_11_02_258727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d285a57b8acabffb5ed1e9f9493cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7825194160217797530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343226892,"filename":"image_08012025_13_10_03_071329_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464389","file1":"1327464388","file0":"1327464387","file4":"1327464400","file5":"1327464404","file3":"1327464390"},"map_files_photo_id_array":[{"photo_id":"1327464404","filename":"file5"},{"photo_id":"1327464389","filename":"file2"},{"photo_id":"1327464400","filename":"file4"},{"photo_id":"1327464388","filename":"file1"},{"photo_id":"1327464387","filename":"file0"},{"photo_id":"1327464390","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464389":["hashtag1","hashtag2"]},{"1327464404":["hashtag1","hashtag2"]},{"1327464388":["hashtag1","hashtag2"]},{"1327464400":["hashtag1","hashtag2"]},{"1327464390":["hashtag1","hashtag2"]},{"1327464387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464389, 1327464404, 1327464388, 1327464400, 1327464390, 1327464387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.37311315536499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:33:32.006254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0000.jpg', '/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0001.jpg', '/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0002.jpg', '/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0003.jpg', '/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0000.jpg', '/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0000.jpg
/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0001.jpg
/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0002.jpg
/home/pi/Desktop/images/08012025/13/12/image_08012025_13_12_02_407179_0003.jpg
/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0000.jpg
/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_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":["1327464456","1327464458","1327464446","1327464434","1327464460","1327464430"],"photo_ids_order":["1327464430","1327464434","1327464446","1327464456","1327464458","1327464460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28c11d53ba750d44e5515a352175ddab.jpg","text":"TemporaryFile(/tmp/multipartBody4154034509488800285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_12_02_407179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91e69a6af39faa86e766feac2725a900.jpg","text":"TemporaryFile(/tmp/multipartBody3456981859064884953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_13_02_560205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b94bf8baf8611cd46f22111d630541da.jpg","text":"TemporaryFile(/tmp/multipartBody4594842253483584344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_12_02_407179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef8888df1ca867638639e236f159d089.jpg","text":"TemporaryFile(/tmp/multipartBody8118290438810248589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_12_02_407179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fa0f48adaae0b7c60321ba826a66857.jpg","text":"TemporaryFile(/tmp/multipartBody2475076157777334696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_13_02_560205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6a4df0583bf7e881befa639e7df33c4.jpg","text":"TemporaryFile(/tmp/multipartBody3711108793846734492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343286982,"filename":"image_08012025_13_12_02_407179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464446","file1":"1327464434","file0":"1327464430","file4":"1327464458","file5":"1327464460","file3":"1327464456"},"map_files_photo_id_array":[{"photo_id":"1327464460","filename":"file5"},{"photo_id":"1327464446","filename":"file2"},{"photo_id":"1327464458","filename":"file4"},{"photo_id":"1327464434","filename":"file1"},{"photo_id":"1327464430","filename":"file0"},{"photo_id":"1327464456","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464456":["hashtag1","hashtag2"]},{"1327464458":["hashtag1","hashtag2"]},{"1327464446":["hashtag1","hashtag2"]},{"1327464434":["hashtag1","hashtag2"]},{"1327464460":["hashtag1","hashtag2"]},{"1327464430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464456, 1327464458, 1327464446, 1327464434, 1327464460, 1327464430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.00219249725342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:34:32.118898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0002.jpg', '/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0003.jpg', '/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0000.jpg', '/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0002.jpg', '/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0003.jpg', '/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0002.jpg
/home/pi/Desktop/images/08012025/13/13/image_08012025_13_13_02_560205_0003.jpg
/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0000.jpg
/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0002.jpg
/home/pi/Desktop/images/08012025/13/14/image_08012025_13_14_02_786394_0003.jpg
/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_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":["1327464485","1327464479","1327464481","1327464484","1327464489","1327464480"],"photo_ids_order":["1327464479","1327464480","1327464481","1327464484","1327464485","1327464489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5be8c66230719b76bfc0ae1036e1951e.jpg","text":"TemporaryFile(/tmp/multipartBody8843848914078906176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_14_02_786394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55cd1bf87ac45de01840e4536347cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2496712834423177552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_13_02_560205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bae71382ff0827b79ecc555578edd738.jpg","text":"TemporaryFile(/tmp/multipartBody7263403942877725535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_14_02_786394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7eb2100f3d4e78cea997b6d276332152.jpg","text":"TemporaryFile(/tmp/multipartBody7496522208813911389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_14_02_786394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f94bc8c22703327e41b452ed5bd98b06.jpg","text":"TemporaryFile(/tmp/multipartBody5350150560769747572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_15_02_942151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d95ceb26f702594c3fb15beba101f169.jpg","text":"TemporaryFile(/tmp/multipartBody6745676972289890565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343347186,"filename":"image_08012025_13_13_02_560205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464481","file1":"1327464480","file0":"1327464479","file4":"1327464485","file5":"1327464489","file3":"1327464484"},"map_files_photo_id_array":[{"photo_id":"1327464489","filename":"file5"},{"photo_id":"1327464481","filename":"file2"},{"photo_id":"1327464485","filename":"file4"},{"photo_id":"1327464480","filename":"file1"},{"photo_id":"1327464479","filename":"file0"},{"photo_id":"1327464484","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464485":["hashtag1","hashtag2"]},{"1327464479":["hashtag1","hashtag2"]},{"1327464481":["hashtag1","hashtag2"]},{"1327464484":["hashtag1","hashtag2"]},{"1327464489":["hashtag1","hashtag2"]},{"1327464480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464485, 1327464479, 1327464481, 1327464484, 1327464489, 1327464480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.001274824142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:35:32.316014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0001.jpg', '/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0002.jpg', '/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0003.jpg', '/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0000.jpg', '/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0001.jpg', '/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0001.jpg
/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0002.jpg
/home/pi/Desktop/images/08012025/13/15/image_08012025_13_15_02_942151_0003.jpg
/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0000.jpg
/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0001.jpg
/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327464504","1327464507","1327464512","1327464509","1327464505","1327464502"],"photo_ids_order":["1327464502","1327464504","1327464505","1327464507","1327464509","1327464512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82c30ac97c8debc845562f83765a1a15.jpg","text":"TemporaryFile(/tmp/multipartBody7616674121399558994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_15_02_942151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/021b7e8341705fa7c0781918bd2347a4.jpg","text":"TemporaryFile(/tmp/multipartBody6400232267136590282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_16_02_207268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46e9b6632945ce3ead2838cca1c87016.jpg","text":"TemporaryFile(/tmp/multipartBody7519198347685716622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_16_02_207268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60a5cb11b8f8e7d8365be9954d005650.jpg","text":"TemporaryFile(/tmp/multipartBody8233832469552359212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_16_02_207268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca209ca9602c7537162dd7a5a122d912.jpg","text":"TemporaryFile(/tmp/multipartBody8632434464500541006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_15_02_942151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7275a8d73fed2b14395c83c07dfca623.jpg","text":"TemporaryFile(/tmp/multipartBody4098625276015012511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343407296,"filename":"image_08012025_13_15_02_942151_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464505","file1":"1327464504","file0":"1327464502","file4":"1327464509","file5":"1327464512","file3":"1327464507"},"map_files_photo_id_array":[{"photo_id":"1327464512","filename":"file5"},{"photo_id":"1327464505","filename":"file2"},{"photo_id":"1327464509","filename":"file4"},{"photo_id":"1327464504","filename":"file1"},{"photo_id":"1327464502","filename":"file0"},{"photo_id":"1327464507","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464504":["hashtag1","hashtag2"]},{"1327464507":["hashtag1","hashtag2"]},{"1327464512":["hashtag1","hashtag2"]},{"1327464509":["hashtag1","hashtag2"]},{"1327464505":["hashtag1","hashtag2"]},{"1327464502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464504, 1327464507, 1327464512, 1327464509, 1327464505, 1327464502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44035029411316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:36:32.440578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0003.jpg', '/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0000.jpg', '/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0001.jpg', '/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0002.jpg', '/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0003.jpg', '/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/16/image_08012025_13_16_02_207268_0003.jpg
/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0000.jpg
/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0001.jpg
/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0002.jpg
/home/pi/Desktop/images/08012025/13/17/image_08012025_13_17_02_440151_0003.jpg
/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_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":["1327464543","1327464563","1327464545","1327464548","1327464553","1327464559"],"photo_ids_order":["1327464543","1327464545","1327464548","1327464553","1327464559","1327464563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/421f450726a6a3fbd35abca7cdaec17b.jpg","text":"TemporaryFile(/tmp/multipartBody7573535183534869989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_16_02_207268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb3366134443c3e5476b8d188b11049f.jpg","text":"TemporaryFile(/tmp/multipartBody1598159945840250413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_18_02_611976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3dfb1cc798b7d7e170d265a32173903.jpg","text":"TemporaryFile(/tmp/multipartBody3916954800935206589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_17_02_440151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1c35ea171d57517a578e23c8385fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody6130060059484065838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_17_02_440151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31ad97ae229a3bfa7127cb59004cb7f5.jpg","text":"TemporaryFile(/tmp/multipartBody1345929703275257733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_17_02_440151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e28ab70cedc2c251e01419624c78af11.jpg","text":"TemporaryFile(/tmp/multipartBody4795935915307906304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343467415,"filename":"image_08012025_13_17_02_440151_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464548","file1":"1327464545","file0":"1327464543","file4":"1327464559","file5":"1327464563","file3":"1327464553"},"map_files_photo_id_array":[{"photo_id":"1327464563","filename":"file5"},{"photo_id":"1327464548","filename":"file2"},{"photo_id":"1327464559","filename":"file4"},{"photo_id":"1327464545","filename":"file1"},{"photo_id":"1327464543","filename":"file0"},{"photo_id":"1327464553","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464543":["hashtag1","hashtag2"]},{"1327464563":["hashtag1","hashtag2"]},{"1327464545":["hashtag1","hashtag2"]},{"1327464548":["hashtag1","hashtag2"]},{"1327464553":["hashtag1","hashtag2"]},{"1327464559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464543, 1327464563, 1327464545, 1327464548, 1327464553, 1327464559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.595874071121216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:37:32.618689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0001.jpg', '/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0002.jpg', '/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0003.jpg', '/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_0000.jpg', '/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_0001.jpg', '/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0001.jpg
/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0002.jpg
/home/pi/Desktop/images/08012025/13/18/image_08012025_13_18_02_611976_0003.jpg
/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_0000.jpg
/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_0001.jpg
/home/pi/Desktop/images/08012025/13/19/image_08012025_13_19_02_753804_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":["1327464581","1327464584","1327464586","1327464589","1327464580","1327464582"],"photo_ids_order":["1327464580","1327464581","1327464582","1327464584","1327464586","1327464589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c03ca6dbb54bb5e261043eb7837bc76e.jpg","text":"TemporaryFile(/tmp/multipartBody4897784541523515890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_18_02_611976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/897c1abdcf7f4a90578a680c1a703dfd.jpg","text":"TemporaryFile(/tmp/multipartBody4314647526974000359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_19_02_753804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/613c8eb989c857390b8cca3eaf1dc65f.jpg","text":"TemporaryFile(/tmp/multipartBody3466499900650748921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_19_02_753804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26a4b8db6503beec653734906f8badf0.jpg","text":"TemporaryFile(/tmp/multipartBody3377324354419714876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_19_02_753804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62807ac5c3c922453c74a046283213c4.jpg","text":"TemporaryFile(/tmp/multipartBody6468553464503081722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_18_02_611976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4bd57c6b6b11a5439de9c61b0504781d.jpg","text":"TemporaryFile(/tmp/multipartBody6012677919314243206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343527593,"filename":"image_08012025_13_18_02_611976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464582","file1":"1327464581","file0":"1327464580","file4":"1327464586","file5":"1327464589","file3":"1327464584"},"map_files_photo_id_array":[{"photo_id":"1327464589","filename":"file5"},{"photo_id":"1327464582","filename":"file2"},{"photo_id":"1327464586","filename":"file4"},{"photo_id":"1327464581","filename":"file1"},{"photo_id":"1327464580","filename":"file0"},{"photo_id":"1327464584","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464581":["hashtag1","hashtag2"]},{"1327464584":["hashtag1","hashtag2"]},{"1327464586":["hashtag1","hashtag2"]},{"1327464589":["hashtag1","hashtag2"]},{"1327464580":["hashtag1","hashtag2"]},{"1327464582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464581, 1327464584, 1327464586, 1327464589, 1327464580, 1327464582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59628176689148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:38:31.814509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0000.jpg', '/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0001.jpg', '/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0002.jpg', '/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0003.jpg', '/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0000.jpg', '/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0000.jpg
/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0001.jpg
/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0002.jpg
/home/pi/Desktop/images/08012025/13/20/image_08012025_13_20_02_971079_0003.jpg
/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0000.jpg
/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_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":["1327464618","1327464638","1327464605","1327464622","1327464619","1327464604"],"photo_ids_order":["1327464604","1327464605","1327464618","1327464619","1327464622","1327464638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a731c89bd04aeb5a556c0b08d49bd08c.jpg","text":"TemporaryFile(/tmp/multipartBody5483952679791055321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_20_02_971079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7a246bc604b9d91a08abafcc17049af.jpg","text":"TemporaryFile(/tmp/multipartBody5489374090794043059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_21_03_082653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e0e714625132bbecb0f3db437f27a68.jpg","text":"TemporaryFile(/tmp/multipartBody1987226949700003099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_20_02_971079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9958637b0e63987a7a7f799f6916be61.jpg","text":"TemporaryFile(/tmp/multipartBody5391556618336889375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_21_03_082653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f0c6b42ed6b4fc2806bc059d588eba3.jpg","text":"TemporaryFile(/tmp/multipartBody3133988875931565191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_20_02_971079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8264b23d4c69726e168821f2321df98.jpg","text":"TemporaryFile(/tmp/multipartBody5064190968136708151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343586931,"filename":"image_08012025_13_20_02_971079_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464618","file1":"1327464605","file0":"1327464604","file4":"1327464622","file5":"1327464638","file3":"1327464619"},"map_files_photo_id_array":[{"photo_id":"1327464638","filename":"file5"},{"photo_id":"1327464618","filename":"file2"},{"photo_id":"1327464622","filename":"file4"},{"photo_id":"1327464605","filename":"file1"},{"photo_id":"1327464604","filename":"file0"},{"photo_id":"1327464619","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464618":["hashtag1","hashtag2"]},{"1327464638":["hashtag1","hashtag2"]},{"1327464605":["hashtag1","hashtag2"]},{"1327464622":["hashtag1","hashtag2"]},{"1327464619":["hashtag1","hashtag2"]},{"1327464604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464618, 1327464638, 1327464605, 1327464622, 1327464619, 1327464604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62278389930725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:39:32.007498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0002.jpg', '/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0003.jpg', '/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0000.jpg', '/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0001.jpg', '/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0002.jpg', '/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0002.jpg
/home/pi/Desktop/images/08012025/13/21/image_08012025_13_21_03_082653_0003.jpg
/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0000.jpg
/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0001.jpg
/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_0002.jpg
/home/pi/Desktop/images/08012025/13/22/image_08012025_13_22_02_374279_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":["1327464660","1327464662","1327464656","1327464655","1327464658","1327464657"],"photo_ids_order":["1327464655","1327464656","1327464657","1327464658","1327464660","1327464662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb9695775a51b032f3c56ffab200d777.jpg","text":"TemporaryFile(/tmp/multipartBody5879909521298756061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_22_02_374279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdec1ef43426796f692fb9fd0fa8cd33.jpg","text":"TemporaryFile(/tmp/multipartBody6710117846840877585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_22_02_374279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42c9af019012014844fe4539abc1c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody3438013220212048048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_21_03_082653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45cce64503b8f93ae4c1c9a647d78d70.jpg","text":"TemporaryFile(/tmp/multipartBody1848101526155407708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_21_03_082653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e4ca93a8bc5119952f7ae0b9496f62c.jpg","text":"TemporaryFile(/tmp/multipartBody1091036861826132842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_22_02_374279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d036bb335ff945292de19ea10946989.jpg","text":"TemporaryFile(/tmp/multipartBody6877306619087971294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343646950,"filename":"image_08012025_13_22_02_374279_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464657","file1":"1327464656","file0":"1327464655","file4":"1327464660","file5":"1327464662","file3":"1327464658"},"map_files_photo_id_array":[{"photo_id":"1327464662","filename":"file5"},{"photo_id":"1327464657","filename":"file2"},{"photo_id":"1327464660","filename":"file4"},{"photo_id":"1327464656","filename":"file1"},{"photo_id":"1327464655","filename":"file0"},{"photo_id":"1327464658","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464660":["hashtag1","hashtag2"]},{"1327464662":["hashtag1","hashtag2"]},{"1327464656":["hashtag1","hashtag2"]},{"1327464655":["hashtag1","hashtag2"]},{"1327464658":["hashtag1","hashtag2"]},{"1327464657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464660, 1327464662, 1327464656, 1327464655, 1327464658, 1327464657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90131592750549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:40:32.213521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0000.jpg', '/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0001.jpg', '/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0002.jpg', '/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0003.jpg', '/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0000.jpg', '/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0000.jpg
/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0001.jpg
/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0002.jpg
/home/pi/Desktop/images/08012025/13/23/image_08012025_13_23_02_499921_0003.jpg
/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0000.jpg
/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_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":["1327464692","1327464683","1327464685","1327464681","1327464690","1327464687"],"photo_ids_order":["1327464681","1327464683","1327464685","1327464687","1327464690","1327464692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4c8a9977af919b893337539d5515342.jpg","text":"TemporaryFile(/tmp/multipartBody1956735551780378970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_24_02_616547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f4a206d39e81b17110f0347349d5161.jpg","text":"TemporaryFile(/tmp/multipartBody2966553453271263479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_23_02_499921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7c9f478fd4cbc199c8532d944bc0ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3557443513540289726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_23_02_499921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fcfcc518b5ac7143fc70c3db36ab9eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5150349785333179928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_23_02_499921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa26ac1186b26f4ece4dde7e998555f2.jpg","text":"TemporaryFile(/tmp/multipartBody390948366657527800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_24_02_616547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e264313e730eea88e43b5a61a7eafe4.jpg","text":"TemporaryFile(/tmp/multipartBody243944986610429065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343707344,"filename":"image_08012025_13_23_02_499921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464685","file1":"1327464683","file0":"1327464681","file4":"1327464690","file5":"1327464692","file3":"1327464687"},"map_files_photo_id_array":[{"photo_id":"1327464692","filename":"file5"},{"photo_id":"1327464685","filename":"file2"},{"photo_id":"1327464690","filename":"file4"},{"photo_id":"1327464683","filename":"file1"},{"photo_id":"1327464681","filename":"file0"},{"photo_id":"1327464687","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464692":["hashtag1","hashtag2"]},{"1327464683":["hashtag1","hashtag2"]},{"1327464685":["hashtag1","hashtag2"]},{"1327464681":["hashtag1","hashtag2"]},{"1327464690":["hashtag1","hashtag2"]},{"1327464687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464692, 1327464683, 1327464685, 1327464681, 1327464690, 1327464687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.026517152786255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:41:32.409921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0002.jpg', '/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0003.jpg', '/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0000.jpg', '/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0001.jpg', '/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0002.jpg', '/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0002.jpg
/home/pi/Desktop/images/08012025/13/24/image_08012025_13_24_02_616547_0003.jpg
/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0000.jpg
/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0001.jpg
/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_0002.jpg
/home/pi/Desktop/images/08012025/13/25/image_08012025_13_25_02_763326_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":["1327464726","1327464791","1327464794","1327464787","1327464748","1327464789"],"photo_ids_order":["1327464726","1327464748","1327464787","1327464789","1327464791","1327464794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0e1b3f1c051cb077338bb96603dcbbf.jpg","text":"TemporaryFile(/tmp/multipartBody8855783326463741889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_24_02_616547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af04311ba3688a7fbcad203a8ca5090b.jpg","text":"TemporaryFile(/tmp/multipartBody7030901806377807555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_25_02_763326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48351e94b1affd5578906cc99baf834b.jpg","text":"TemporaryFile(/tmp/multipartBody6254775246783709585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_25_02_763326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b5b8897735fd2a720ebeecf094355e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4072685762457784572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_25_02_763326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf39fa412f223d88094a34627c103117.jpg","text":"TemporaryFile(/tmp/multipartBody3175316975656012897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_24_02_616547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45d80bbf0a81535693006e4d26b66a50.jpg","text":"TemporaryFile(/tmp/multipartBody3511020526697601014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343767402,"filename":"image_08012025_13_25_02_763326_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464787","file1":"1327464748","file0":"1327464726","file4":"1327464791","file5":"1327464794","file3":"1327464789"},"map_files_photo_id_array":[{"photo_id":"1327464794","filename":"file5"},{"photo_id":"1327464787","filename":"file2"},{"photo_id":"1327464791","filename":"file4"},{"photo_id":"1327464748","filename":"file1"},{"photo_id":"1327464726","filename":"file0"},{"photo_id":"1327464789","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464726":["hashtag1","hashtag2"]},{"1327464791":["hashtag1","hashtag2"]},{"1327464794":["hashtag1","hashtag2"]},{"1327464787":["hashtag1","hashtag2"]},{"1327464748":["hashtag1","hashtag2"]},{"1327464789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464726, 1327464791, 1327464794, 1327464787, 1327464748, 1327464789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.948336362838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:42:32.475351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0000.jpg', '/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0001.jpg', '/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0002.jpg', '/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0003.jpg', '/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0000.jpg', '/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0000.jpg
/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0001.jpg
/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0002.jpg
/home/pi/Desktop/images/08012025/13/26/image_08012025_13_26_02_971952_0003.jpg
/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0000.jpg
/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_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":["1327464810","1327464887","1327464812","1327464814","1327464817","1327464882"],"photo_ids_order":["1327464810","1327464812","1327464814","1327464817","1327464882","1327464887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2f07c69f7cedfe7e4126d3039beb5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3033045754260927850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_26_02_971952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5839d4923f09f8b04c9ffb4e19b1710b.jpg","text":"TemporaryFile(/tmp/multipartBody1598768829738459768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_27_02_196724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c93c68371078611b750ee7f2f291fffc.jpg","text":"TemporaryFile(/tmp/multipartBody957163172430488210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_26_02_971952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d060f0a83450dba81f7d4ea3d7934474.jpg","text":"TemporaryFile(/tmp/multipartBody415548820084780288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_26_02_971952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d06c84c9ae169c180160b03c91cc1f93.jpg","text":"TemporaryFile(/tmp/multipartBody3637331757960258475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_26_02_971952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e18950662c3af06ade0531ca060b2401.jpg","text":"TemporaryFile(/tmp/multipartBody115710497630799322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343827626,"filename":"image_08012025_13_27_02_196724_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327464814","file1":"1327464812","file0":"1327464810","file4":"1327464882","file5":"1327464887","file3":"1327464817"},"map_files_photo_id_array":[{"photo_id":"1327464887","filename":"file5"},{"photo_id":"1327464814","filename":"file2"},{"photo_id":"1327464882","filename":"file4"},{"photo_id":"1327464812","filename":"file1"},{"photo_id":"1327464810","filename":"file0"},{"photo_id":"1327464817","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327464810":["hashtag1","hashtag2"]},{"1327464887":["hashtag1","hashtag2"]},{"1327464812":["hashtag1","hashtag2"]},{"1327464814":["hashtag1","hashtag2"]},{"1327464817":["hashtag1","hashtag2"]},{"1327464882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327464810, 1327464887, 1327464812, 1327464814, 1327464817, 1327464882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.008633613586426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:43:32.658495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0002.jpg', '/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0003.jpg', '/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0000.jpg', '/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0001.jpg', '/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0002.jpg', '/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0002.jpg
/home/pi/Desktop/images/08012025/13/27/image_08012025_13_27_02_196724_0003.jpg
/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0000.jpg
/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0001.jpg
/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_0002.jpg
/home/pi/Desktop/images/08012025/13/28/image_08012025_13_28_02_461133_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":["1327465046","1327465049","1327465100","1327465043","1327465044","1327465047"],"photo_ids_order":["1327465043","1327465044","1327465046","1327465047","1327465049","1327465100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/903b71711db4da873368655165321357.jpg","text":"TemporaryFile(/tmp/multipartBody818029956573034139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_28_02_461133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16a4edea6ed47575102093aafe786116.jpg","text":"TemporaryFile(/tmp/multipartBody774174941956053159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_28_02_461133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fe2d1a2f5c3545354655ff45dd5de32.jpg","text":"TemporaryFile(/tmp/multipartBody2864703024732928688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_28_02_461133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a0f8de4ba19aef0e58b12d9798bbc6f.jpg","text":"TemporaryFile(/tmp/multipartBody8964184882442788280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_27_02_196724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e83b852a48d92f04fac6df4c1aeda999.jpg","text":"TemporaryFile(/tmp/multipartBody4412384067433369063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_27_02_196724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41d3162d0dc688b8684db27993a6ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody899017379510877837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343887643,"filename":"image_08012025_13_28_02_461133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465046","file1":"1327465044","file0":"1327465043","file4":"1327465049","file5":"1327465100","file3":"1327465047"},"map_files_photo_id_array":[{"photo_id":"1327465100","filename":"file5"},{"photo_id":"1327465046","filename":"file2"},{"photo_id":"1327465049","filename":"file4"},{"photo_id":"1327465044","filename":"file1"},{"photo_id":"1327465043","filename":"file0"},{"photo_id":"1327465047","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465046":["hashtag1","hashtag2"]},{"1327465049":["hashtag1","hashtag2"]},{"1327465100":["hashtag1","hashtag2"]},{"1327465043":["hashtag1","hashtag2"]},{"1327465044":["hashtag1","hashtag2"]},{"1327465047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465046, 1327465049, 1327465100, 1327465043, 1327465044, 1327465047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.232563495635986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:44:31.838184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0000.jpg', '/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0001.jpg', '/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0002.jpg', '/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0003.jpg', '/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0000.jpg', '/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0000.jpg
/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0001.jpg
/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0002.jpg
/home/pi/Desktop/images/08012025/13/29/image_08012025_13_29_02_559171_0003.jpg
/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0000.jpg
/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_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":["1327465196","1327465199","1327465210","1327465207","1327465203","1327465193"],"photo_ids_order":["1327465193","1327465196","1327465199","1327465203","1327465207","1327465210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6810823a09599eca0bf06f3b66797bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1208470161283170916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_29_02_559171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/456a5d0e7698cbb37164db2ceebd9d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4759540558084187503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_29_02_559171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ee0ae5dca24c95d0e9511a3c7aaa6b9.jpg","text":"TemporaryFile(/tmp/multipartBody4954236016688320174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_30_02_750986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/def4d0c94fe699413ebcddf1e39f0d92.jpg","text":"TemporaryFile(/tmp/multipartBody7434393296519667910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_30_02_750986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7e5dd0cac3c5c770335bd9500e091fe.jpg","text":"TemporaryFile(/tmp/multipartBody4065255831721539484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_29_02_559171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d162aebc85a869982a590600909e1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3265533804978229437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736343947044,"filename":"image_08012025_13_29_02_559171_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465199","file1":"1327465196","file0":"1327465193","file4":"1327465207","file5":"1327465210","file3":"1327465203"},"map_files_photo_id_array":[{"photo_id":"1327465210","filename":"file5"},{"photo_id":"1327465199","filename":"file2"},{"photo_id":"1327465207","filename":"file4"},{"photo_id":"1327465196","filename":"file1"},{"photo_id":"1327465193","filename":"file0"},{"photo_id":"1327465203","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465196":["hashtag1","hashtag2"]},{"1327465199":["hashtag1","hashtag2"]},{"1327465210":["hashtag1","hashtag2"]},{"1327465207":["hashtag1","hashtag2"]},{"1327465203":["hashtag1","hashtag2"]},{"1327465193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465196, 1327465199, 1327465210, 1327465207, 1327465203, 1327465193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.17081832885742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:45:31.978020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0002.jpg', '/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0003.jpg', '/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0000.jpg', '/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0001.jpg', '/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0002.jpg', '/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0002.jpg
/home/pi/Desktop/images/08012025/13/30/image_08012025_13_30_02_750986_0003.jpg
/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0000.jpg
/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0001.jpg
/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_0002.jpg
/home/pi/Desktop/images/08012025/13/31/image_08012025_13_31_02_908565_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":["1327465241","1327465243","1327465237","1327465245","1327465248","1327465239"],"photo_ids_order":["1327465237","1327465239","1327465241","1327465243","1327465245","1327465248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e9ae9c9803ea206ffc2f7ac6ca71111.jpg","text":"TemporaryFile(/tmp/multipartBody5736479254485519683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_31_02_908565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b449fc92617075e017f06d00f39f8d2.jpg","text":"TemporaryFile(/tmp/multipartBody116693037377488423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_31_02_908565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04c3549789ffd9475740d6a5a6c6e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5482074136146679268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_30_02_750986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/67cc33ce51ba9380bc4668ced9f050b1.jpg","text":"TemporaryFile(/tmp/multipartBody2943564726018452546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_31_02_908565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de2cb8eeefd61776523ed50644254c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6241965052507659923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_31_02_908565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0489d34d8ab572a1d44ee115a6770bb.jpg","text":"TemporaryFile(/tmp/multipartBody2644748723836863713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344007054,"filename":"image_08012025_13_30_02_750986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465241","file1":"1327465239","file0":"1327465237","file4":"1327465245","file5":"1327465248","file3":"1327465243"},"map_files_photo_id_array":[{"photo_id":"1327465248","filename":"file5"},{"photo_id":"1327465241","filename":"file2"},{"photo_id":"1327465245","filename":"file4"},{"photo_id":"1327465239","filename":"file1"},{"photo_id":"1327465237","filename":"file0"},{"photo_id":"1327465243","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465241":["hashtag1","hashtag2"]},{"1327465243":["hashtag1","hashtag2"]},{"1327465237":["hashtag1","hashtag2"]},{"1327465245":["hashtag1","hashtag2"]},{"1327465248":["hashtag1","hashtag2"]},{"1327465239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465241, 1327465243, 1327465237, 1327465245, 1327465248, 1327465239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.733574867248535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:46:32.344362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0000.jpg', '/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0001.jpg', '/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0002.jpg', '/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0003.jpg', '/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0000.jpg', '/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0000.jpg
/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0001.jpg
/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0002.jpg
/home/pi/Desktop/images/08012025/13/32/image_08012025_13_32_03_116417_0003.jpg
/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0000.jpg
/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_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":["1327465295","1327465298","1327465283","1327465285","1327465281","1327465287"],"photo_ids_order":["1327465281","1327465283","1327465285","1327465287","1327465295","1327465298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbc45349aaed47419a7aa3a694272d23.jpg","text":"TemporaryFile(/tmp/multipartBody2288433350281184228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_33_02_331280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4897928b5fbb4d9b445c6238f174c668.jpg","text":"TemporaryFile(/tmp/multipartBody7871254395290860659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_33_02_331280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3bef6b7989b0c33aa18b107515d407e.jpg","text":"TemporaryFile(/tmp/multipartBody777188778402726632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_32_03_116417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/be76468fc0a33f187ea04580862984d2.jpg","text":"TemporaryFile(/tmp/multipartBody3462448366144229677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_32_03_116417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e36d8edd33ce08c97e397b53c2b3e13d.jpg","text":"TemporaryFile(/tmp/multipartBody7358211259376343249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_32_03_116417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98e8f7f98aca4814d959ad6aada07962.jpg","text":"TemporaryFile(/tmp/multipartBody4604509755552180018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344067325,"filename":"image_08012025_13_32_03_116417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465285","file1":"1327465283","file0":"1327465281","file4":"1327465295","file5":"1327465298","file3":"1327465287"},"map_files_photo_id_array":[{"photo_id":"1327465298","filename":"file5"},{"photo_id":"1327465285","filename":"file2"},{"photo_id":"1327465295","filename":"file4"},{"photo_id":"1327465283","filename":"file1"},{"photo_id":"1327465281","filename":"file0"},{"photo_id":"1327465287","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465295":["hashtag1","hashtag2"]},{"1327465298":["hashtag1","hashtag2"]},{"1327465283":["hashtag1","hashtag2"]},{"1327465285":["hashtag1","hashtag2"]},{"1327465281":["hashtag1","hashtag2"]},{"1327465287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465295, 1327465298, 1327465283, 1327465285, 1327465281, 1327465287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.27810311317444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:47:32.485780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0002.jpg', '/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0003.jpg', '/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0000.jpg', '/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0001.jpg', '/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0002.jpg', '/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0002.jpg
/home/pi/Desktop/images/08012025/13/33/image_08012025_13_33_02_331280_0003.jpg
/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0000.jpg
/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0001.jpg
/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_0002.jpg
/home/pi/Desktop/images/08012025/13/34/image_08012025_13_34_02_511700_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":["1327465376","1327465352","1327465366","1327465351","1327465371","1327465368"],"photo_ids_order":["1327465351","1327465352","1327465366","1327465368","1327465371","1327465376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af6de1abec2666de0bceaacd755a65c4.jpg","text":"TemporaryFile(/tmp/multipartBody1434085767471460225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_34_02_511700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b571c295c3fadeac75b94c2d7c2dbd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7438369258244380626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_33_02_331280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e7a8e907243c60595c8764780cf3a8f.jpg","text":"TemporaryFile(/tmp/multipartBody9003314524296489914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_34_02_511700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7e1ac8d1df76404983b7c458467742a.jpg","text":"TemporaryFile(/tmp/multipartBody8740610369049905146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_33_02_331280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2990414c725276c042bdac51bdf64343.jpg","text":"TemporaryFile(/tmp/multipartBody8338553546624591465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_34_02_511700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18154deb4633057800deb5c81a1c6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5647631148446386762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344127647,"filename":"image_08012025_13_34_02_511700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465366","file1":"1327465352","file0":"1327465351","file4":"1327465371","file5":"1327465376","file3":"1327465368"},"map_files_photo_id_array":[{"photo_id":"1327465376","filename":"file5"},{"photo_id":"1327465366","filename":"file2"},{"photo_id":"1327465371","filename":"file4"},{"photo_id":"1327465352","filename":"file1"},{"photo_id":"1327465351","filename":"file0"},{"photo_id":"1327465368","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465376":["hashtag1","hashtag2"]},{"1327465352":["hashtag1","hashtag2"]},{"1327465366":["hashtag1","hashtag2"]},{"1327465351":["hashtag1","hashtag2"]},{"1327465371":["hashtag1","hashtag2"]},{"1327465368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465376, 1327465352, 1327465366, 1327465351, 1327465371, 1327465368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94655108451843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:48:32.733468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0000.jpg', '/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0001.jpg', '/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0002.jpg', '/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0003.jpg', '/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0000.jpg', '/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0000.jpg
/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0001.jpg
/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0002.jpg
/home/pi/Desktop/images/08012025/13/35/image_08012025_13_35_02_712253_0003.jpg
/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0000.jpg
/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_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":["1327465436","1327465424","1327465429","1327465432","1327465440","1327465428"],"photo_ids_order":["1327465424","1327465428","1327465429","1327465432","1327465436","1327465440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f6aa4aa395deb17dcba176a1bc03109.jpg","text":"TemporaryFile(/tmp/multipartBody405612495806288142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_36_02_838498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/035c55b6a835181d179c8e102ac5fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody1711480901896992338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_35_02_712253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0201217c6d799d08dc0caf75e43a92f5.jpg","text":"TemporaryFile(/tmp/multipartBody98455881994521761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_35_02_712253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/667189e27b744e4996e2422f6d07828d.jpg","text":"TemporaryFile(/tmp/multipartBody7003862595357024776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_35_02_712253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da7a5c7d4d37c13d570398f4fc5fe3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2118900458602908528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_36_02_838498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c3e3c9ed6c987e1d34f5007d9ee2bd37.jpg","text":"TemporaryFile(/tmp/multipartBody5446710834851739505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344187704,"filename":"image_08012025_13_35_02_712253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465429","file1":"1327465428","file0":"1327465424","file4":"1327465436","file5":"1327465440","file3":"1327465432"},"map_files_photo_id_array":[{"photo_id":"1327465440","filename":"file5"},{"photo_id":"1327465429","filename":"file2"},{"photo_id":"1327465436","filename":"file4"},{"photo_id":"1327465428","filename":"file1"},{"photo_id":"1327465424","filename":"file0"},{"photo_id":"1327465432","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465436":["hashtag1","hashtag2"]},{"1327465424":["hashtag1","hashtag2"]},{"1327465429":["hashtag1","hashtag2"]},{"1327465432":["hashtag1","hashtag2"]},{"1327465440":["hashtag1","hashtag2"]},{"1327465428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465436, 1327465424, 1327465429, 1327465432, 1327465440, 1327465428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.624396085739136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:49:31.901655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0002.jpg', '/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0003.jpg', '/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0000.jpg', '/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0001.jpg', '/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0002.jpg', '/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0002.jpg
/home/pi/Desktop/images/08012025/13/36/image_08012025_13_36_02_838498_0003.jpg
/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0000.jpg
/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0001.jpg
/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_0002.jpg
/home/pi/Desktop/images/08012025/13/37/image_08012025_13_37_03_041661_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":["1327465460","1327465484","1327465457","1327465459","1327465479","1327465458"],"photo_ids_order":["1327465457","1327465458","1327465459","1327465460","1327465479","1327465484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f29d4ff75fe88b7a05deb9315858504a.jpg","text":"TemporaryFile(/tmp/multipartBody6060164220023608807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_37_03_041661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7348e3391aa1ce65ba8a3d26948aeee4.jpg","text":"TemporaryFile(/tmp/multipartBody4091203215261846399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_37_03_041661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79902dbd65dac22922419b2cbf3174b5.jpg","text":"TemporaryFile(/tmp/multipartBody607701518168013833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_36_02_838498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/430ffaf5e8ffcf1f40a1a3a146d1b3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3295168150554865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_37_03_041661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/849137e55cd462342785f8aca7de7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3847900969166360154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_37_03_041661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa128b33041193c504c1e1799229be1b.jpg","text":"TemporaryFile(/tmp/multipartBody5473550144716233690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344246882,"filename":"image_08012025_13_36_02_838498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465459","file1":"1327465458","file0":"1327465457","file4":"1327465479","file5":"1327465484","file3":"1327465460"},"map_files_photo_id_array":[{"photo_id":"1327465484","filename":"file5"},{"photo_id":"1327465459","filename":"file2"},{"photo_id":"1327465479","filename":"file4"},{"photo_id":"1327465458","filename":"file1"},{"photo_id":"1327465457","filename":"file0"},{"photo_id":"1327465460","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465460":["hashtag1","hashtag2"]},{"1327465484":["hashtag1","hashtag2"]},{"1327465457":["hashtag1","hashtag2"]},{"1327465459":["hashtag1","hashtag2"]},{"1327465479":["hashtag1","hashtag2"]},{"1327465458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465460, 1327465484, 1327465457, 1327465459, 1327465479, 1327465458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24692749977112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:50:32.106844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0000.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0001.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0002.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0003.jpg', '/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0000.jpg', '/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0000.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0001.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0002.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0003.jpg
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0000.jpg
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_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.717677354812622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:50:52.105110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0000.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0001.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0002.jpg', '/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0003.jpg', '/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0000.jpg', '/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0000.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0001.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0002.jpg
/home/pi/Desktop/images/08012025/13/38/image_08012025_13_38_02_222767_0003.jpg
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0000.jpg
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_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":["1327465547","1327465562","1327465558","1327465555","1327465543","1327465548"],"photo_ids_order":["1327465543","1327465547","1327465548","1327465555","1327465558","1327465562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2b77b6bfeb504cadfd1a89dbea3742c.jpg","text":"TemporaryFile(/tmp/multipartBody1175791021121399770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_38_02_222767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fadafc1de26e3bbd1412e5f8ffa345ae.jpg","text":"TemporaryFile(/tmp/multipartBody8131689207693377278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_39_02_460766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62121764e338c0d6de7bb18132f708ec.jpg","text":"TemporaryFile(/tmp/multipartBody4378489503408548671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_39_02_460766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73affe045fcebb4fb09703c3b9231829.jpg","text":"TemporaryFile(/tmp/multipartBody2176045044301554138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_38_02_222767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d05d7825e911fc32e9bd375253d6103d.jpg","text":"TemporaryFile(/tmp/multipartBody4783455267986297210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_38_02_222767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4481a7f45890702e07f3d29f1a9b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody3608127735102485510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344327166,"filename":"image_08012025_13_38_02_222767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465548","file1":"1327465547","file0":"1327465543","file4":"1327465558","file5":"1327465562","file3":"1327465555"},"map_files_photo_id_array":[{"photo_id":"1327465562","filename":"file5"},{"photo_id":"1327465548","filename":"file2"},{"photo_id":"1327465558","filename":"file4"},{"photo_id":"1327465547","filename":"file1"},{"photo_id":"1327465543","filename":"file0"},{"photo_id":"1327465555","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465547":["hashtag1","hashtag2"]},{"1327465562":["hashtag1","hashtag2"]},{"1327465558":["hashtag1","hashtag2"]},{"1327465555":["hashtag1","hashtag2"]},{"1327465543":["hashtag1","hashtag2"]},{"1327465548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465547, 1327465562, 1327465558, 1327465555, 1327465543, 1327465548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31432509422302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:51:52.256034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0002.jpg', '/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0003.jpg', '/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0000.jpg', '/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0001.jpg', '/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0002.jpg', '/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0002.jpg
/home/pi/Desktop/images/08012025/13/39/image_08012025_13_39_02_460766_0003.jpg
/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0000.jpg
/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0001.jpg
/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_0002.jpg
/home/pi/Desktop/images/08012025/13/40/image_08012025_13_40_02_600810_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":["1327465790","1327465784","1327465777","1327465801","1327465812","1327465796"],"photo_ids_order":["1327465777","1327465784","1327465790","1327465796","1327465801","1327465812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b45de90b1d018a515ab5a80d09344acf.jpg","text":"TemporaryFile(/tmp/multipartBody8190459208402644631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_40_02_600810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6ee78dfdcaf27df2bc689b6b234ed7a.jpg","text":"TemporaryFile(/tmp/multipartBody4248674457613873488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_39_02_460766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d10a126ca0051f6d5152db491d605a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5853516888386799066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_39_02_460766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c91b52b7b81e83d511a198fec4c5b079.jpg","text":"TemporaryFile(/tmp/multipartBody2058474166404046835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_40_02_600810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2c3b6f8e845493d043bd25376dc19a0.jpg","text":"TemporaryFile(/tmp/multipartBody921314959125641721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_40_02_600810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c56ba00899c7ca1e01699ce6c2fa251.jpg","text":"TemporaryFile(/tmp/multipartBody5388300203068570042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344387338,"filename":"image_08012025_13_40_02_600810_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465790","file1":"1327465784","file0":"1327465777","file4":"1327465801","file5":"1327465812","file3":"1327465796"},"map_files_photo_id_array":[{"photo_id":"1327465812","filename":"file5"},{"photo_id":"1327465790","filename":"file2"},{"photo_id":"1327465801","filename":"file4"},{"photo_id":"1327465784","filename":"file1"},{"photo_id":"1327465777","filename":"file0"},{"photo_id":"1327465796","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465790":["hashtag1","hashtag2"]},{"1327465784":["hashtag1","hashtag2"]},{"1327465777":["hashtag1","hashtag2"]},{"1327465801":["hashtag1","hashtag2"]},{"1327465812":["hashtag1","hashtag2"]},{"1327465796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465790, 1327465784, 1327465777, 1327465801, 1327465812, 1327465796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67849016189575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:52:52.455618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0000.jpg', '/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0001.jpg', '/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0002.jpg', '/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0003.jpg', '/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0000.jpg', '/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0000.jpg
/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0001.jpg
/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0002.jpg
/home/pi/Desktop/images/08012025/13/41/image_08012025_13_41_02_738476_0003.jpg
/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0000.jpg
/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_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":["1327465886","1327465841","1327465891","1327465843","1327465837","1327465900"],"photo_ids_order":["1327465837","1327465841","1327465843","1327465886","1327465891","1327465900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea147220de78276e2ce4d31242a5a693.jpg","text":"TemporaryFile(/tmp/multipartBody3858720540725291704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_41_02_738476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43c0e3a4ad1ae1cdaf7fd5cac43716db.jpg","text":"TemporaryFile(/tmp/multipartBody5522170656275976763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_41_02_738476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f58508b4983a8e3bba09bc6606538fe.jpg","text":"TemporaryFile(/tmp/multipartBody1179451999456559526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_42_02_994445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b0467789d734eac618766e611ccacd7.jpg","text":"TemporaryFile(/tmp/multipartBody466781580926253816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_41_02_738476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf9cf39aa3fafb0b0ac6b1a49c92290c.jpg","text":"TemporaryFile(/tmp/multipartBody6028681272718910346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_41_02_738476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d55107910b840c84f960baca093e9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3748971011452195155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344447513,"filename":"image_08012025_13_42_02_994445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465843","file1":"1327465841","file0":"1327465837","file4":"1327465891","file5":"1327465900","file3":"1327465886"},"map_files_photo_id_array":[{"photo_id":"1327465900","filename":"file5"},{"photo_id":"1327465843","filename":"file2"},{"photo_id":"1327465891","filename":"file4"},{"photo_id":"1327465841","filename":"file1"},{"photo_id":"1327465837","filename":"file0"},{"photo_id":"1327465886","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465886":["hashtag1","hashtag2"]},{"1327465841":["hashtag1","hashtag2"]},{"1327465891":["hashtag1","hashtag2"]},{"1327465843":["hashtag1","hashtag2"]},{"1327465837":["hashtag1","hashtag2"]},{"1327465900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465886, 1327465841, 1327465891, 1327465843, 1327465837, 1327465900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5778284072876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:53:52.701494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0002.jpg', '/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0003.jpg', '/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0000.jpg', '/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0001.jpg', '/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0002.jpg', '/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0002.jpg
/home/pi/Desktop/images/08012025/13/42/image_08012025_13_42_02_994445_0003.jpg
/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0000.jpg
/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0001.jpg
/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_0002.jpg
/home/pi/Desktop/images/08012025/13/43/image_08012025_13_43_03_151491_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":["1327465940","1327465937","1327465942","1327465953","1327465935","1327465938"],"photo_ids_order":["1327465935","1327465937","1327465938","1327465940","1327465942","1327465953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/536a7c470c313513f45384d240c69ce0.jpg","text":"TemporaryFile(/tmp/multipartBody2823076907886659676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_43_03_151491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28ebe7f293242ac9ffb2bbde0af9b525.jpg","text":"TemporaryFile(/tmp/multipartBody6216878794843073624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_42_02_994445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e230cd295a32921bfab8e9920bfe754.jpg","text":"TemporaryFile(/tmp/multipartBody2240453070033567540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_43_03_151491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4e79fd1648cca6f22cc127f7a2423f3.jpg","text":"TemporaryFile(/tmp/multipartBody4155954081280629678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_43_03_151491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c173b0f5f70c8b9044e210584f428917.jpg","text":"TemporaryFile(/tmp/multipartBody8872821969428527621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_42_02_994445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/078fb7e217d9c8df6cbf74a5158b1177.jpg","text":"TemporaryFile(/tmp/multipartBody2484056467705586329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344507868,"filename":"image_08012025_13_43_03_151491_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327465938","file1":"1327465937","file0":"1327465935","file4":"1327465942","file5":"1327465953","file3":"1327465940"},"map_files_photo_id_array":[{"photo_id":"1327465953","filename":"file5"},{"photo_id":"1327465938","filename":"file2"},{"photo_id":"1327465942","filename":"file4"},{"photo_id":"1327465937","filename":"file1"},{"photo_id":"1327465935","filename":"file0"},{"photo_id":"1327465940","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327465940":["hashtag1","hashtag2"]},{"1327465937":["hashtag1","hashtag2"]},{"1327465942":["hashtag1","hashtag2"]},{"1327465953":["hashtag1","hashtag2"]},{"1327465935":["hashtag1","hashtag2"]},{"1327465938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327465940, 1327465937, 1327465942, 1327465953, 1327465935, 1327465938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8517005443573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 14:54:51.899901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0000.jpg', '/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0001.jpg', '/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0002.jpg', '/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0003.jpg', '/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0000.jpg', '/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0000.jpg
/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0001.jpg
/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0002.jpg
/home/pi/Desktop/images/08012025/13/44/image_08012025_13_44_02_294211_0003.jpg
/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0000.jpg
/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_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":["1327466128","1327466122","1327466125","1327466082","1327466076","1327466106"],"photo_ids_order":["1327466076","1327466082","1327466106","1327466122","1327466125","1327466128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05114df94efa5e2dc59a708d3bc735bc.jpg","text":"TemporaryFile(/tmp/multipartBody7643819262119093296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_45_02_337320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b06cff6fd86bc228a582db5ad44a09a.jpg","text":"TemporaryFile(/tmp/multipartBody2636304118639198546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_44_02_294211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e528222e21d1d77b5c39b8685322de12.jpg","text":"TemporaryFile(/tmp/multipartBody5834071792793407070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_45_02_337320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89b7079189478f69144987efc4c3f802.jpg","text":"TemporaryFile(/tmp/multipartBody8643733146562085610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_44_02_294211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6152183b37599d9b9b6ccbdd665beaf7.jpg","text":"TemporaryFile(/tmp/multipartBody4455586334192258005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_44_02_294211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62c584915c07e5d9726124bb393197c7.jpg","text":"TemporaryFile(/tmp/multipartBody2725050294292482612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344566905,"filename":"image_08012025_13_44_02_294211_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466106","file1":"1327466082","file0":"1327466076","file4":"1327466125","file5":"1327466128","file3":"1327466122"},"map_files_photo_id_array":[{"photo_id":"1327466128","filename":"file5"},{"photo_id":"1327466106","filename":"file2"},{"photo_id":"1327466125","filename":"file4"},{"photo_id":"1327466082","filename":"file1"},{"photo_id":"1327466076","filename":"file0"},{"photo_id":"1327466122","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466128":["hashtag1","hashtag2"]},{"1327466122":["hashtag1","hashtag2"]},{"1327466125":["hashtag1","hashtag2"]},{"1327466082":["hashtag1","hashtag2"]},{"1327466076":["hashtag1","hashtag2"]},{"1327466106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466128, 1327466122, 1327466125, 1327466082, 1327466076, 1327466106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.79504919052124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:56:02.689851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0002.jpg', '/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0003.jpg', '/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0000.jpg', '/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0001.jpg', '/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0002.jpg', '/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0002.jpg
/home/pi/Desktop/images/08012025/13/45/image_08012025_13_45_02_337320_0003.jpg
/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0000.jpg
/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0001.jpg
/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_0002.jpg
/home/pi/Desktop/images/08012025/13/46/image_08012025_13_46_02_555779_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":["1327466165","1327466170","1327466173","1327466167","1327466178","1327466162"],"photo_ids_order":["1327466162","1327466165","1327466167","1327466170","1327466173","1327466178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ffbab987cd726eba21859727a046d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3399166692287345352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_45_02_337320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4c1ad7606b9e85361d6debcb09a79e1.jpg","text":"TemporaryFile(/tmp/multipartBody7089610340316664367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_46_02_555779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc1140541e5fa110b3417532c1449d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4387802784322093761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_46_02_555779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de2076bec40393dd2ac1b9bb74c1fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody546574158893450472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_46_02_555779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b1d494b9ebacf9a502fcb37c5b83656.jpg","text":"TemporaryFile(/tmp/multipartBody376194050998720346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_46_02_555779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8238e096e4595bf5062415a9687bf81e.jpg","text":"TemporaryFile(/tmp/multipartBody2587566921650520594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344637832,"filename":"image_08012025_13_45_02_337320_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466167","file1":"1327466165","file0":"1327466162","file4":"1327466173","file5":"1327466178","file3":"1327466170"},"map_files_photo_id_array":[{"photo_id":"1327466178","filename":"file5"},{"photo_id":"1327466167","filename":"file2"},{"photo_id":"1327466173","filename":"file4"},{"photo_id":"1327466165","filename":"file1"},{"photo_id":"1327466162","filename":"file0"},{"photo_id":"1327466170","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466165":["hashtag1","hashtag2"]},{"1327466170":["hashtag1","hashtag2"]},{"1327466173":["hashtag1","hashtag2"]},{"1327466167":["hashtag1","hashtag2"]},{"1327466178":["hashtag1","hashtag2"]},{"1327466162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466165, 1327466170, 1327466173, 1327466167, 1327466178, 1327466162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.017014026641846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:57:02.969974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0000.jpg', '/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0001.jpg', '/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0002.jpg', '/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0003.jpg', '/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0000.jpg', '/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0000.jpg
/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0001.jpg
/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0002.jpg
/home/pi/Desktop/images/08012025/13/47/image_08012025_13_47_02_687535_0003.jpg
/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0000.jpg
/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_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":["1327466342","1327466246","1327466359","1327466196","1327466187","1327466189"],"photo_ids_order":["1327466187","1327466189","1327466196","1327466246","1327466342","1327466359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a5a1dc1cc3c947194b5ded0344c7f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7811825430636140030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_48_02_941753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f75ffb7b37fc9ceb77ecd14daf929b8.jpg","text":"TemporaryFile(/tmp/multipartBody6504254272571914697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_47_02_687535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6101ea9251cf8537ff52f3624e76278e.jpg","text":"TemporaryFile(/tmp/multipartBody2006995400480690541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_48_02_941753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd90e562344760342e1fd8ba5dec7a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2966970675125483934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_47_02_687535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16f62679b87ce7931869b8da78b713bd.jpg","text":"TemporaryFile(/tmp/multipartBody4609000104166385134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_47_02_687535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69516df1a95a5d28e9c1c346d911710d.jpg","text":"TemporaryFile(/tmp/multipartBody3239754357727821237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344698080,"filename":"image_08012025_13_47_02_687535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466196","file1":"1327466189","file0":"1327466187","file4":"1327466342","file5":"1327466359","file3":"1327466246"},"map_files_photo_id_array":[{"photo_id":"1327466359","filename":"file5"},{"photo_id":"1327466196","filename":"file2"},{"photo_id":"1327466342","filename":"file4"},{"photo_id":"1327466189","filename":"file1"},{"photo_id":"1327466187","filename":"file0"},{"photo_id":"1327466246","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466342":["hashtag1","hashtag2"]},{"1327466246":["hashtag1","hashtag2"]},{"1327466359":["hashtag1","hashtag2"]},{"1327466196":["hashtag1","hashtag2"]},{"1327466187":["hashtag1","hashtag2"]},{"1327466189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466342, 1327466246, 1327466359, 1327466196, 1327466187, 1327466189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.500126361846924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 14:59:02.483986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0002.jpg', '/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0003.jpg', '/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0000.jpg', '/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0001.jpg', '/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0002.jpg', '/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0002.jpg
/home/pi/Desktop/images/08012025/13/48/image_08012025_13_48_02_941753_0003.jpg
/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0000.jpg
/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0001.jpg
/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_0002.jpg
/home/pi/Desktop/images/08012025/13/49/image_08012025_13_49_03_091512_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":["1327466425","1327466422","1327466401","1327466419","1327466415","1327466409"],"photo_ids_order":["1327466401","1327466409","1327466415","1327466419","1327466422","1327466425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05457ed2a93d420a361c55f7a97f01c1.jpg","text":"TemporaryFile(/tmp/multipartBody6093542893364991465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_49_03_091512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55285bb73f5ff6b2cc5d17c935b75676.jpg","text":"TemporaryFile(/tmp/multipartBody5882539723866063766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_49_03_091512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/674e1eedabc56bd9265254943c473178.jpg","text":"TemporaryFile(/tmp/multipartBody2643620552022524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_48_02_941753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea2253a4dbd8b2ea949f98ef6edb247b.jpg","text":"TemporaryFile(/tmp/multipartBody4812477500297867483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_49_03_091512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d8727717cb1a0a110d92703649aaeaf.jpg","text":"TemporaryFile(/tmp/multipartBody7404821564017968031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_49_03_091512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d693f8dfa9b3179d33d49ee583e09725.jpg","text":"TemporaryFile(/tmp/multipartBody7718111400179632508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344818021,"filename":"image_08012025_13_48_02_941753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466415","file1":"1327466409","file0":"1327466401","file4":"1327466422","file5":"1327466425","file3":"1327466419"},"map_files_photo_id_array":[{"photo_id":"1327466425","filename":"file5"},{"photo_id":"1327466415","filename":"file2"},{"photo_id":"1327466422","filename":"file4"},{"photo_id":"1327466409","filename":"file1"},{"photo_id":"1327466401","filename":"file0"},{"photo_id":"1327466419","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466425":["hashtag1","hashtag2"]},{"1327466422":["hashtag1","hashtag2"]},{"1327466401":["hashtag1","hashtag2"]},{"1327466419":["hashtag1","hashtag2"]},{"1327466415":["hashtag1","hashtag2"]},{"1327466409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466425, 1327466422, 1327466401, 1327466419, 1327466415, 1327466409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32192325592041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:00:02.462065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0000.jpg', '/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0001.jpg', '/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0002.jpg', '/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0003.jpg', '/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0000.jpg', '/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0000.jpg
/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0001.jpg
/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0002.jpg
/home/pi/Desktop/images/08012025/13/50/image_08012025_13_50_02_293465_0003.jpg
/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0000.jpg
/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_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":["1327466435","1327466494","1327466497","1327466490","1327466469","1327466465"],"photo_ids_order":["1327466435","1327466465","1327466469","1327466490","1327466494","1327466497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2839d4d0812bdc3efa97bc281918cdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4184998513544014808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_50_02_293465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/330aaf1faa0aebd7e1af1cca9e52e05a.jpg","text":"TemporaryFile(/tmp/multipartBody1302068819400954285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_51_02_509273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/556e5cda7530844b68a36c4cb71f9069.jpg","text":"TemporaryFile(/tmp/multipartBody6066155493007161726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_51_02_509273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f6db3e712fddcb0c0ecff30e37af135.jpg","text":"TemporaryFile(/tmp/multipartBody3892115908306630182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_50_02_293465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b5bfb582d3aff0b4f4c6693840eaf95.jpg","text":"TemporaryFile(/tmp/multipartBody7416263102477933034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_50_02_293465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0318a06a9a2f978deec1cd7dc5d54c7.jpg","text":"TemporaryFile(/tmp/multipartBody2725380350044384254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344877542,"filename":"image_08012025_13_50_02_293465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466469","file1":"1327466465","file0":"1327466435","file4":"1327466494","file5":"1327466497","file3":"1327466490"},"map_files_photo_id_array":[{"photo_id":"1327466497","filename":"file5"},{"photo_id":"1327466469","filename":"file2"},{"photo_id":"1327466494","filename":"file4"},{"photo_id":"1327466465","filename":"file1"},{"photo_id":"1327466435","filename":"file0"},{"photo_id":"1327466490","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466435":["hashtag1","hashtag2"]},{"1327466494":["hashtag1","hashtag2"]},{"1327466497":["hashtag1","hashtag2"]},{"1327466490":["hashtag1","hashtag2"]},{"1327466469":["hashtag1","hashtag2"]},{"1327466465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466435, 1327466494, 1327466497, 1327466490, 1327466469, 1327466465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60217523574829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:01:02.820023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0002.jpg', '/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0003.jpg', '/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0000.jpg', '/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0001.jpg', '/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0002.jpg', '/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0002.jpg
/home/pi/Desktop/images/08012025/13/51/image_08012025_13_51_02_509273_0003.jpg
/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0000.jpg
/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0001.jpg
/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_0002.jpg
/home/pi/Desktop/images/08012025/13/52/image_08012025_13_52_02_670195_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":["1327466534","1327466504","1327466542","1327466509","1327466518","1327466531"],"photo_ids_order":["1327466504","1327466509","1327466518","1327466531","1327466534","1327466542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3bccc06c451f35767e653e6a901fba65.jpg","text":"TemporaryFile(/tmp/multipartBody519188683722530838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_52_02_670195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f254f8f2f7c10a48915757bff94c43bd.jpg","text":"TemporaryFile(/tmp/multipartBody2559026509496684280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_51_02_509273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f6557354092300ba12211f3977bc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2561600271877322116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_52_02_670195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a0fecdbad354d29cc977126a39bc932.jpg","text":"TemporaryFile(/tmp/multipartBody6771077051158090733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_51_02_509273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7bfefd44afa6183b9c8209f0cde1a60f.jpg","text":"TemporaryFile(/tmp/multipartBody4765619553465949911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_52_02_670195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ab0d4fc8ddef07caa087867e0f05f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7744560546760664853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736344937874,"filename":"image_08012025_13_52_02_670195_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466518","file1":"1327466509","file0":"1327466504","file4":"1327466534","file5":"1327466542","file3":"1327466531"},"map_files_photo_id_array":[{"photo_id":"1327466542","filename":"file5"},{"photo_id":"1327466518","filename":"file2"},{"photo_id":"1327466534","filename":"file4"},{"photo_id":"1327466509","filename":"file1"},{"photo_id":"1327466504","filename":"file0"},{"photo_id":"1327466531","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466534":["hashtag1","hashtag2"]},{"1327466504":["hashtag1","hashtag2"]},{"1327466542":["hashtag1","hashtag2"]},{"1327466509":["hashtag1","hashtag2"]},{"1327466518":["hashtag1","hashtag2"]},{"1327466531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466534, 1327466504, 1327466542, 1327466509, 1327466518, 1327466531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.55395460128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:02:22.507129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0000.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0001.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0002.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0003.jpg', '/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0000.jpg', '/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0000.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0001.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0002.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0003.jpg
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0000.jpg
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_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.729182004928589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:02:42.444761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0000.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0001.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0002.jpg', '/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0003.jpg', '/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0000.jpg', '/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0000.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0001.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0002.jpg
/home/pi/Desktop/images/08012025/13/53/image_08012025_13_53_02_885042_0003.jpg
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0000.jpg
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_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":["1327466773","1327466749","1327466769","1327466733","1327466756","1327466771"],"photo_ids_order":["1327466733","1327466749","1327466756","1327466769","1327466771","1327466773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0a8a568729c1c1596a910b6097ea541.jpg","text":"TemporaryFile(/tmp/multipartBody5037521281747634287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_54_03_103555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b806b3d0819a61fc0a1269c7d9242596.jpg","text":"TemporaryFile(/tmp/multipartBody7498880012144448751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_53_02_885042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97368d8b58824717d46091ebf584d694.jpg","text":"TemporaryFile(/tmp/multipartBody8215875367597197342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_53_02_885042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b118a522fc6225d8cb8759e5a1dfb91e.jpg","text":"TemporaryFile(/tmp/multipartBody1088045810256030750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_53_02_885042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9a096d2c2a4a6995a52c9eaa4f3a7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8031573334320130833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_53_02_885042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6337e3960be7c94e602d614ad8aee108.jpg","text":"TemporaryFile(/tmp/multipartBody1382230551877168725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345037680,"filename":"image_08012025_13_54_03_103555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466756","file1":"1327466749","file0":"1327466733","file4":"1327466771","file5":"1327466773","file3":"1327466769"},"map_files_photo_id_array":[{"photo_id":"1327466773","filename":"file5"},{"photo_id":"1327466756","filename":"file2"},{"photo_id":"1327466771","filename":"file4"},{"photo_id":"1327466749","filename":"file1"},{"photo_id":"1327466733","filename":"file0"},{"photo_id":"1327466769","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466773":["hashtag1","hashtag2"]},{"1327466749":["hashtag1","hashtag2"]},{"1327466769":["hashtag1","hashtag2"]},{"1327466733":["hashtag1","hashtag2"]},{"1327466756":["hashtag1","hashtag2"]},{"1327466771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466773, 1327466749, 1327466769, 1327466733, 1327466756, 1327466771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.103532791137695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:03:42.483518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0002.jpg', '/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0003.jpg', '/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0000.jpg', '/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0001.jpg', '/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0002.jpg', '/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0002.jpg
/home/pi/Desktop/images/08012025/13/54/image_08012025_13_54_03_103555_0003.jpg
/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0000.jpg
/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0001.jpg
/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_0002.jpg
/home/pi/Desktop/images/08012025/13/55/image_08012025_13_55_02_299141_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":["1327466819","1327466791","1327466835","1327466829","1327466861","1327466864"],"photo_ids_order":["1327466791","1327466819","1327466829","1327466835","1327466861","1327466864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52aa4b31ed6c5cdbb42951c9b6d1e77a.jpg","text":"TemporaryFile(/tmp/multipartBody1354338104315262046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_54_03_103555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf1386fee520dc71b518e49b1f206f37.jpg","text":"TemporaryFile(/tmp/multipartBody1065474746515684545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_54_03_103555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/256de236195fb6a00b0daf325ca33857.jpg","text":"TemporaryFile(/tmp/multipartBody7754688894303332882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_55_02_299141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6aebae0f8dd3744352b4e7c56b42fed2.jpg","text":"TemporaryFile(/tmp/multipartBody8434777969739751748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_55_02_299141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a611da3ddf7865689303e9630c5a715.jpg","text":"TemporaryFile(/tmp/multipartBody1471726750319543909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_55_02_299141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c9e25e1b447be90a9c131237e07cf95.jpg","text":"TemporaryFile(/tmp/multipartBody8603038908139641393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345097614,"filename":"image_08012025_13_55_02_299141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327466829","file1":"1327466819","file0":"1327466791","file4":"1327466861","file5":"1327466864","file3":"1327466835"},"map_files_photo_id_array":[{"photo_id":"1327466864","filename":"file5"},{"photo_id":"1327466829","filename":"file2"},{"photo_id":"1327466861","filename":"file4"},{"photo_id":"1327466819","filename":"file1"},{"photo_id":"1327466791","filename":"file0"},{"photo_id":"1327466835","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327466819":["hashtag1","hashtag2"]},{"1327466791":["hashtag1","hashtag2"]},{"1327466835":["hashtag1","hashtag2"]},{"1327466829":["hashtag1","hashtag2"]},{"1327466861":["hashtag1","hashtag2"]},{"1327466864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327466819, 1327466791, 1327466835, 1327466829, 1327466861, 1327466864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.087480306625366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:04:42.768486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0000.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0001.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0002.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0003.jpg', '/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0000.jpg', '/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0000.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0001.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0002.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0003.jpg
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0000.jpg
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_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.71854043006897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:05:02.646694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0000.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0001.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0002.jpg', '/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0003.jpg', '/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0000.jpg', '/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0000.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0001.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0002.jpg
/home/pi/Desktop/images/08012025/13/56/image_08012025_13_56_02_426275_0003.jpg
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0000.jpg
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_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":["1327467808","1327467984","1327468820","1327468430","1327468681","1327468217"],"photo_ids_order":["1327467808","1327467984","1327468217","1327468430","1327468681","1327468820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ed2189fd9fee7152e6031e0c5a3e937.jpg","text":"TemporaryFile(/tmp/multipartBody3519814646260491075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_56_02_426275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2965dd0aca8a177609ebc6d3c915876c.jpg","text":"TemporaryFile(/tmp/multipartBody6972412160656376810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_56_02_426275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a48fe08ad47ba4bad29a56bad4dfae27.jpg","text":"TemporaryFile(/tmp/multipartBody2594382685859333367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_57_02_602449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c3a554872770de9f2adb2564232ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody2284549250199193496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_56_02_426275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca603e2255f787061ffa2c5f7cbd54dd.jpg","text":"TemporaryFile(/tmp/multipartBody9200035857446426496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_57_02_602449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ece4d3b2dfaaf89f662d55e529ab073e.jpg","text":"TemporaryFile(/tmp/multipartBody8746478010350990651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345177805,"filename":"image_08012025_13_56_02_426275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327468217","file1":"1327467984","file0":"1327467808","file4":"1327468681","file5":"1327468820","file3":"1327468430"},"map_files_photo_id_array":[{"photo_id":"1327468820","filename":"file5"},{"photo_id":"1327468217","filename":"file2"},{"photo_id":"1327468681","filename":"file4"},{"photo_id":"1327467984","filename":"file1"},{"photo_id":"1327467808","filename":"file0"},{"photo_id":"1327468430","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327467808":["hashtag1","hashtag2"]},{"1327467984":["hashtag1","hashtag2"]},{"1327468820":["hashtag1","hashtag2"]},{"1327468430":["hashtag1","hashtag2"]},{"1327468681":["hashtag1","hashtag2"]},{"1327468217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327467808, 1327467984, 1327468820, 1327468430, 1327468681, 1327468217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60476636886597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:06:02.493894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0002.jpg', '/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0003.jpg', '/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0000.jpg', '/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0001.jpg', '/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0002.jpg', '/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0002.jpg
/home/pi/Desktop/images/08012025/13/57/image_08012025_13_57_02_602449_0003.jpg
/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0000.jpg
/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0001.jpg
/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_0002.jpg
/home/pi/Desktop/images/08012025/13/58/image_08012025_13_58_02_784427_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":["1327470100","1327469844","1327470273","1327469936","1327470257","1327469614"],"photo_ids_order":["1327469614","1327469844","1327469936","1327470100","1327470257","1327470273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92b9852caa0045b674218d3e5330bd11.jpg","text":"TemporaryFile(/tmp/multipartBody2594026183919761517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_58_02_784427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a55ea88f04df2914cec1bbd913ffa65.jpg","text":"TemporaryFile(/tmp/multipartBody3156848329938000592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_57_02_602449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc8cca16d7bf5c71a1ce378a8fae17b4.jpg","text":"TemporaryFile(/tmp/multipartBody2600931899490620770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_58_02_784427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cb41971d2542dea358df2a981c940d2.jpg","text":"TemporaryFile(/tmp/multipartBody2469850141589271761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_58_02_784427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d2b1208a377eed49e727d654dc767c7.jpg","text":"TemporaryFile(/tmp/multipartBody5340520279187427728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_58_02_784427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23beeb7fe6f05be4557be13684a9cc0c.jpg","text":"TemporaryFile(/tmp/multipartBody3382245582130169994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345237555,"filename":"image_08012025_13_57_02_602449_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327469936","file1":"1327469844","file0":"1327469614","file4":"1327470257","file5":"1327470273","file3":"1327470100"},"map_files_photo_id_array":[{"photo_id":"1327470273","filename":"file5"},{"photo_id":"1327469936","filename":"file2"},{"photo_id":"1327470257","filename":"file4"},{"photo_id":"1327469844","filename":"file1"},{"photo_id":"1327469614","filename":"file0"},{"photo_id":"1327470100","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327470100":["hashtag1","hashtag2"]},{"1327469844":["hashtag1","hashtag2"]},{"1327470273":["hashtag1","hashtag2"]},{"1327469936":["hashtag1","hashtag2"]},{"1327470257":["hashtag1","hashtag2"]},{"1327469614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327470100, 1327469844, 1327470273, 1327469936, 1327470257, 1327469614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63529682159424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:07:02.840276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0000.jpg', '/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0001.jpg', '/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0002.jpg', '/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0003.jpg', '/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0001.jpg', '/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0000.jpg
/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0001.jpg
/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0002.jpg
/home/pi/Desktop/images/08012025/13/59/image_08012025_13_59_02_945354_0003.jpg
/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0001.jpg
/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327470352","1327470412","1327470363","1327470365","1327470359","1327470361"],"photo_ids_order":["1327470352","1327470359","1327470361","1327470363","1327470365","1327470412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e259d233cd8c9e090d33b11cfa3f324.jpg","text":"TemporaryFile(/tmp/multipartBody2218002857508316546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_13_59_02_945354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df0fbdf5aaa31bcc99b3f141bca2b840.jpg","text":"TemporaryFile(/tmp/multipartBody1934769942411313623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_14_00_02_167924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ac22f73c925e6afbbff4bac084ced4a.jpg","text":"TemporaryFile(/tmp/multipartBody2773133401216421667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_13_59_02_945354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d8e297371c262aa097fdb6b34b07ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8769997396556270163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_14_00_02_167924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6430ca5af82850eaec5477b3d7dc53f8.jpg","text":"TemporaryFile(/tmp/multipartBody536306030676938354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_13_59_02_945354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdfed649fe07f18b8df7f3763a8c9cdf.jpg","text":"TemporaryFile(/tmp/multipartBody225000570115127381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345297901,"filename":"image_08012025_13_59_02_945354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327470361","file1":"1327470359","file0":"1327470352","file4":"1327470365","file5":"1327470412","file3":"1327470363"},"map_files_photo_id_array":[{"photo_id":"1327470412","filename":"file5"},{"photo_id":"1327470361","filename":"file2"},{"photo_id":"1327470365","filename":"file4"},{"photo_id":"1327470359","filename":"file1"},{"photo_id":"1327470352","filename":"file0"},{"photo_id":"1327470363","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327470352":["hashtag1","hashtag2"]},{"1327470412":["hashtag1","hashtag2"]},{"1327470363":["hashtag1","hashtag2"]},{"1327470365":["hashtag1","hashtag2"]},{"1327470359":["hashtag1","hashtag2"]},{"1327470361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327470352, 1327470412, 1327470363, 1327470365, 1327470359, 1327470361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.18683457374573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:08:02.852954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0003.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0000.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0001.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0002.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0003.jpg', '/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0003.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0000.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0001.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0002.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0003.jpg
/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_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.688114166259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:08:22.513832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0003.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0000.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0001.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0002.jpg', '/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0003.jpg', '/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/00/image_08012025_14_00_02_167924_0003.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0000.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0001.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0002.jpg
/home/pi/Desktop/images/08012025/14/01/image_08012025_14_01_02_356483_0003.jpg
/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_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":["1327471476","1327471557","1327471559","1327471555","1327471321","1327471510"],"photo_ids_order":["1327471321","1327471476","1327471510","1327471555","1327471557","1327471559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4153ea5c6fd4ae70982b25db2d7cf7cc.jpg","text":"TemporaryFile(/tmp/multipartBody4041773983334214335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_01_02_356483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/807e0282a348b3ad6602ad74324fa2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4217248126121272418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_01_02_356483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd1d0c05736b6a3c279f4af42375bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody8231616317395645915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_02_02_483226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f5abd31cc13cd4b010c333fce2c06e0.jpg","text":"TemporaryFile(/tmp/multipartBody9013051095655666325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_01_02_356483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36c0e45c5e297f29c6fff2bdd83bbdc3.jpg","text":"TemporaryFile(/tmp/multipartBody344692626414509648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_00_02_167924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a2771c50e9ccc210b5985516ea65c0f.jpg","text":"TemporaryFile(/tmp/multipartBody4998057813082816193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345377558,"filename":"image_08012025_14_01_02_356483_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471510","file1":"1327471476","file0":"1327471321","file4":"1327471557","file5":"1327471559","file3":"1327471555"},"map_files_photo_id_array":[{"photo_id":"1327471559","filename":"file5"},{"photo_id":"1327471510","filename":"file2"},{"photo_id":"1327471557","filename":"file4"},{"photo_id":"1327471476","filename":"file1"},{"photo_id":"1327471321","filename":"file0"},{"photo_id":"1327471555","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471476":["hashtag1","hashtag2"]},{"1327471557":["hashtag1","hashtag2"]},{"1327471559":["hashtag1","hashtag2"]},{"1327471555":["hashtag1","hashtag2"]},{"1327471321":["hashtag1","hashtag2"]},{"1327471510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471476, 1327471557, 1327471559, 1327471555, 1327471321, 1327471510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29954719543457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:09:22.633307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0001.jpg', '/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0002.jpg', '/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0003.jpg', '/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0000.jpg', '/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0001.jpg', '/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0001.jpg
/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0002.jpg
/home/pi/Desktop/images/08012025/14/02/image_08012025_14_02_02_483226_0003.jpg
/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0000.jpg
/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0001.jpg
/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327471665","1327471652","1327471661","1327471655","1327471658","1327471663"],"photo_ids_order":["1327471652","1327471655","1327471658","1327471661","1327471663","1327471665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6bced17a1984a211d59dd3065ca7a471.jpg","text":"TemporaryFile(/tmp/multipartBody4081664326250245262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_03_02_673003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f081be41821cd6ae325ac4e43b230c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1104172718664472290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_02_02_483226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/974f30fad17fde1b8e12350286c0761d.jpg","text":"TemporaryFile(/tmp/multipartBody5047434915725179191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_03_02_673003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c119a2f6e9b067f42e1ce5787d8cfc27.jpg","text":"TemporaryFile(/tmp/multipartBody6795522599527717117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_02_02_483226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ba8e03106ee302f3e5cc021a048d451.jpg","text":"TemporaryFile(/tmp/multipartBody8453200202040779267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_02_02_483226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c873d316606f3875be81c8c467a2370.jpg","text":"TemporaryFile(/tmp/multipartBody1767056110973411501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345437855,"filename":"image_08012025_14_03_02_673003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471658","file1":"1327471655","file0":"1327471652","file4":"1327471663","file5":"1327471665","file3":"1327471661"},"map_files_photo_id_array":[{"photo_id":"1327471665","filename":"file5"},{"photo_id":"1327471658","filename":"file2"},{"photo_id":"1327471663","filename":"file4"},{"photo_id":"1327471655","filename":"file1"},{"photo_id":"1327471652","filename":"file0"},{"photo_id":"1327471661","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471665":["hashtag1","hashtag2"]},{"1327471652":["hashtag1","hashtag2"]},{"1327471661":["hashtag1","hashtag2"]},{"1327471655":["hashtag1","hashtag2"]},{"1327471658":["hashtag1","hashtag2"]},{"1327471663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471665, 1327471652, 1327471661, 1327471655, 1327471658, 1327471663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.116862773895264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:10:22.832498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0003.jpg', '/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0000.jpg', '/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0001.jpg', '/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0002.jpg', '/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0003.jpg', '/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/03/image_08012025_14_03_02_673003_0003.jpg
/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0000.jpg
/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0001.jpg
/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0002.jpg
/home/pi/Desktop/images/08012025/14/04/image_08012025_14_04_02_918497_0003.jpg
/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_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":["1327471689","1327471674","1327471691","1327471693","1327471696","1327471678"],"photo_ids_order":["1327471674","1327471678","1327471689","1327471691","1327471693","1327471696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eea4cd6d05d2d9cbfd44ce212dd5bfe8.jpg","text":"TemporaryFile(/tmp/multipartBody1750690608826070727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_04_02_918497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ef9de0eea699e4329afe6a96ccce253.jpg","text":"TemporaryFile(/tmp/multipartBody6165003659134435608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_03_02_673003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/531a0ba6dc9ccccc7b267f2673f5af0c.jpg","text":"TemporaryFile(/tmp/multipartBody2159227336713044763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_04_02_918497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07ce8ae40008080aec73c736ed33cda0.jpg","text":"TemporaryFile(/tmp/multipartBody3400026810301983715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_04_02_918497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b162d92bbcbdf67634191ae59ec64bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7556761300493810860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_05_02_126960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43dc0d11ec3a871b0a2029cfb7e461ab.jpg","text":"TemporaryFile(/tmp/multipartBody8184247486226568917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345498067,"filename":"image_08012025_14_04_02_918497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471689","file1":"1327471678","file0":"1327471674","file4":"1327471693","file5":"1327471696","file3":"1327471691"},"map_files_photo_id_array":[{"photo_id":"1327471696","filename":"file5"},{"photo_id":"1327471689","filename":"file2"},{"photo_id":"1327471693","filename":"file4"},{"photo_id":"1327471678","filename":"file1"},{"photo_id":"1327471674","filename":"file0"},{"photo_id":"1327471691","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471689":["hashtag1","hashtag2"]},{"1327471674":["hashtag1","hashtag2"]},{"1327471691":["hashtag1","hashtag2"]},{"1327471693":["hashtag1","hashtag2"]},{"1327471696":["hashtag1","hashtag2"]},{"1327471678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471689, 1327471674, 1327471691, 1327471693, 1327471696, 1327471678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.304320096969604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:11:21.950511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_0002.jpg', '/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_0003.jpg', '/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0000.jpg', '/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0001.jpg', '/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0002.jpg', '/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_0002.jpg
/home/pi/Desktop/images/08012025/14/05/image_08012025_14_05_02_126960_0003.jpg
/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0000.jpg
/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0001.jpg
/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_0002.jpg
/home/pi/Desktop/images/08012025/14/06/image_08012025_14_06_02_417344_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":["1327471716","1327471713","1327471707","1327471709","1327471711","1327471717"],"photo_ids_order":["1327471707","1327471709","1327471711","1327471713","1327471716","1327471717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60534713de77dbb32807e4e632165613.jpg","text":"TemporaryFile(/tmp/multipartBody478685768577183866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_06_02_417344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f10f0fffd0c452dcbcce27adf1ddf406.jpg","text":"TemporaryFile(/tmp/multipartBody1511044015840949207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_06_02_417344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3788969e293583cba8a05ec3a115647d.jpg","text":"TemporaryFile(/tmp/multipartBody923826437594211653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_05_02_126960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74ea6f74cf10993cee8e446a18717da6.jpg","text":"TemporaryFile(/tmp/multipartBody6106946351080412554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_05_02_126960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40c275287d922bcbe114b66a515f8982.jpg","text":"TemporaryFile(/tmp/multipartBody4871756858774360965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_06_02_417344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cce7e147a2e55d83c037348098159af3.jpg","text":"TemporaryFile(/tmp/multipartBody3523910001199403566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345556944,"filename":"image_08012025_14_06_02_417344_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471711","file1":"1327471709","file0":"1327471707","file4":"1327471716","file5":"1327471717","file3":"1327471713"},"map_files_photo_id_array":[{"photo_id":"1327471717","filename":"file5"},{"photo_id":"1327471711","filename":"file2"},{"photo_id":"1327471716","filename":"file4"},{"photo_id":"1327471709","filename":"file1"},{"photo_id":"1327471707","filename":"file0"},{"photo_id":"1327471713","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471716":["hashtag1","hashtag2"]},{"1327471713":["hashtag1","hashtag2"]},{"1327471707":["hashtag1","hashtag2"]},{"1327471709":["hashtag1","hashtag2"]},{"1327471711":["hashtag1","hashtag2"]},{"1327471717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471716, 1327471713, 1327471707, 1327471709, 1327471711, 1327471717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52231407165527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:12:22.197406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0000.jpg', '/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0001.jpg', '/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0002.jpg', '/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0003.jpg', '/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0000.jpg', '/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0000.jpg
/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0001.jpg
/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0002.jpg
/home/pi/Desktop/images/08012025/14/07/image_08012025_14_07_02_523859_0003.jpg
/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0000.jpg
/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_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":["1327471758","1327471725","1327471727","1327471742","1327471756","1327471744"],"photo_ids_order":["1327471725","1327471727","1327471742","1327471744","1327471756","1327471758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f6273cf7ae2c412764881d5cfea206e.jpg","text":"TemporaryFile(/tmp/multipartBody7798504034797012482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_08_02_702337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f18312647cf5e5fe841c6620cf9ede5.jpg","text":"TemporaryFile(/tmp/multipartBody3609066320225438792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_07_02_523859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba5d2bb3ea084a3853da1530aec03dcd.jpg","text":"TemporaryFile(/tmp/multipartBody856483026847818245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_07_02_523859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97529b06aaa677e3efe4a6b4f45de718.jpg","text":"TemporaryFile(/tmp/multipartBody6564216354814892558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_07_02_523859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d0cd57609b7da93f97c76e9229ec97f.jpg","text":"TemporaryFile(/tmp/multipartBody7578670926627762509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_08_02_702337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1510fd3d5f93d63ec68aaa1b1d3309f4.jpg","text":"TemporaryFile(/tmp/multipartBody4838195795601720355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345617415,"filename":"image_08012025_14_07_02_523859_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471742","file1":"1327471727","file0":"1327471725","file4":"1327471756","file5":"1327471758","file3":"1327471744"},"map_files_photo_id_array":[{"photo_id":"1327471758","filename":"file5"},{"photo_id":"1327471742","filename":"file2"},{"photo_id":"1327471756","filename":"file4"},{"photo_id":"1327471727","filename":"file1"},{"photo_id":"1327471725","filename":"file0"},{"photo_id":"1327471744","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471758":["hashtag1","hashtag2"]},{"1327471725":["hashtag1","hashtag2"]},{"1327471727":["hashtag1","hashtag2"]},{"1327471742":["hashtag1","hashtag2"]},{"1327471756":["hashtag1","hashtag2"]},{"1327471744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471758, 1327471725, 1327471727, 1327471742, 1327471756, 1327471744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03522872924805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:13:22.338304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0002.jpg', '/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0003.jpg', '/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0000.jpg', '/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0001.jpg', '/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0002.jpg', '/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0002.jpg
/home/pi/Desktop/images/08012025/14/08/image_08012025_14_08_02_702337_0003.jpg
/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0000.jpg
/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0001.jpg
/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_0002.jpg
/home/pi/Desktop/images/08012025/14/09/image_08012025_14_09_02_820688_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":["1327471776","1327471803","1327471796","1327471800","1327471778","1327471798"],"photo_ids_order":["1327471776","1327471778","1327471796","1327471798","1327471800","1327471803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11b42db840b8f63b4f37d106d00cf684.jpg","text":"TemporaryFile(/tmp/multipartBody8351226074869375069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_08_02_702337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a97427f16b2f4ca3ab8f95fc9e3eed0.jpg","text":"TemporaryFile(/tmp/multipartBody6678591595129976128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_09_02_820688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b3b74ffd2daee06c6dbd82e7c6c87c3.jpg","text":"TemporaryFile(/tmp/multipartBody4504151183735669738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_09_02_820688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5c23045123e35dc312899da9318876f.jpg","text":"TemporaryFile(/tmp/multipartBody4405652316114946369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_09_02_820688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3285f89934c3e9089859e5cf75a3b19.jpg","text":"TemporaryFile(/tmp/multipartBody4266073729333677273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_08_02_702337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/24e57fa5716dddb260f0a7c03e2634b7.jpg","text":"TemporaryFile(/tmp/multipartBody8277986619572467466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345677439,"filename":"image_08012025_14_09_02_820688_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471796","file1":"1327471778","file0":"1327471776","file4":"1327471800","file5":"1327471803","file3":"1327471798"},"map_files_photo_id_array":[{"photo_id":"1327471803","filename":"file5"},{"photo_id":"1327471796","filename":"file2"},{"photo_id":"1327471800","filename":"file4"},{"photo_id":"1327471778","filename":"file1"},{"photo_id":"1327471776","filename":"file0"},{"photo_id":"1327471798","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471776":["hashtag1","hashtag2"]},{"1327471803":["hashtag1","hashtag2"]},{"1327471796":["hashtag1","hashtag2"]},{"1327471800":["hashtag1","hashtag2"]},{"1327471778":["hashtag1","hashtag2"]},{"1327471798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471776, 1327471803, 1327471796, 1327471800, 1327471778, 1327471798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.45937728881836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:14:22.464879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0000.jpg', '/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0001.jpg', '/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0002.jpg', '/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0003.jpg', '/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0000.jpg', '/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0000.jpg
/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0001.jpg
/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0002.jpg
/home/pi/Desktop/images/08012025/14/10/image_08012025_14_10_02_967749_0003.jpg
/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0000.jpg
/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_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":["1327471836","1327471839","1327471827","1327471829","1327471843","1327471825"],"photo_ids_order":["1327471825","1327471827","1327471829","1327471836","1327471839","1327471843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9b26de6eae82f23ffd9ba5701f68b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3240206130364526430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_10_02_967749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88a68f38c25a394d5a4978a29b63f449.jpg","text":"TemporaryFile(/tmp/multipartBody2750768326243695216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_11_02_117349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb9387443cd4e7c3b857ae9ca617b066.jpg","text":"TemporaryFile(/tmp/multipartBody2804274696287203328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_10_02_967749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18cd1644130f6f75b0bdc1162e2ae2b3.jpg","text":"TemporaryFile(/tmp/multipartBody6963827285442864338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_10_02_967749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b326fd3d1265cc873ec4efa230adf63e.jpg","text":"TemporaryFile(/tmp/multipartBody5494010329747908103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_11_02_117349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/130816560738af6ae8818479554305a9.jpg","text":"TemporaryFile(/tmp/multipartBody3208880359817334009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345737725,"filename":"image_08012025_14_10_02_967749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471829","file1":"1327471827","file0":"1327471825","file4":"1327471839","file5":"1327471843","file3":"1327471836"},"map_files_photo_id_array":[{"photo_id":"1327471843","filename":"file5"},{"photo_id":"1327471829","filename":"file2"},{"photo_id":"1327471839","filename":"file4"},{"photo_id":"1327471827","filename":"file1"},{"photo_id":"1327471825","filename":"file0"},{"photo_id":"1327471836","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471836":["hashtag1","hashtag2"]},{"1327471839":["hashtag1","hashtag2"]},{"1327471827":["hashtag1","hashtag2"]},{"1327471829":["hashtag1","hashtag2"]},{"1327471843":["hashtag1","hashtag2"]},{"1327471825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471836, 1327471839, 1327471827, 1327471829, 1327471843, 1327471825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62168884277344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:15:22.561415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0002.jpg', '/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0003.jpg', '/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0000.jpg', '/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0001.jpg', '/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0002.jpg', '/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0002.jpg
/home/pi/Desktop/images/08012025/14/11/image_08012025_14_11_02_117349_0003.jpg
/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0000.jpg
/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0001.jpg
/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_0002.jpg
/home/pi/Desktop/images/08012025/14/12/image_08012025_14_12_02_308380_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":["1327471908","1327471898","1327471922","1327471918","1327471903","1327471909"],"photo_ids_order":["1327471898","1327471903","1327471908","1327471909","1327471918","1327471922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39293a99cbbfd3440f3a57b1bde50ef5.jpg","text":"TemporaryFile(/tmp/multipartBody521694882331447366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_12_02_308380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55bed72dc8600bb722354d7ea899b513.jpg","text":"TemporaryFile(/tmp/multipartBody3252987543730220294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_11_02_117349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0622e67ddc71f915b99a7c446fb5cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4229824253661519911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_12_02_308380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebbd8775b19d11fd75c20c72080816d9.jpg","text":"TemporaryFile(/tmp/multipartBody2308905531918741491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_12_02_308380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/449d182153b8954e69fd36b5c37d2cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7336945978923718435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_11_02_117349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a63f8c5ec80da3d87912c5e6296f584.jpg","text":"TemporaryFile(/tmp/multipartBody5188276026515526641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345797572,"filename":"image_08012025_14_12_02_308380_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471908","file1":"1327471903","file0":"1327471898","file4":"1327471918","file5":"1327471922","file3":"1327471909"},"map_files_photo_id_array":[{"photo_id":"1327471922","filename":"file5"},{"photo_id":"1327471908","filename":"file2"},{"photo_id":"1327471918","filename":"file4"},{"photo_id":"1327471903","filename":"file1"},{"photo_id":"1327471898","filename":"file0"},{"photo_id":"1327471909","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471908":["hashtag1","hashtag2"]},{"1327471898":["hashtag1","hashtag2"]},{"1327471922":["hashtag1","hashtag2"]},{"1327471918":["hashtag1","hashtag2"]},{"1327471903":["hashtag1","hashtag2"]},{"1327471909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471908, 1327471898, 1327471922, 1327471918, 1327471903, 1327471909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.632384061813354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:16:21.809803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0000.jpg', '/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0001.jpg', '/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0002.jpg', '/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0003.jpg', '/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0000.jpg', '/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0000.jpg
/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0001.jpg
/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0002.jpg
/home/pi/Desktop/images/08012025/14/13/image_08012025_14_13_02_560786_0003.jpg
/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0000.jpg
/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_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":["1327471932","1327471941","1327471935","1327471937","1327471939","1327471930"],"photo_ids_order":["1327471930","1327471932","1327471935","1327471937","1327471939","1327471941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/831af3cd21d6e2949151d759d4cb3e3a.jpg","text":"TemporaryFile(/tmp/multipartBody683254050230699749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_13_02_560786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8813baf8155144b4c336f0eabeb8858f.jpg","text":"TemporaryFile(/tmp/multipartBody5029628045907268329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_14_02_662633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1108fb15a06baadd798be2decadc71ed.jpg","text":"TemporaryFile(/tmp/multipartBody1450254635244919380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_13_02_560786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e29b1c1cb6777a4fcc728a7bdd33f97d.jpg","text":"TemporaryFile(/tmp/multipartBody1827861700390573370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_13_02_560786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bac22ae54f8d394510b37eb685f4474d.jpg","text":"TemporaryFile(/tmp/multipartBody5112476818610832427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_14_02_662633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb74f988a2a9d1e7c04c18fae5c16396.jpg","text":"TemporaryFile(/tmp/multipartBody7426709187336892053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345856733,"filename":"image_08012025_14_13_02_560786_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471935","file1":"1327471932","file0":"1327471930","file4":"1327471939","file5":"1327471941","file3":"1327471937"},"map_files_photo_id_array":[{"photo_id":"1327471941","filename":"file5"},{"photo_id":"1327471935","filename":"file2"},{"photo_id":"1327471939","filename":"file4"},{"photo_id":"1327471932","filename":"file1"},{"photo_id":"1327471930","filename":"file0"},{"photo_id":"1327471937","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471932":["hashtag1","hashtag2"]},{"1327471941":["hashtag1","hashtag2"]},{"1327471935":["hashtag1","hashtag2"]},{"1327471937":["hashtag1","hashtag2"]},{"1327471939":["hashtag1","hashtag2"]},{"1327471930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471932, 1327471941, 1327471935, 1327471937, 1327471939, 1327471930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.18775463104248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:17:22.046803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0002.jpg', '/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0003.jpg', '/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0000.jpg', '/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0001.jpg', '/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0002.jpg', '/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0002.jpg
/home/pi/Desktop/images/08012025/14/14/image_08012025_14_14_02_662633_0003.jpg
/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0000.jpg
/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0001.jpg
/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_0002.jpg
/home/pi/Desktop/images/08012025/14/15/image_08012025_14_15_02_839439_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":["1327471953","1327471970","1327471967","1327471949","1327471960","1327471963"],"photo_ids_order":["1327471949","1327471953","1327471960","1327471963","1327471967","1327471970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dcf9c596e5b72a2cfc36c94cfb947a67.jpg","text":"TemporaryFile(/tmp/multipartBody2580172715143495261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_14_02_662633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d33ff5e0e4b49d84e255428fdd6f843.jpg","text":"TemporaryFile(/tmp/multipartBody1514187389482385841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_15_02_839439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32a9812aa7cce00e3e9d5a76b2fe0d05.jpg","text":"TemporaryFile(/tmp/multipartBody2701673834450789632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_15_02_839439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/694a732d09df96fb02a380d9842de862.jpg","text":"TemporaryFile(/tmp/multipartBody7887870168979393722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_14_02_662633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21eef5672548a4d7fc3cf0e3488ce7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4627996749113960636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_15_02_839439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af113a0acc38a197e0e8b8974e276015.jpg","text":"TemporaryFile(/tmp/multipartBody6795257205866363196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345917230,"filename":"image_08012025_14_15_02_839439_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327471960","file1":"1327471953","file0":"1327471949","file4":"1327471967","file5":"1327471970","file3":"1327471963"},"map_files_photo_id_array":[{"photo_id":"1327471970","filename":"file5"},{"photo_id":"1327471960","filename":"file2"},{"photo_id":"1327471967","filename":"file4"},{"photo_id":"1327471953","filename":"file1"},{"photo_id":"1327471949","filename":"file0"},{"photo_id":"1327471963","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327471953":["hashtag1","hashtag2"]},{"1327471970":["hashtag1","hashtag2"]},{"1327471967":["hashtag1","hashtag2"]},{"1327471949":["hashtag1","hashtag2"]},{"1327471960":["hashtag1","hashtag2"]},{"1327471963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327471953, 1327471970, 1327471967, 1327471949, 1327471960, 1327471963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.048837184906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:18:22.148336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0000.jpg', '/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0001.jpg', '/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0002.jpg', '/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0003.jpg', '/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0000.jpg', '/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0000.jpg
/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0001.jpg
/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0002.jpg
/home/pi/Desktop/images/08012025/14/16/image_08012025_14_16_03_022287_0003.jpg
/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0000.jpg
/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_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":["1327472013","1327472007","1327472009","1327472002","1327472011","1327471995"],"photo_ids_order":["1327471995","1327472002","1327472007","1327472009","1327472011","1327472013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f96f0bca96d7795ca6597e7da81295f1.jpg","text":"TemporaryFile(/tmp/multipartBody9089854039952706989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_17_02_268970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b2c154fb4e9609ee607304908acede8.jpg","text":"TemporaryFile(/tmp/multipartBody1788257440492424536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_16_03_022287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a08d9ae095a45bc6be0f8a2299b47000.jpg","text":"TemporaryFile(/tmp/multipartBody7732671210408596239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_16_03_022287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0f37747983cdd1bcc7092745a302c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7813371727303837317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_16_03_022287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77d0e247a26e5f4a79be0470771c6022.jpg","text":"TemporaryFile(/tmp/multipartBody4792669765619693870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_17_02_268970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7caad242448daffc785922423a531d4.jpg","text":"TemporaryFile(/tmp/multipartBody9059387625498976490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736345977173,"filename":"image_08012025_14_16_03_022287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472007","file1":"1327472002","file0":"1327471995","file4":"1327472011","file5":"1327472013","file3":"1327472009"},"map_files_photo_id_array":[{"photo_id":"1327472013","filename":"file5"},{"photo_id":"1327472007","filename":"file2"},{"photo_id":"1327472011","filename":"file4"},{"photo_id":"1327472002","filename":"file1"},{"photo_id":"1327471995","filename":"file0"},{"photo_id":"1327472009","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472013":["hashtag1","hashtag2"]},{"1327472007":["hashtag1","hashtag2"]},{"1327472009":["hashtag1","hashtag2"]},{"1327472002":["hashtag1","hashtag2"]},{"1327472011":["hashtag1","hashtag2"]},{"1327471995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472013, 1327472007, 1327472009, 1327472002, 1327472011, 1327471995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.330416679382324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:19:22.422181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0002.jpg', '/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0003.jpg', '/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0000.jpg', '/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0001.jpg', '/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0002.jpg', '/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0002.jpg
/home/pi/Desktop/images/08012025/14/17/image_08012025_14_17_02_268970_0003.jpg
/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0000.jpg
/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0001.jpg
/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_0002.jpg
/home/pi/Desktop/images/08012025/14/18/image_08012025_14_18_02_337909_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":["1327472034","1327472036","1327472041","1327472029","1327472038","1327472031"],"photo_ids_order":["1327472029","1327472031","1327472034","1327472036","1327472038","1327472041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40262aff063559d71ef649134b5eb069.jpg","text":"TemporaryFile(/tmp/multipartBody2035798625719291261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_18_02_337909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08afa276bb2ab0d84b4e4f27cd92951d.jpg","text":"TemporaryFile(/tmp/multipartBody5369189824813997477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_18_02_337909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ac543d2cdaf0da4a35690a40ebdd475.jpg","text":"TemporaryFile(/tmp/multipartBody7634662224285066056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_18_02_337909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb50a75eb024819b9fa895984b56a29d.jpg","text":"TemporaryFile(/tmp/multipartBody4752433567531791193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_17_02_268970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47851dc7d646f9fa0e7fba44c89c4e4b.jpg","text":"TemporaryFile(/tmp/multipartBody8002774917904646057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_18_02_337909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf1f5651d7171d80a1696d3e12be23d2.jpg","text":"TemporaryFile(/tmp/multipartBody3536605630548274939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346037397,"filename":"image_08012025_14_17_02_268970_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472034","file1":"1327472031","file0":"1327472029","file4":"1327472038","file5":"1327472041","file3":"1327472036"},"map_files_photo_id_array":[{"photo_id":"1327472041","filename":"file5"},{"photo_id":"1327472034","filename":"file2"},{"photo_id":"1327472038","filename":"file4"},{"photo_id":"1327472031","filename":"file1"},{"photo_id":"1327472029","filename":"file0"},{"photo_id":"1327472036","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472034":["hashtag1","hashtag2"]},{"1327472036":["hashtag1","hashtag2"]},{"1327472041":["hashtag1","hashtag2"]},{"1327472029":["hashtag1","hashtag2"]},{"1327472038":["hashtag1","hashtag2"]},{"1327472031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472034, 1327472036, 1327472041, 1327472029, 1327472038, 1327472031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04409432411194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:20:22.708019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0000.jpg', '/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0001.jpg', '/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0002.jpg', '/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0003.jpg', '/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0000.jpg', '/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0000.jpg
/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0001.jpg
/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0002.jpg
/home/pi/Desktop/images/08012025/14/19/image_08012025_14_19_02_538307_0003.jpg
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0000.jpg
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_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":["1327472160","1327472162","1327472152","1327472155","1327472149","1327472158"],"photo_ids_order":["1327472149","1327472152","1327472155","1327472158","1327472160","1327472162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9dd155acbf17eae72d03e7bbcda3ce04.jpg","text":"TemporaryFile(/tmp/multipartBody6890106712475056991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_20_02_716590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/daa15382e1b2e2aba42aee885c8a0275.jpg","text":"TemporaryFile(/tmp/multipartBody9172298736352315994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_20_02_716590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/704bb0ffc62763beac0c353580a69dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4286940818648218406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_19_02_538307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d46ad008eb371a0e6f02163c322d539a.jpg","text":"TemporaryFile(/tmp/multipartBody4834262983235604452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_19_02_538307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/471d4d6658e43ce4935fc05fa303e755.jpg","text":"TemporaryFile(/tmp/multipartBody1143470266974782309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_19_02_538307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3bd14cfba2095769da9dede13e60ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody1530011294926494392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346097636,"filename":"image_08012025_14_19_02_538307_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472155","file1":"1327472152","file0":"1327472149","file4":"1327472160","file5":"1327472162","file3":"1327472158"},"map_files_photo_id_array":[{"photo_id":"1327472162","filename":"file5"},{"photo_id":"1327472155","filename":"file2"},{"photo_id":"1327472160","filename":"file4"},{"photo_id":"1327472152","filename":"file1"},{"photo_id":"1327472149","filename":"file0"},{"photo_id":"1327472158","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472160":["hashtag1","hashtag2"]},{"1327472162":["hashtag1","hashtag2"]},{"1327472152":["hashtag1","hashtag2"]},{"1327472155":["hashtag1","hashtag2"]},{"1327472149":["hashtag1","hashtag2"]},{"1327472158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472160, 1327472162, 1327472152, 1327472155, 1327472149, 1327472158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65744972229004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:21:21.791960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0002.jpg', '/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0003.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0000.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0001.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0002.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0002.jpg
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0003.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0000.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0001.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0002.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_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.718392133712769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:21:41.856367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0002.jpg', '/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0003.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0000.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0001.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0002.jpg', '/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0002.jpg
/home/pi/Desktop/images/08012025/14/20/image_08012025_14_20_02_716590_0003.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0000.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0001.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_0002.jpg
/home/pi/Desktop/images/08012025/14/21/image_08012025_14_21_02_894782_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":["1327472232","1327472217","1327472213","1327472236","1327472215","1327472199"],"photo_ids_order":["1327472199","1327472213","1327472215","1327472217","1327472232","1327472236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7bdce8011ab45f3c938b69ed8effa98e.jpg","text":"TemporaryFile(/tmp/multipartBody1255237252254865183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_21_02_894782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7f2367dd42f37e05d5a2980749940a9.jpg","text":"TemporaryFile(/tmp/multipartBody4234741919337201181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_21_02_894782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60932a7b16d7e5c1bff1fc3f06905619.jpg","text":"TemporaryFile(/tmp/multipartBody3367357187049660883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_20_02_716590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98c1f2c1e2439283bf4b9a35d581568d.jpg","text":"TemporaryFile(/tmp/multipartBody7401791616703853686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_21_02_894782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/315e07d96d0be7e62b263d945ec92210.jpg","text":"TemporaryFile(/tmp/multipartBody3332239778633204140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_21_02_894782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/131c501e7e0ee2a0460197ab98d5b5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2114231587376216808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346176986,"filename":"image_08012025_14_20_02_716590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472215","file1":"1327472213","file0":"1327472199","file4":"1327472232","file5":"1327472236","file3":"1327472217"},"map_files_photo_id_array":[{"photo_id":"1327472236","filename":"file5"},{"photo_id":"1327472215","filename":"file2"},{"photo_id":"1327472232","filename":"file4"},{"photo_id":"1327472213","filename":"file1"},{"photo_id":"1327472199","filename":"file0"},{"photo_id":"1327472217","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472232":["hashtag1","hashtag2"]},{"1327472217":["hashtag1","hashtag2"]},{"1327472213":["hashtag1","hashtag2"]},{"1327472236":["hashtag1","hashtag2"]},{"1327472215":["hashtag1","hashtag2"]},{"1327472199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472232, 1327472217, 1327472213, 1327472236, 1327472215, 1327472199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48583245277405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:22:42.077753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0000.jpg', '/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0001.jpg', '/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0002.jpg', '/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0003.jpg', '/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0000.jpg', '/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0000.jpg
/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0001.jpg
/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0002.jpg
/home/pi/Desktop/images/08012025/14/22/image_08012025_14_22_03_171611_0003.jpg
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0000.jpg
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_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":["1327472303","1327472246","1327472306","1327472248","1327472302","1327472250"],"photo_ids_order":["1327472246","1327472248","1327472250","1327472302","1327472303","1327472306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9851f2682887710af269a120fee228cf.jpg","text":"TemporaryFile(/tmp/multipartBody9093787422266608701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_23_02_304345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f393fe96300813071dee4b6863f4f78.jpg","text":"TemporaryFile(/tmp/multipartBody781937415061374077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_22_03_171611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f6dd91ea1dce431bb86dfde2e762304.jpg","text":"TemporaryFile(/tmp/multipartBody901215746583154066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_23_02_304345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ff2ae4f1c4e41ae79fb8c01257a8f99.jpg","text":"TemporaryFile(/tmp/multipartBody243937011938342827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_22_03_171611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84f1cefd9c179c9d7754cba3e3db27fc.jpg","text":"TemporaryFile(/tmp/multipartBody227587707647479765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_22_03_171611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb18107b6a9b7aed4a0cb3df886fbf1c.jpg","text":"TemporaryFile(/tmp/multipartBody2826555975578921031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346237102,"filename":"image_08012025_14_22_03_171611_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472250","file1":"1327472248","file0":"1327472246","file4":"1327472303","file5":"1327472306","file3":"1327472302"},"map_files_photo_id_array":[{"photo_id":"1327472306","filename":"file5"},{"photo_id":"1327472250","filename":"file2"},{"photo_id":"1327472303","filename":"file4"},{"photo_id":"1327472248","filename":"file1"},{"photo_id":"1327472246","filename":"file0"},{"photo_id":"1327472302","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472303":["hashtag1","hashtag2"]},{"1327472246":["hashtag1","hashtag2"]},{"1327472306":["hashtag1","hashtag2"]},{"1327472248":["hashtag1","hashtag2"]},{"1327472302":["hashtag1","hashtag2"]},{"1327472250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472303, 1327472246, 1327472306, 1327472248, 1327472302, 1327472250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2775239944458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:23:42.233151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0002.jpg', '/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0003.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0000.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0001.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0002.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0002.jpg
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0003.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0000.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0001.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0002.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_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.769366025924683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:24:02.686859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0002.jpg', '/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0003.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0000.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0001.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0002.jpg', '/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0002.jpg
/home/pi/Desktop/images/08012025/14/23/image_08012025_14_23_02_304345_0003.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0000.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0001.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_0002.jpg
/home/pi/Desktop/images/08012025/14/24/image_08012025_14_24_02_492203_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":["1327472378","1327472345","1327472338","1327472425","1327472341","1327472382"],"photo_ids_order":["1327472338","1327472341","1327472345","1327472378","1327472382","1327472425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae5a63a38e67849e873a53beb4c64a10.jpg","text":"TemporaryFile(/tmp/multipartBody4848148948190903383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_24_02_492203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9008fbb9e83ca3baea9cb5f734393b0.jpg","text":"TemporaryFile(/tmp/multipartBody3297443091372660557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_24_02_492203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5eb4410516cf6a4b4e86bfdcffeb7b02.jpg","text":"TemporaryFile(/tmp/multipartBody6598038636228844392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_23_02_304345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0faf7150df421197e0981e3dcd64f9e.jpg","text":"TemporaryFile(/tmp/multipartBody5489838224087845714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_24_02_492203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1c52e981b40690fdd9369b5f1b91c03.jpg","text":"TemporaryFile(/tmp/multipartBody536117083573354204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_23_02_304345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d24ed5f962e1e4d04121c5a2ee5ab38.jpg","text":"TemporaryFile(/tmp/multipartBody1187724357808185574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346317886,"filename":"image_08012025_14_24_02_492203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472345","file1":"1327472341","file0":"1327472338","file4":"1327472382","file5":"1327472425","file3":"1327472378"},"map_files_photo_id_array":[{"photo_id":"1327472425","filename":"file5"},{"photo_id":"1327472345","filename":"file2"},{"photo_id":"1327472382","filename":"file4"},{"photo_id":"1327472341","filename":"file1"},{"photo_id":"1327472338","filename":"file0"},{"photo_id":"1327472378","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472378":["hashtag1","hashtag2"]},{"1327472345":["hashtag1","hashtag2"]},{"1327472338":["hashtag1","hashtag2"]},{"1327472425":["hashtag1","hashtag2"]},{"1327472341":["hashtag1","hashtag2"]},{"1327472382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472378, 1327472345, 1327472338, 1327472425, 1327472341, 1327472382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.470035552978516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:25:03.162327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0000.jpg', '/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0001.jpg', '/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0002.jpg', '/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0003.jpg', '/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0000.jpg', '/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0000.jpg
/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0001.jpg
/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0002.jpg
/home/pi/Desktop/images/08012025/14/25/image_08012025_14_25_02_702995_0003.jpg
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0000.jpg
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_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":["1327472456","1327472461","1327472458","1327472472","1327472454","1327472463"],"photo_ids_order":["1327472454","1327472456","1327472458","1327472461","1327472463","1327472472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89ae0a40634221bfadb2bb90daf0236f.jpg","text":"TemporaryFile(/tmp/multipartBody8762244639782270010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_25_02_702995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e18ec0c4d4c13303f833d454336769a.jpg","text":"TemporaryFile(/tmp/multipartBody8488945271718647879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_25_02_702995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0802912cdaef04d199947fd3b262f89.jpg","text":"TemporaryFile(/tmp/multipartBody843474485900772699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_25_02_702995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93d0004cd745468d249a366e0dee4c79.jpg","text":"TemporaryFile(/tmp/multipartBody2712044781174898977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_26_02_931784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa2c25c18ba8ab55be50134d5a9762a5.jpg","text":"TemporaryFile(/tmp/multipartBody3055496675335135270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_25_02_702995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88d0467d58e4e7c77f636a38a241b40c.jpg","text":"TemporaryFile(/tmp/multipartBody8824537177773255456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346378373,"filename":"image_08012025_14_26_02_931784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472458","file1":"1327472456","file0":"1327472454","file4":"1327472463","file5":"1327472472","file3":"1327472461"},"map_files_photo_id_array":[{"photo_id":"1327472472","filename":"file5"},{"photo_id":"1327472458","filename":"file2"},{"photo_id":"1327472463","filename":"file4"},{"photo_id":"1327472456","filename":"file1"},{"photo_id":"1327472454","filename":"file0"},{"photo_id":"1327472461","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472456":["hashtag1","hashtag2"]},{"1327472461":["hashtag1","hashtag2"]},{"1327472458":["hashtag1","hashtag2"]},{"1327472472":["hashtag1","hashtag2"]},{"1327472454":["hashtag1","hashtag2"]},{"1327472463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472456, 1327472461, 1327472458, 1327472472, 1327472454, 1327472463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88029861450195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:26:03.081603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0002.jpg', '/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0003.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0000.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0001.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0002.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0002.jpg
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0003.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0000.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0001.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0002.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.726659059524536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:26:22.818040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0002.jpg', '/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0003.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0000.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0001.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0002.jpg', '/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0002.jpg
/home/pi/Desktop/images/08012025/14/26/image_08012025_14_26_02_931784_0003.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0000.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0001.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_0002.jpg
/home/pi/Desktop/images/08012025/14/27/image_08012025_14_27_03_065764_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":["1327472505","1327472508","1327472510","1327472512","1327472515","1327472500"],"photo_ids_order":["1327472500","1327472505","1327472508","1327472510","1327472512","1327472515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d6617eaf67694ac2359b5b296df9cea.jpg","text":"TemporaryFile(/tmp/multipartBody4282999837364704663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_26_02_931784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26d9d1a70e3ff3acaed77e4260cb1f75.jpg","text":"TemporaryFile(/tmp/multipartBody3491725156802979369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_27_03_065764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/383b4ef0096722617c8dd02547ddd4d5.jpg","text":"TemporaryFile(/tmp/multipartBody2829376107860372429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_27_03_065764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8fd0a4cfbf5cbc361f3bc97fcdc6c70.jpg","text":"TemporaryFile(/tmp/multipartBody7098924327455409187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_27_03_065764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fed105a0544fc681f32ce312b778b345.jpg","text":"TemporaryFile(/tmp/multipartBody8108671345281892910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_27_03_065764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21fcd73e1158be235a1d80353981cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody6762622246941094571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346457897,"filename":"image_08012025_14_26_02_931784_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472508","file1":"1327472505","file0":"1327472500","file4":"1327472512","file5":"1327472515","file3":"1327472510"},"map_files_photo_id_array":[{"photo_id":"1327472515","filename":"file5"},{"photo_id":"1327472508","filename":"file2"},{"photo_id":"1327472512","filename":"file4"},{"photo_id":"1327472505","filename":"file1"},{"photo_id":"1327472500","filename":"file0"},{"photo_id":"1327472510","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472505":["hashtag1","hashtag2"]},{"1327472508":["hashtag1","hashtag2"]},{"1327472510":["hashtag1","hashtag2"]},{"1327472512":["hashtag1","hashtag2"]},{"1327472515":["hashtag1","hashtag2"]},{"1327472500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472505, 1327472508, 1327472510, 1327472512, 1327472515, 1327472500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.10691857337952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:27:21.927839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0000.jpg', '/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0001.jpg', '/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0002.jpg', '/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0003.jpg', '/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0000.jpg', '/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0000.jpg
/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0001.jpg
/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0002.jpg
/home/pi/Desktop/images/08012025/14/28/image_08012025_14_28_02_304326_0003.jpg
/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0000.jpg
/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_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":["1327472543","1327472552","1327472563","1327472557","1327472536","1327472566"],"photo_ids_order":["1327472536","1327472543","1327472552","1327472557","1327472563","1327472566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/223ff2b2b61e45c6d553cdba66889873.jpg","text":"TemporaryFile(/tmp/multipartBody4459064406049610137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_28_02_304326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c585d56548429eae3efd4f7b5c9d10af.jpg","text":"TemporaryFile(/tmp/multipartBody2291684403914940121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_28_02_304326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa452473189e371373b849de7dbc153c.jpg","text":"TemporaryFile(/tmp/multipartBody6867879319766458558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_29_02_368002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ba4ca6fe630a42903df492fdfab1b07.jpg","text":"TemporaryFile(/tmp/multipartBody2991387878608047753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_28_02_304326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/707303f39dd169b19310037c5892d21c.jpg","text":"TemporaryFile(/tmp/multipartBody1871206476069890430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_28_02_304326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/762615ceffeefbd702b65db86c7c089c.jpg","text":"TemporaryFile(/tmp/multipartBody3849490338491964260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346516984,"filename":"image_08012025_14_29_02_368002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472552","file1":"1327472543","file0":"1327472536","file4":"1327472563","file5":"1327472566","file3":"1327472557"},"map_files_photo_id_array":[{"photo_id":"1327472566","filename":"file5"},{"photo_id":"1327472552","filename":"file2"},{"photo_id":"1327472563","filename":"file4"},{"photo_id":"1327472543","filename":"file1"},{"photo_id":"1327472536","filename":"file0"},{"photo_id":"1327472557","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472543":["hashtag1","hashtag2"]},{"1327472552":["hashtag1","hashtag2"]},{"1327472563":["hashtag1","hashtag2"]},{"1327472557":["hashtag1","hashtag2"]},{"1327472536":["hashtag1","hashtag2"]},{"1327472566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472543, 1327472552, 1327472563, 1327472557, 1327472536, 1327472566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51131749153137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:28:22.137728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0002.jpg', '/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0003.jpg', '/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0000.jpg', '/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0001.jpg', '/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0002.jpg', '/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0002.jpg
/home/pi/Desktop/images/08012025/14/29/image_08012025_14_29_02_368002_0003.jpg
/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0000.jpg
/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0001.jpg
/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_0002.jpg
/home/pi/Desktop/images/08012025/14/30/image_08012025_14_30_02_639805_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":["1327472588","1327472597","1327472591","1327472599","1327472603","1327472580"],"photo_ids_order":["1327472580","1327472588","1327472591","1327472597","1327472599","1327472603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17401088536e526bff6f2fe6c29b695b.jpg","text":"TemporaryFile(/tmp/multipartBody2546149171679506649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_29_02_368002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0166a9f9b241c232fd9aa0cb64c90c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6788976508703562906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_30_02_639805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c85a2c957f10527034ddd22f04566bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7579872207270299413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_30_02_639805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d45f32d641c2ee61729b7f49966eaab7.jpg","text":"TemporaryFile(/tmp/multipartBody2655357283177746278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_30_02_639805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cc258544db2a670f1b3cf435bbfcbf3.jpg","text":"TemporaryFile(/tmp/multipartBody6279172205093247667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_30_02_639805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a22e3b2e11afb669e56740bb6d13e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7141289847613598723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346577303,"filename":"image_08012025_14_29_02_368002_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472591","file1":"1327472588","file0":"1327472580","file4":"1327472599","file5":"1327472603","file3":"1327472597"},"map_files_photo_id_array":[{"photo_id":"1327472603","filename":"file5"},{"photo_id":"1327472591","filename":"file2"},{"photo_id":"1327472599","filename":"file4"},{"photo_id":"1327472588","filename":"file1"},{"photo_id":"1327472580","filename":"file0"},{"photo_id":"1327472597","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472588":["hashtag1","hashtag2"]},{"1327472597":["hashtag1","hashtag2"]},{"1327472591":["hashtag1","hashtag2"]},{"1327472599":["hashtag1","hashtag2"]},{"1327472603":["hashtag1","hashtag2"]},{"1327472580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472588, 1327472597, 1327472591, 1327472599, 1327472603, 1327472580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10027194023132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:29:22.257532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0000.jpg', '/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0001.jpg', '/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0002.jpg', '/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0003.jpg', '/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0000.jpg', '/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0000.jpg
/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0001.jpg
/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0002.jpg
/home/pi/Desktop/images/08012025/14/31/image_08012025_14_31_02_777792_0003.jpg
/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0000.jpg
/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_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":["1327472721","1327472631","1327472723","1327472629","1327472640","1327472634"],"photo_ids_order":["1327472629","1327472631","1327472634","1327472640","1327472721","1327472723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6069f06d63ab42e3646c3ab96993bcda.jpg","text":"TemporaryFile(/tmp/multipartBody7666536645664806602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_32_03_009903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6830c8c312ff89219157dd999eb68e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3648296900431219770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_31_02_777792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aaf456e558190c8daa0fab9261beb897.jpg","text":"TemporaryFile(/tmp/multipartBody1789673441753957494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_32_03_009903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1056a3626584f52b3de89519f7643a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1234140955427462428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_31_02_777792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f24f9d00558dac88e6d5211d838901be.jpg","text":"TemporaryFile(/tmp/multipartBody5789748465094357111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_31_02_777792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c76ed0459a98150678536445fb976f81.jpg","text":"TemporaryFile(/tmp/multipartBody1278658025098224740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346637296,"filename":"image_08012025_14_31_02_777792_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472634","file1":"1327472631","file0":"1327472629","file4":"1327472721","file5":"1327472723","file3":"1327472640"},"map_files_photo_id_array":[{"photo_id":"1327472723","filename":"file5"},{"photo_id":"1327472634","filename":"file2"},{"photo_id":"1327472721","filename":"file4"},{"photo_id":"1327472631","filename":"file1"},{"photo_id":"1327472629","filename":"file0"},{"photo_id":"1327472640","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472721":["hashtag1","hashtag2"]},{"1327472631":["hashtag1","hashtag2"]},{"1327472723":["hashtag1","hashtag2"]},{"1327472629":["hashtag1","hashtag2"]},{"1327472640":["hashtag1","hashtag2"]},{"1327472634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472721, 1327472631, 1327472723, 1327472629, 1327472640, 1327472634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20541286468506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:30:22.512133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0002.jpg', '/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0003.jpg', '/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0000.jpg', '/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0001.jpg', '/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0002.jpg', '/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0002.jpg
/home/pi/Desktop/images/08012025/14/32/image_08012025_14_32_03_009903_0003.jpg
/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0000.jpg
/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0001.jpg
/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_0002.jpg
/home/pi/Desktop/images/08012025/14/33/image_08012025_14_33_02_148184_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":["1327472774","1327472777","1327472770","1327472763","1327472772","1327472766"],"photo_ids_order":["1327472763","1327472766","1327472770","1327472772","1327472774","1327472777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8c82ebed675f22d12abc54e48b36b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8408727794295834181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_33_02_148184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/706c80dcf0d79a672fbebda0a1297a38.jpg","text":"TemporaryFile(/tmp/multipartBody7586873946554429464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_33_02_148184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2253e3203ea3cce2160ef79410dcfa9f.jpg","text":"TemporaryFile(/tmp/multipartBody1049644559724545044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_33_02_148184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae6f4e971dd23dfd03c96932d5995f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8466155922645436330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_32_03_009903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3569d5d1e8d45dc774a7dfa60650d4f3.jpg","text":"TemporaryFile(/tmp/multipartBody632584244590513747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_33_02_148184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efabd8b84bfb573e494defa66b87daf4.jpg","text":"TemporaryFile(/tmp/multipartBody3267809779911330798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346697563,"filename":"image_08012025_14_32_03_009903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472770","file1":"1327472766","file0":"1327472763","file4":"1327472774","file5":"1327472777","file3":"1327472772"},"map_files_photo_id_array":[{"photo_id":"1327472777","filename":"file5"},{"photo_id":"1327472770","filename":"file2"},{"photo_id":"1327472774","filename":"file4"},{"photo_id":"1327472766","filename":"file1"},{"photo_id":"1327472763","filename":"file0"},{"photo_id":"1327472772","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472774":["hashtag1","hashtag2"]},{"1327472777":["hashtag1","hashtag2"]},{"1327472770":["hashtag1","hashtag2"]},{"1327472763":["hashtag1","hashtag2"]},{"1327472772":["hashtag1","hashtag2"]},{"1327472766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472774, 1327472777, 1327472770, 1327472763, 1327472772, 1327472766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14199233055115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:31:22.618094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0000.jpg', '/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0001.jpg', '/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0002.jpg', '/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0003.jpg', '/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0000.jpg', '/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0000.jpg
/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0001.jpg
/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0002.jpg
/home/pi/Desktop/images/08012025/14/34/image_08012025_14_34_02_331584_0003.jpg
/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0000.jpg
/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_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":["1327472786","1327472801","1327472803","1327472806","1327472799","1327472784"],"photo_ids_order":["1327472784","1327472786","1327472799","1327472801","1327472803","1327472806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37979d8177bb696ac967f3c5734ce99a.jpg","text":"TemporaryFile(/tmp/multipartBody2211928114408777688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_34_02_331584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aefc3ad6fcf1c5df43005a10d9fd7a36.jpg","text":"TemporaryFile(/tmp/multipartBody1942790660556450704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_34_02_331584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37fc357b28c9d9cd601608a7f0b9924f.jpg","text":"TemporaryFile(/tmp/multipartBody232610149029349028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_35_02_555928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a44402b3af7931e763f77c5adf25e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5819671927142716739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_35_02_555928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9735e737a15406be6d736c289bcfbc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8414550432230247348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_34_02_331584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3abe1f3499ed5470d7214b8061cec4c5.jpg","text":"TemporaryFile(/tmp/multipartBody771725091341617858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346757632,"filename":"image_08012025_14_34_02_331584_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327472799","file1":"1327472786","file0":"1327472784","file4":"1327472803","file5":"1327472806","file3":"1327472801"},"map_files_photo_id_array":[{"photo_id":"1327472806","filename":"file5"},{"photo_id":"1327472799","filename":"file2"},{"photo_id":"1327472803","filename":"file4"},{"photo_id":"1327472786","filename":"file1"},{"photo_id":"1327472784","filename":"file0"},{"photo_id":"1327472801","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327472786":["hashtag1","hashtag2"]},{"1327472801":["hashtag1","hashtag2"]},{"1327472803":["hashtag1","hashtag2"]},{"1327472806":["hashtag1","hashtag2"]},{"1327472799":["hashtag1","hashtag2"]},{"1327472784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327472786, 1327472801, 1327472803, 1327472806, 1327472799, 1327472784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.132033586502075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:32:21.871341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0002.jpg', '/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0003.jpg', '/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0000.jpg', '/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0001.jpg', '/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0002.jpg', '/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0002.jpg
/home/pi/Desktop/images/08012025/14/35/image_08012025_14_35_02_555928_0003.jpg
/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0000.jpg
/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0001.jpg
/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_0002.jpg
/home/pi/Desktop/images/08012025/14/36/image_08012025_14_36_02_717042_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":["1327473071","1327473044","1327473052","1327473037","1327473081","1327473012"],"photo_ids_order":["1327473012","1327473037","1327473044","1327473052","1327473071","1327473081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ddc5c4c508056a72001890637787c33.jpg","text":"TemporaryFile(/tmp/multipartBody745005254635151843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_36_02_717042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/326f0758a89143356d602048253cd8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5782634520003309390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_36_02_717042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2183035a5e06093a93295358b6fcbee2.jpg","text":"TemporaryFile(/tmp/multipartBody81495850336275255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_36_02_717042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff88425f3915b07a82029ab221f20763.jpg","text":"TemporaryFile(/tmp/multipartBody395005142061230437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_35_02_555928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b56c0b28d7b413894ae232cb17160cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8390584273840855592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_36_02_717042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6918219d88bf97035f60c43b9f11c833.jpg","text":"TemporaryFile(/tmp/multipartBody4966894518163199626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346817062,"filename":"image_08012025_14_35_02_555928_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473044","file1":"1327473037","file0":"1327473012","file4":"1327473071","file5":"1327473081","file3":"1327473052"},"map_files_photo_id_array":[{"photo_id":"1327473081","filename":"file5"},{"photo_id":"1327473044","filename":"file2"},{"photo_id":"1327473071","filename":"file4"},{"photo_id":"1327473037","filename":"file1"},{"photo_id":"1327473012","filename":"file0"},{"photo_id":"1327473052","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473071":["hashtag1","hashtag2"]},{"1327473044":["hashtag1","hashtag2"]},{"1327473052":["hashtag1","hashtag2"]},{"1327473037":["hashtag1","hashtag2"]},{"1327473081":["hashtag1","hashtag2"]},{"1327473012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473071, 1327473044, 1327473052, 1327473037, 1327473081, 1327473012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.752984046936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:33:22.025991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0000.jpg', '/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0001.jpg', '/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0002.jpg', '/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0003.jpg', '/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0000.jpg', '/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0000.jpg
/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0001.jpg
/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0002.jpg
/home/pi/Desktop/images/08012025/14/37/image_08012025_14_37_02_822722_0003.jpg
/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0000.jpg
/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_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":["1327473164","1327473152","1327473149","1327473142","1327473151","1327473139"],"photo_ids_order":["1327473139","1327473142","1327473149","1327473151","1327473152","1327473164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6c1a521a6299c77bea34b37877c1d40.jpg","text":"TemporaryFile(/tmp/multipartBody4826567355859935832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_38_03_081444_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c17dcf90754d8767d59ea03a22c6bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody5753651172357808285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_38_03_081444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/741a75280a8fbcf2cd8fe5ac9b538bcf.jpg","text":"TemporaryFile(/tmp/multipartBody9033238720199565968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_37_02_822722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/175636e61002935f9d238e9aa63da089.jpg","text":"TemporaryFile(/tmp/multipartBody4205116143022917937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_37_02_822722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d961c103b4c03f9bff692c4769713bf.jpg","text":"TemporaryFile(/tmp/multipartBody2475746710821332578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_37_02_822722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60bf4036a9e36ce83a6a22dd26deef49.jpg","text":"TemporaryFile(/tmp/multipartBody1505025916294885378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346877205,"filename":"image_08012025_14_37_02_822722_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473149","file1":"1327473142","file0":"1327473139","file4":"1327473152","file5":"1327473164","file3":"1327473151"},"map_files_photo_id_array":[{"photo_id":"1327473164","filename":"file5"},{"photo_id":"1327473149","filename":"file2"},{"photo_id":"1327473152","filename":"file4"},{"photo_id":"1327473142","filename":"file1"},{"photo_id":"1327473139","filename":"file0"},{"photo_id":"1327473151","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473164":["hashtag1","hashtag2"]},{"1327473152":["hashtag1","hashtag2"]},{"1327473149":["hashtag1","hashtag2"]},{"1327473142":["hashtag1","hashtag2"]},{"1327473151":["hashtag1","hashtag2"]},{"1327473139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473164, 1327473152, 1327473149, 1327473142, 1327473151, 1327473139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.2992947101593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:34:22.210208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0002.jpg', '/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0003.jpg', '/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0000.jpg', '/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0001.jpg', '/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0002.jpg', '/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0002.jpg
/home/pi/Desktop/images/08012025/14/38/image_08012025_14_38_03_081444_0003.jpg
/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0000.jpg
/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0001.jpg
/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_0002.jpg
/home/pi/Desktop/images/08012025/14/39/image_08012025_14_39_02_195867_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":["1327473284","1327473263","1327473308","1327473310","1327473291","1327473270"],"photo_ids_order":["1327473263","1327473270","1327473284","1327473291","1327473308","1327473310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82fbe39444709bb8a9b220e0de305223.jpg","text":"TemporaryFile(/tmp/multipartBody6711733053643321416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_39_02_195867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef26dc7beb2bcd0ffd3bb194836c5fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1940423555841837625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_38_03_081444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df2eb6e3a52b1d05a1557bad93376157.jpg","text":"TemporaryFile(/tmp/multipartBody5944482293644212482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_39_02_195867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fe920eff948f90cb9d5b8e3c288f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4930386949524526238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_39_02_195867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf75a08c365df17813f28e37a8d1e728.jpg","text":"TemporaryFile(/tmp/multipartBody3255714251819925795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_39_02_195867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5267598df8451a10126e7f7f581136da.jpg","text":"TemporaryFile(/tmp/multipartBody5213764280574333985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346937390,"filename":"image_08012025_14_38_03_081444_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473284","file1":"1327473270","file0":"1327473263","file4":"1327473308","file5":"1327473310","file3":"1327473291"},"map_files_photo_id_array":[{"photo_id":"1327473310","filename":"file5"},{"photo_id":"1327473284","filename":"file2"},{"photo_id":"1327473308","filename":"file4"},{"photo_id":"1327473270","filename":"file1"},{"photo_id":"1327473263","filename":"file0"},{"photo_id":"1327473291","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473284":["hashtag1","hashtag2"]},{"1327473263":["hashtag1","hashtag2"]},{"1327473308":["hashtag1","hashtag2"]},{"1327473310":["hashtag1","hashtag2"]},{"1327473291":["hashtag1","hashtag2"]},{"1327473270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473284, 1327473263, 1327473308, 1327473310, 1327473291, 1327473270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03065323829651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:35:22.444362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0000.jpg', '/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0001.jpg', '/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0002.jpg', '/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0003.jpg', '/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0000.jpg', '/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0000.jpg
/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0001.jpg
/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0002.jpg
/home/pi/Desktop/images/08012025/14/40/image_08012025_14_40_02_344955_0003.jpg
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0000.jpg
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_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":["1327473377","1327473350","1327473379","1327473352","1327473348","1327473345"],"photo_ids_order":["1327473345","1327473348","1327473350","1327473352","1327473377","1327473379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ec3b853b83700990aa1f0eca65f0a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3649690619779789128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_41_02_620111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/410ce52f4b4388b844037a6a7370d5a2.jpg","text":"TemporaryFile(/tmp/multipartBody112379903063239394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_40_02_344955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80056510350873f00d14a0259e2ffc28.jpg","text":"TemporaryFile(/tmp/multipartBody5198437705354574281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_41_02_620111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99b1b11e8281e2b722157a48abab85a0.jpg","text":"TemporaryFile(/tmp/multipartBody8956762423325193415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_40_02_344955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc4c6334d47da552c5dba629abb4cdee.jpg","text":"TemporaryFile(/tmp/multipartBody1227886343734907230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_40_02_344955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05f24cfd921293373bfeb4ad76f2f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1333263173010682916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736346997351,"filename":"image_08012025_14_40_02_344955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473350","file1":"1327473348","file0":"1327473345","file4":"1327473377","file5":"1327473379","file3":"1327473352"},"map_files_photo_id_array":[{"photo_id":"1327473379","filename":"file5"},{"photo_id":"1327473350","filename":"file2"},{"photo_id":"1327473377","filename":"file4"},{"photo_id":"1327473348","filename":"file1"},{"photo_id":"1327473345","filename":"file0"},{"photo_id":"1327473352","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473377":["hashtag1","hashtag2"]},{"1327473350":["hashtag1","hashtag2"]},{"1327473379":["hashtag1","hashtag2"]},{"1327473352":["hashtag1","hashtag2"]},{"1327473348":["hashtag1","hashtag2"]},{"1327473345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473377, 1327473350, 1327473379, 1327473352, 1327473348, 1327473345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.366557359695435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:36:22.547119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0002.jpg', '/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0003.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0000.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0001.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0002.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0002.jpg
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0003.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0000.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0001.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0002.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_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.74910593032837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:36:42.579810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0002.jpg', '/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0003.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0000.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0001.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0002.jpg', '/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0002.jpg
/home/pi/Desktop/images/08012025/14/41/image_08012025_14_41_02_620111_0003.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0000.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0001.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_0002.jpg
/home/pi/Desktop/images/08012025/14/42/image_08012025_14_42_02_723389_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":["1327473452","1327473428","1327473457","1327473445","1327473462","1327473438"],"photo_ids_order":["1327473428","1327473438","1327473445","1327473452","1327473457","1327473462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5be118ac4cab3e25393b62ac06c6c23.jpg","text":"TemporaryFile(/tmp/multipartBody5732851683465352949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_42_02_723389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75897f8e7d503708c557cc68a78808e7.jpg","text":"TemporaryFile(/tmp/multipartBody2368697984395857046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_41_02_620111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa3efdc5001445cc7a1d4df7aa777002.jpg","text":"TemporaryFile(/tmp/multipartBody8258841123091574802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_42_02_723389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9419760bc9d00b5a645750b79ef2194c.jpg","text":"TemporaryFile(/tmp/multipartBody1287936455437308113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_42_02_723389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46ad89cdb9a130457f99efefd8fe372e.jpg","text":"TemporaryFile(/tmp/multipartBody4530033666614666430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_42_02_723389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6cb754486f8bd62ba96d61db40e7c64.jpg","text":"TemporaryFile(/tmp/multipartBody6428023443150146917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347077700,"filename":"image_08012025_14_41_02_620111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473445","file1":"1327473438","file0":"1327473428","file4":"1327473457","file5":"1327473462","file3":"1327473452"},"map_files_photo_id_array":[{"photo_id":"1327473462","filename":"file5"},{"photo_id":"1327473445","filename":"file2"},{"photo_id":"1327473457","filename":"file4"},{"photo_id":"1327473438","filename":"file1"},{"photo_id":"1327473428","filename":"file0"},{"photo_id":"1327473452","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473452":["hashtag1","hashtag2"]},{"1327473428":["hashtag1","hashtag2"]},{"1327473457":["hashtag1","hashtag2"]},{"1327473445":["hashtag1","hashtag2"]},{"1327473462":["hashtag1","hashtag2"]},{"1327473438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473452, 1327473428, 1327473457, 1327473445, 1327473462, 1327473438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87525391578674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 15:37:42.763447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0000.jpg', '/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0001.jpg', '/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0002.jpg', '/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0003.jpg', '/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0000.jpg', '/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0000.jpg
/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0001.jpg
/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0002.jpg
/home/pi/Desktop/images/08012025/14/43/image_08012025_14_43_02_877086_0003.jpg
/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0000.jpg
/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_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":["1327473521","1327473520","1327473526","1327473508","1327473516","1327473504"],"photo_ids_order":["1327473504","1327473508","1327473516","1327473520","1327473521","1327473526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9130172016d205aa4e2740ad3b8eb9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7131893298265556693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_44_03_077873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49072d5879b8ebf358d47c9974113876.jpg","text":"TemporaryFile(/tmp/multipartBody2414481367690960271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_43_02_877086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e45656c340c7845f6b5fb49b9cad17fc.jpg","text":"TemporaryFile(/tmp/multipartBody7281608861544097096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_44_03_077873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d9e58960e69b34cbca408e92805279e.jpg","text":"TemporaryFile(/tmp/multipartBody1635532209295674667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_43_02_877086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbdc51cdd5374e37a2e9370941f62213.jpg","text":"TemporaryFile(/tmp/multipartBody7839146835579468771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_43_02_877086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee52b3db0ea60ed90db63565a939fc4d.jpg","text":"TemporaryFile(/tmp/multipartBody7567067211724279641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347138019,"filename":"image_08012025_14_43_02_877086_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473516","file1":"1327473508","file0":"1327473504","file4":"1327473521","file5":"1327473526","file3":"1327473520"},"map_files_photo_id_array":[{"photo_id":"1327473526","filename":"file5"},{"photo_id":"1327473516","filename":"file2"},{"photo_id":"1327473521","filename":"file4"},{"photo_id":"1327473508","filename":"file1"},{"photo_id":"1327473504","filename":"file0"},{"photo_id":"1327473520","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473521":["hashtag1","hashtag2"]},{"1327473520":["hashtag1","hashtag2"]},{"1327473526":["hashtag1","hashtag2"]},{"1327473508":["hashtag1","hashtag2"]},{"1327473516":["hashtag1","hashtag2"]},{"1327473504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473521, 1327473520, 1327473526, 1327473508, 1327473516, 1327473504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.90469026565552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:38:51.794589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0002.jpg', '/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0003.jpg', '/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0000.jpg', '/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0001.jpg', '/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0002.jpg', '/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0002.jpg
/home/pi/Desktop/images/08012025/14/44/image_08012025_14_44_03_077873_0003.jpg
/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0000.jpg
/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0001.jpg
/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_0002.jpg
/home/pi/Desktop/images/08012025/14/45/image_08012025_14_45_02_174753_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":["1327473695","1327473680","1327473677","1327473679","1327473709","1327473700"],"photo_ids_order":["1327473677","1327473679","1327473680","1327473695","1327473700","1327473709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe533434739b52adaa49a6b2605bb9be.jpg","text":"TemporaryFile(/tmp/multipartBody6309635537480476449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_45_02_174753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eec3044398709fe629b56c2936a1eb73.jpg","text":"TemporaryFile(/tmp/multipartBody1044872876900561053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_45_02_174753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5f1f86f7acf9a769eb8a9a054bc72bd.jpg","text":"TemporaryFile(/tmp/multipartBody2404670618710998587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_44_03_077873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3c15f5b84de7c151f868ab1a3b02265.jpg","text":"TemporaryFile(/tmp/multipartBody4501311435913229238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_44_03_077873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c1b2f5503deae05fb17dc05aa11d757.jpg","text":"TemporaryFile(/tmp/multipartBody3557652875559971807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_45_02_174753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2eb90a465f9ecc0de35a2a45943834b.jpg","text":"TemporaryFile(/tmp/multipartBody7083493548488508223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347207012,"filename":"image_08012025_14_45_02_174753_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473680","file1":"1327473679","file0":"1327473677","file4":"1327473700","file5":"1327473709","file3":"1327473695"},"map_files_photo_id_array":[{"photo_id":"1327473709","filename":"file5"},{"photo_id":"1327473680","filename":"file2"},{"photo_id":"1327473700","filename":"file4"},{"photo_id":"1327473679","filename":"file1"},{"photo_id":"1327473677","filename":"file0"},{"photo_id":"1327473695","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473695":["hashtag1","hashtag2"]},{"1327473680":["hashtag1","hashtag2"]},{"1327473677":["hashtag1","hashtag2"]},{"1327473679":["hashtag1","hashtag2"]},{"1327473709":["hashtag1","hashtag2"]},{"1327473700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473695, 1327473680, 1327473677, 1327473679, 1327473709, 1327473700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.084163188934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:39:51.970278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0000.jpg', '/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0001.jpg', '/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0002.jpg', '/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0003.jpg', '/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0001.jpg', '/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0000.jpg
/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0001.jpg
/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0002.jpg
/home/pi/Desktop/images/08012025/14/46/image_08012025_14_46_02_484585_0003.jpg
/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0001.jpg
/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327473761","1327473725","1327473751","1327473756","1327473753","1327473764"],"photo_ids_order":["1327473725","1327473751","1327473753","1327473756","1327473761","1327473764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc3a67532c62272feceb048474a01d1d.jpg","text":"TemporaryFile(/tmp/multipartBody4267965738901961414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_47_02_653466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b396d0006b07b892c9f14c09b929bf53.jpg","text":"TemporaryFile(/tmp/multipartBody8979656140135224732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_46_02_484585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3776dea1affa9d5204b1f9c5cd028214.jpg","text":"TemporaryFile(/tmp/multipartBody8186609405677666267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_46_02_484585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6e0ce63ef3748f43c748832d2da6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2619315241025237175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_46_02_484585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9e68833491daa6ae51d583cef6875ad.jpg","text":"TemporaryFile(/tmp/multipartBody6048472628677825800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_46_02_484585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/164fa2dc9c9736720cf4a7e442afa56c.jpg","text":"TemporaryFile(/tmp/multipartBody7177283307687972194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347267147,"filename":"image_08012025_14_47_02_653466_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473753","file1":"1327473751","file0":"1327473725","file4":"1327473761","file5":"1327473764","file3":"1327473756"},"map_files_photo_id_array":[{"photo_id":"1327473764","filename":"file5"},{"photo_id":"1327473753","filename":"file2"},{"photo_id":"1327473761","filename":"file4"},{"photo_id":"1327473751","filename":"file1"},{"photo_id":"1327473725","filename":"file0"},{"photo_id":"1327473756","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473761":["hashtag1","hashtag2"]},{"1327473725":["hashtag1","hashtag2"]},{"1327473751":["hashtag1","hashtag2"]},{"1327473756":["hashtag1","hashtag2"]},{"1327473753":["hashtag1","hashtag2"]},{"1327473764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473761, 1327473725, 1327473751, 1327473756, 1327473753, 1327473764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.0398952960968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:40:52.132856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0003.jpg', '/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0000.jpg', '/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0001.jpg', '/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0002.jpg', '/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0003.jpg', '/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/47/image_08012025_14_47_02_653466_0003.jpg
/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0000.jpg
/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0001.jpg
/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0002.jpg
/home/pi/Desktop/images/08012025/14/48/image_08012025_14_48_02_852393_0003.jpg
/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_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":["1327473824","1327473798","1327473840","1327473843","1327473834","1327473828"],"photo_ids_order":["1327473798","1327473824","1327473828","1327473834","1327473840","1327473843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16a25a634a9598101e4cf89cb4e018e7.jpg","text":"TemporaryFile(/tmp/multipartBody5026416846247326627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_48_02_852393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e905ffd48145c5bbdf8bef2f8a96bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8422808714261231762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_47_02_653466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/09cd1499f66d986a3f1ee320cb634ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4725863349430682404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_48_02_852393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91ea455d6863d4fc088e5853ceb209a5.jpg","text":"TemporaryFile(/tmp/multipartBody5352191686770780258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_49_03_042777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/997a6e73bd043682958456b4835618ab.jpg","text":"TemporaryFile(/tmp/multipartBody6251471419795673024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_48_02_852393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c769640627417540a4a8a286c06a030.jpg","text":"TemporaryFile(/tmp/multipartBody2027384516715159029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347327248,"filename":"image_08012025_14_48_02_852393_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473828","file1":"1327473824","file0":"1327473798","file4":"1327473840","file5":"1327473843","file3":"1327473834"},"map_files_photo_id_array":[{"photo_id":"1327473843","filename":"file5"},{"photo_id":"1327473828","filename":"file2"},{"photo_id":"1327473840","filename":"file4"},{"photo_id":"1327473824","filename":"file1"},{"photo_id":"1327473798","filename":"file0"},{"photo_id":"1327473834","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473824":["hashtag1","hashtag2"]},{"1327473798":["hashtag1","hashtag2"]},{"1327473840":["hashtag1","hashtag2"]},{"1327473843":["hashtag1","hashtag2"]},{"1327473834":["hashtag1","hashtag2"]},{"1327473828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473824, 1327473798, 1327473840, 1327473843, 1327473834, 1327473828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78855848312378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:41:52.349040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0001.jpg', '/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0002.jpg', '/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0003.jpg', '/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0000.jpg', '/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0001.jpg', '/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0001.jpg
/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0002.jpg
/home/pi/Desktop/images/08012025/14/49/image_08012025_14_49_03_042777_0003.jpg
/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0000.jpg
/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0001.jpg
/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327473893","1327473902","1327473910","1327473894","1327473906","1327473890"],"photo_ids_order":["1327473890","1327473893","1327473894","1327473902","1327473906","1327473910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f56a5febcb1af6afb53d270bf9d340e.jpg","text":"TemporaryFile(/tmp/multipartBody3290101143114822893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_49_03_042777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/099f019991048c6998b2f990297a6631.jpg","text":"TemporaryFile(/tmp/multipartBody3938988967736350221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_50_02_243561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/754b0ba9e91123384ab8511c696218fb.jpg","text":"TemporaryFile(/tmp/multipartBody6445272293312180998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_50_02_243561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba8f8009f2d62040d0b46aabc3c91f49.jpg","text":"TemporaryFile(/tmp/multipartBody4075699538912914592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_49_03_042777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/446f39f13f6a179bc28e92aa70f636d5.jpg","text":"TemporaryFile(/tmp/multipartBody7554969007152986450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_50_02_243561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ad4c538b6921e5c0011532f15b8c3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7433235258482770769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347387429,"filename":"image_08012025_14_49_03_042777_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473894","file1":"1327473893","file0":"1327473890","file4":"1327473906","file5":"1327473910","file3":"1327473902"},"map_files_photo_id_array":[{"photo_id":"1327473910","filename":"file5"},{"photo_id":"1327473894","filename":"file2"},{"photo_id":"1327473906","filename":"file4"},{"photo_id":"1327473893","filename":"file1"},{"photo_id":"1327473890","filename":"file0"},{"photo_id":"1327473902","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473893":["hashtag1","hashtag2"]},{"1327473902":["hashtag1","hashtag2"]},{"1327473910":["hashtag1","hashtag2"]},{"1327473894":["hashtag1","hashtag2"]},{"1327473906":["hashtag1","hashtag2"]},{"1327473890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473893, 1327473902, 1327473910, 1327473894, 1327473906, 1327473890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.925387144088745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:42:52.554633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0003.jpg', '/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0000.jpg', '/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0001.jpg', '/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0002.jpg', '/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0003.jpg', '/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/50/image_08012025_14_50_02_243561_0003.jpg
/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0000.jpg
/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0001.jpg
/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0002.jpg
/home/pi/Desktop/images/08012025/14/51/image_08012025_14_51_02_544922_0003.jpg
/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_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":["1327473944","1327473935","1327473958","1327473937","1327473952","1327473948"],"photo_ids_order":["1327473935","1327473937","1327473944","1327473948","1327473952","1327473958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b7828494fa9a094718a42dfbea96340.jpg","text":"TemporaryFile(/tmp/multipartBody7349381760052350979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_51_02_544922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/538d9dbc4ef8419566217ca2714b93e0.jpg","text":"TemporaryFile(/tmp/multipartBody424076158950642406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_50_02_243561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05ad628ab9713145f0d4ef2bee4e7f15.jpg","text":"TemporaryFile(/tmp/multipartBody4245336127015847098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_52_02_732285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b104b6d04150353f620a003eee64663.jpg","text":"TemporaryFile(/tmp/multipartBody1396400869358668029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_51_02_544922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08d6a7ad77eefd4790ec883c8246665b.jpg","text":"TemporaryFile(/tmp/multipartBody3069083353955287146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_51_02_544922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a7abe4f466921387f5868eeb124fe43.jpg","text":"TemporaryFile(/tmp/multipartBody648542299373352354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347447763,"filename":"image_08012025_14_51_02_544922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327473944","file1":"1327473937","file0":"1327473935","file4":"1327473952","file5":"1327473958","file3":"1327473948"},"map_files_photo_id_array":[{"photo_id":"1327473958","filename":"file5"},{"photo_id":"1327473944","filename":"file2"},{"photo_id":"1327473952","filename":"file4"},{"photo_id":"1327473937","filename":"file1"},{"photo_id":"1327473935","filename":"file0"},{"photo_id":"1327473948","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327473944":["hashtag1","hashtag2"]},{"1327473935":["hashtag1","hashtag2"]},{"1327473958":["hashtag1","hashtag2"]},{"1327473937":["hashtag1","hashtag2"]},{"1327473952":["hashtag1","hashtag2"]},{"1327473948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327473944, 1327473935, 1327473958, 1327473937, 1327473952, 1327473948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.16443157196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:43:52.735318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0001.jpg', '/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0002.jpg', '/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0003.jpg', '/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0000.jpg', '/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0001.jpg', '/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0001.jpg
/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0002.jpg
/home/pi/Desktop/images/08012025/14/52/image_08012025_14_52_02_732285_0003.jpg
/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0000.jpg
/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0001.jpg
/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474037","1327474033","1327474000","1327474041","1327474005","1327474046"],"photo_ids_order":["1327474000","1327474005","1327474033","1327474037","1327474041","1327474046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/209ef3164182c43d0a9c27676ac31d44.jpg","text":"TemporaryFile(/tmp/multipartBody4474887434308177142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_53_02_874064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d54f4d4ddc34beb7ddc310a2152202c.jpg","text":"TemporaryFile(/tmp/multipartBody791396221312418559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_52_02_732285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd534fd9630325724a924d6fdbfc73f3.jpg","text":"TemporaryFile(/tmp/multipartBody3173969519135619887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_52_02_732285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55baf8da91688d88f085e3189f600b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7170878416500359118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_53_02_874064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12858cf359a55d2ebb74977e4dbcbd2a.jpg","text":"TemporaryFile(/tmp/multipartBody2432456430548347607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_52_02_732285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b7546aa18f20b4fa9d292d31d1eb30b.jpg","text":"TemporaryFile(/tmp/multipartBody6279870823772675082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347507881,"filename":"image_08012025_14_53_02_874064_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474033","file1":"1327474005","file0":"1327474000","file4":"1327474041","file5":"1327474046","file3":"1327474037"},"map_files_photo_id_array":[{"photo_id":"1327474046","filename":"file5"},{"photo_id":"1327474033","filename":"file2"},{"photo_id":"1327474041","filename":"file4"},{"photo_id":"1327474005","filename":"file1"},{"photo_id":"1327474000","filename":"file0"},{"photo_id":"1327474037","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474037":["hashtag1","hashtag2"]},{"1327474033":["hashtag1","hashtag2"]},{"1327474000":["hashtag1","hashtag2"]},{"1327474041":["hashtag1","hashtag2"]},{"1327474005":["hashtag1","hashtag2"]},{"1327474046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474037, 1327474033, 1327474000, 1327474041, 1327474005, 1327474046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41279911994934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:44:51.915155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0003.jpg', '/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0000.jpg', '/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0001.jpg', '/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0002.jpg', '/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0003.jpg', '/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/53/image_08012025_14_53_02_874064_0003.jpg
/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0000.jpg
/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0001.jpg
/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0002.jpg
/home/pi/Desktop/images/08012025/14/54/image_08012025_14_54_03_019726_0003.jpg
/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_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":["1327474077","1327474076","1327474091","1327474085","1327474079","1327474073"],"photo_ids_order":["1327474073","1327474076","1327474077","1327474079","1327474085","1327474091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ed03fab89922a9e9d52dc2d8f23243a.jpg","text":"TemporaryFile(/tmp/multipartBody3632800663302445250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_54_03_019726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/026ec49455ccd6e7b51d569cbd2f49ef.jpg","text":"TemporaryFile(/tmp/multipartBody5575712290514378978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_54_03_019726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2aa1e6b58710381f2c479e2754b32e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6660180262430127590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_55_02_275173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01f226218b6e90716034a7d2337b7fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6438665366066714943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_54_03_019726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f75d1b73600943d8e55f2801e20fcbb0.jpg","text":"TemporaryFile(/tmp/multipartBody3809985545518713575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_54_03_019726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca3a7d8553f855471e69e05e5ccc67f9.jpg","text":"TemporaryFile(/tmp/multipartBody258764174249152730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347566974,"filename":"image_08012025_14_53_02_874064_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474077","file1":"1327474076","file0":"1327474073","file4":"1327474085","file5":"1327474091","file3":"1327474079"},"map_files_photo_id_array":[{"photo_id":"1327474091","filename":"file5"},{"photo_id":"1327474077","filename":"file2"},{"photo_id":"1327474085","filename":"file4"},{"photo_id":"1327474076","filename":"file1"},{"photo_id":"1327474073","filename":"file0"},{"photo_id":"1327474079","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474077":["hashtag1","hashtag2"]},{"1327474076":["hashtag1","hashtag2"]},{"1327474091":["hashtag1","hashtag2"]},{"1327474085":["hashtag1","hashtag2"]},{"1327474079":["hashtag1","hashtag2"]},{"1327474073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474077, 1327474076, 1327474091, 1327474085, 1327474079, 1327474073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.416447162628174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 15:45:52.135720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0001.jpg', '/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0002.jpg', '/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0003.jpg', '/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0000.jpg', '/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0001.jpg', '/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0001.jpg
/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0002.jpg
/home/pi/Desktop/images/08012025/14/55/image_08012025_14_55_02_275173_0003.jpg
/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0000.jpg
/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0001.jpg
/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474148","1327474186","1327474162","1327474146","1327474155","1327474143"],"photo_ids_order":["1327474143","1327474146","1327474148","1327474155","1327474162","1327474186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b51981005df8c7e07711167df5b89540.jpg","text":"TemporaryFile(/tmp/multipartBody710715097921694239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_55_02_275173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4e6cd35934e035b8f9aa1131542e06b.jpg","text":"TemporaryFile(/tmp/multipartBody4344075239646778085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_56_02_484785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f888ab1a8956b231fb3249360396729.jpg","text":"TemporaryFile(/tmp/multipartBody2615260236589237788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_56_02_484785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd89bbf8df7315480e475512d1f0980c.jpg","text":"TemporaryFile(/tmp/multipartBody3624844362998306769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_55_02_275173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dfa8658a89c35426d68047ff3e6560b1.jpg","text":"TemporaryFile(/tmp/multipartBody1170498564320308166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_56_02_484785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0c2387fa393a1199800becfc5921bfb.jpg","text":"TemporaryFile(/tmp/multipartBody9037200064110876273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347627128,"filename":"image_08012025_14_55_02_275173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474148","file1":"1327474146","file0":"1327474143","file4":"1327474162","file5":"1327474186","file3":"1327474155"},"map_files_photo_id_array":[{"photo_id":"1327474186","filename":"file5"},{"photo_id":"1327474148","filename":"file2"},{"photo_id":"1327474162","filename":"file4"},{"photo_id":"1327474146","filename":"file1"},{"photo_id":"1327474143","filename":"file0"},{"photo_id":"1327474155","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474148":["hashtag1","hashtag2"]},{"1327474186":["hashtag1","hashtag2"]},{"1327474162":["hashtag1","hashtag2"]},{"1327474146":["hashtag1","hashtag2"]},{"1327474155":["hashtag1","hashtag2"]},{"1327474143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474148, 1327474186, 1327474162, 1327474146, 1327474155, 1327474143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.932328939437866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:47:03.057966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0003.jpg', '/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0000.jpg', '/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0001.jpg', '/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0002.jpg', '/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0003.jpg', '/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/56/image_08012025_14_56_02_484785_0003.jpg
/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0000.jpg
/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0001.jpg
/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0002.jpg
/home/pi/Desktop/images/08012025/14/57/image_08012025_14_57_02_646172_0003.jpg
/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_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":["1327474412","1327474409","1327474402","1327474275","1327474416","1327474358"],"photo_ids_order":["1327474275","1327474358","1327474402","1327474409","1327474412","1327474416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75371a8d14c084d0ccc64a4bb796a3d0.jpg","text":"TemporaryFile(/tmp/multipartBody8791006890888212648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_57_02_646172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff40df756b2f5b7a8348fed89bfb1784.jpg","text":"TemporaryFile(/tmp/multipartBody4378321505880405484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_57_02_646172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56ea248187bb6554293aea7011ad3bee.jpg","text":"TemporaryFile(/tmp/multipartBody2774315058518100141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_57_02_646172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6fb0c1cfde7a91cd053f1f72d44e6713.jpg","text":"TemporaryFile(/tmp/multipartBody11270707342238190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_56_02_484785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/261951eda4c78a9baff96cc657387658.jpg","text":"TemporaryFile(/tmp/multipartBody1779836133125808839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_58_02_830079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7a33ce2cfad97d958327010b4bdb5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3644703594088568629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347697991,"filename":"image_08012025_14_57_02_646172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474402","file1":"1327474358","file0":"1327474275","file4":"1327474412","file5":"1327474416","file3":"1327474409"},"map_files_photo_id_array":[{"photo_id":"1327474416","filename":"file5"},{"photo_id":"1327474402","filename":"file2"},{"photo_id":"1327474412","filename":"file4"},{"photo_id":"1327474358","filename":"file1"},{"photo_id":"1327474275","filename":"file0"},{"photo_id":"1327474409","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474412":["hashtag1","hashtag2"]},{"1327474409":["hashtag1","hashtag2"]},{"1327474402":["hashtag1","hashtag2"]},{"1327474275":["hashtag1","hashtag2"]},{"1327474416":["hashtag1","hashtag2"]},{"1327474358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474412, 1327474409, 1327474402, 1327474275, 1327474416, 1327474358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7141695022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:48:03.207501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0001.jpg', '/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0002.jpg', '/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0003.jpg', '/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0000.jpg', '/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0001.jpg', '/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0001.jpg
/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0002.jpg
/home/pi/Desktop/images/08012025/14/58/image_08012025_14_58_02_830079_0003.jpg
/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0000.jpg
/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0001.jpg
/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474483","1327474468","1327474434","1327474478","1327474487","1327474472"],"photo_ids_order":["1327474434","1327474468","1327474472","1327474478","1327474483","1327474487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa0b664f9edbba148e1ff5d4c67efb71.jpg","text":"TemporaryFile(/tmp/multipartBody5479121756214078106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_59_03_049381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9877089d3058086856addb4b5deaed88.jpg","text":"TemporaryFile(/tmp/multipartBody5541333621855074860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_58_02_830079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/19c92478298cf508232842e4e723b8b6.jpg","text":"TemporaryFile(/tmp/multipartBody4638127004999150297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_58_02_830079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec0aa39dadcc12faa0bd70e72fda2a26.jpg","text":"TemporaryFile(/tmp/multipartBody7968208066330168806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_59_03_049381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faf3a872ce939314bcb63d6155d038dc.jpg","text":"TemporaryFile(/tmp/multipartBody3984742444689279272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_59_03_049381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d741592d6df4c21872506182e8b747f.jpg","text":"TemporaryFile(/tmp/multipartBody9001685016277053433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347758499,"filename":"image_08012025_14_58_02_830079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474472","file1":"1327474468","file0":"1327474434","file4":"1327474483","file5":"1327474487","file3":"1327474478"},"map_files_photo_id_array":[{"photo_id":"1327474487","filename":"file5"},{"photo_id":"1327474472","filename":"file2"},{"photo_id":"1327474483","filename":"file4"},{"photo_id":"1327474468","filename":"file1"},{"photo_id":"1327474434","filename":"file0"},{"photo_id":"1327474478","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474483":["hashtag1","hashtag2"]},{"1327474468":["hashtag1","hashtag2"]},{"1327474434":["hashtag1","hashtag2"]},{"1327474478":["hashtag1","hashtag2"]},{"1327474487":["hashtag1","hashtag2"]},{"1327474472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474483, 1327474468, 1327474434, 1327474478, 1327474487, 1327474472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.632171630859375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:49:02.607989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0003.jpg', '/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0000.jpg', '/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0001.jpg', '/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0002.jpg', '/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0003.jpg', '/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/14/59/image_08012025_14_59_03_049381_0003.jpg
/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0000.jpg
/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0001.jpg
/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0002.jpg
/home/pi/Desktop/images/08012025/15/00/image_08012025_15_00_02_165165_0003.jpg
/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_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":["1327474517","1327474508","1327474525","1327474504","1327474512","1327474521"],"photo_ids_order":["1327474504","1327474508","1327474512","1327474517","1327474521","1327474525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec169ff0185de22f48622d3e1e75becb.jpg","text":"TemporaryFile(/tmp/multipartBody2699341272683425150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_15_00_02_165165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c53dd6cba407f3fbc5d8768f14fcbe5.jpg","text":"TemporaryFile(/tmp/multipartBody9081716849551308626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_15_00_02_165165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcdf628f5211e88d3869761bae86cf56.jpg","text":"TemporaryFile(/tmp/multipartBody5926023647781041562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_15_01_02_402356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd81c7007d05948e1196d5e034826d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3699613033218072824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_14_59_03_049381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0a4bb1ff3749369ac1a339bed39512d.jpg","text":"TemporaryFile(/tmp/multipartBody4534307973043808417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_15_00_02_165165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/037297ddacbe9b2937306f76bc388ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8018325274981762897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347817909,"filename":"image_08012025_15_00_02_165165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474512","file1":"1327474508","file0":"1327474504","file4":"1327474521","file5":"1327474525","file3":"1327474517"},"map_files_photo_id_array":[{"photo_id":"1327474525","filename":"file5"},{"photo_id":"1327474512","filename":"file2"},{"photo_id":"1327474521","filename":"file4"},{"photo_id":"1327474508","filename":"file1"},{"photo_id":"1327474504","filename":"file0"},{"photo_id":"1327474517","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474517":["hashtag1","hashtag2"]},{"1327474508":["hashtag1","hashtag2"]},{"1327474525":["hashtag1","hashtag2"]},{"1327474504":["hashtag1","hashtag2"]},{"1327474512":["hashtag1","hashtag2"]},{"1327474521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474517, 1327474508, 1327474525, 1327474504, 1327474512, 1327474521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.075135231018066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:50:02.562793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0001.jpg', '/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0002.jpg', '/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0003.jpg', '/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0000.jpg', '/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0001.jpg', '/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0001.jpg
/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0002.jpg
/home/pi/Desktop/images/08012025/15/01/image_08012025_15_01_02_402356_0003.jpg
/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0000.jpg
/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0001.jpg
/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474564","1327474552","1327474555","1327474540","1327474548","1327474536"],"photo_ids_order":["1327474536","1327474540","1327474548","1327474552","1327474555","1327474564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebea713fb698a048d83e6ce3c0ffade1.jpg","text":"TemporaryFile(/tmp/multipartBody7719556446477469429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_02_02_649031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de8929f3227aa5ab632a2512f9b7a2e0.jpg","text":"TemporaryFile(/tmp/multipartBody3420643104706948660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_02_02_649031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/728ec9a3d9291d1fdd1a95be4216a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3335536850780216639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_02_02_649031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f264fbe20b6b4ffd31b383f08c86d591.jpg","text":"TemporaryFile(/tmp/multipartBody9021775412048616635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_01_02_402356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d133caf29bc8c11a5c745f264cffc3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4018155106259562699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_01_02_402356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96cfeb37bdbbb6aa4befe7780fc9dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody37228613393321517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347877375,"filename":"image_08012025_15_01_02_402356_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474548","file1":"1327474540","file0":"1327474536","file4":"1327474555","file5":"1327474564","file3":"1327474552"},"map_files_photo_id_array":[{"photo_id":"1327474564","filename":"file5"},{"photo_id":"1327474548","filename":"file2"},{"photo_id":"1327474555","filename":"file4"},{"photo_id":"1327474540","filename":"file1"},{"photo_id":"1327474536","filename":"file0"},{"photo_id":"1327474552","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474564":["hashtag1","hashtag2"]},{"1327474552":["hashtag1","hashtag2"]},{"1327474555":["hashtag1","hashtag2"]},{"1327474540":["hashtag1","hashtag2"]},{"1327474548":["hashtag1","hashtag2"]},{"1327474536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474564, 1327474552, 1327474555, 1327474540, 1327474548, 1327474536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16800546646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:51:02.928018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0003.jpg', '/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0000.jpg', '/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0001.jpg', '/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0002.jpg', '/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0003.jpg', '/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/02/image_08012025_15_02_02_649031_0003.jpg
/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0000.jpg
/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0001.jpg
/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0002.jpg
/home/pi/Desktop/images/08012025/15/03/image_08012025_15_03_02_801933_0003.jpg
/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_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":["1327474601","1327474585","1327474593","1327474596","1327474598","1327474589"],"photo_ids_order":["1327474585","1327474589","1327474593","1327474596","1327474598","1327474601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25f5e4b293254bc956a7fd51b3c9897d.jpg","text":"TemporaryFile(/tmp/multipartBody3081324092142336230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_04_02_905299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/19f860f03c6b95404c395ed769a63826.jpg","text":"TemporaryFile(/tmp/multipartBody1965698847256800214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_02_02_649031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0460c8be5581490c26ebb1984c3e01ad.jpg","text":"TemporaryFile(/tmp/multipartBody5810160160884882012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_03_02_801933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/140886d0aaa4738d175ebc1ae95104f1.jpg","text":"TemporaryFile(/tmp/multipartBody3605390191267225792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_03_02_801933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/747450f2baaad3a72d9f02cec43fe491.jpg","text":"TemporaryFile(/tmp/multipartBody4140865961711320581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_03_02_801933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71c8ced57048ec8054f6783cb7474d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8554213140364450591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347937891,"filename":"image_08012025_15_03_02_801933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474593","file1":"1327474589","file0":"1327474585","file4":"1327474598","file5":"1327474601","file3":"1327474596"},"map_files_photo_id_array":[{"photo_id":"1327474601","filename":"file5"},{"photo_id":"1327474593","filename":"file2"},{"photo_id":"1327474598","filename":"file4"},{"photo_id":"1327474589","filename":"file1"},{"photo_id":"1327474585","filename":"file0"},{"photo_id":"1327474596","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474601":["hashtag1","hashtag2"]},{"1327474585":["hashtag1","hashtag2"]},{"1327474593":["hashtag1","hashtag2"]},{"1327474596":["hashtag1","hashtag2"]},{"1327474598":["hashtag1","hashtag2"]},{"1327474589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474601, 1327474585, 1327474593, 1327474596, 1327474598, 1327474589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.477410554885864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:52:02.927364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0001.jpg', '/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0002.jpg', '/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0003.jpg', '/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0000.jpg', '/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0001.jpg', '/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0001.jpg
/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0002.jpg
/home/pi/Desktop/images/08012025/15/04/image_08012025_15_04_02_905299_0003.jpg
/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0000.jpg
/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0001.jpg
/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474651","1327474648","1327474621","1327474641","1327474635","1327474631"],"photo_ids_order":["1327474621","1327474631","1327474635","1327474641","1327474648","1327474651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6de3c193116e8bcb12757dafe970e47d.jpg","text":"TemporaryFile(/tmp/multipartBody1535655701303566116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_05_03_106456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5324d7c246f2ad893fababc7f181f42.jpg","text":"TemporaryFile(/tmp/multipartBody2708214372380639176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_05_03_106456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/66702fead1275090c633b39f78707ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7809319866218978824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_04_02_905299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10831c0937b290f0d767e09d28cb2e14.jpg","text":"TemporaryFile(/tmp/multipartBody6781599180177034529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_05_03_106456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7be8f051f78009b099870aadf88630c7.jpg","text":"TemporaryFile(/tmp/multipartBody9000737228706459162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_04_02_905299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8bb87afccb46f1fbe5277b90dacb1069.jpg","text":"TemporaryFile(/tmp/multipartBody4178212194679574748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736347998013,"filename":"image_08012025_15_04_02_905299_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474635","file1":"1327474631","file0":"1327474621","file4":"1327474648","file5":"1327474651","file3":"1327474641"},"map_files_photo_id_array":[{"photo_id":"1327474651","filename":"file5"},{"photo_id":"1327474635","filename":"file2"},{"photo_id":"1327474648","filename":"file4"},{"photo_id":"1327474631","filename":"file1"},{"photo_id":"1327474621","filename":"file0"},{"photo_id":"1327474641","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474651":["hashtag1","hashtag2"]},{"1327474648":["hashtag1","hashtag2"]},{"1327474621":["hashtag1","hashtag2"]},{"1327474641":["hashtag1","hashtag2"]},{"1327474635":["hashtag1","hashtag2"]},{"1327474631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474651, 1327474648, 1327474621, 1327474641, 1327474635, 1327474631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46947908401489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:53:03.225921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0003.jpg', '/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0000.jpg', '/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0001.jpg', '/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0002.jpg', '/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0003.jpg', '/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/05/image_08012025_15_05_03_106456_0003.jpg
/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0000.jpg
/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0001.jpg
/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0002.jpg
/home/pi/Desktop/images/08012025/15/06/image_08012025_15_06_02_362710_0003.jpg
/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_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":["1327474741","1327474723","1327474737","1327474716","1327474713","1327474727"],"photo_ids_order":["1327474713","1327474716","1327474723","1327474727","1327474737","1327474741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b226afe1e0934872103900bcec2d7b78.jpg","text":"TemporaryFile(/tmp/multipartBody2023070942638020047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_07_02_480504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6c91fca6c42401aa74871a3cc249d14.jpg","text":"TemporaryFile(/tmp/multipartBody28137186878495567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_06_02_362710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f740348ef0402c6af15d3e4fb155175c.jpg","text":"TemporaryFile(/tmp/multipartBody1026810689428155421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_06_02_362710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/188703c18ae8104e74d9e586a0d674b2.jpg","text":"TemporaryFile(/tmp/multipartBody1064218474129959286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_06_02_362710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a9cd54304425b38fd9658abc9a009ba.jpg","text":"TemporaryFile(/tmp/multipartBody2327900272734530562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_05_03_106456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6fd0ec18d43baf420b0100568f77b1bd.jpg","text":"TemporaryFile(/tmp/multipartBody1456177170721955773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348058447,"filename":"image_08012025_15_06_02_362710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474723","file1":"1327474716","file0":"1327474713","file4":"1327474737","file5":"1327474741","file3":"1327474727"},"map_files_photo_id_array":[{"photo_id":"1327474741","filename":"file5"},{"photo_id":"1327474723","filename":"file2"},{"photo_id":"1327474737","filename":"file4"},{"photo_id":"1327474716","filename":"file1"},{"photo_id":"1327474713","filename":"file0"},{"photo_id":"1327474727","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474741":["hashtag1","hashtag2"]},{"1327474723":["hashtag1","hashtag2"]},{"1327474737":["hashtag1","hashtag2"]},{"1327474716":["hashtag1","hashtag2"]},{"1327474713":["hashtag1","hashtag2"]},{"1327474727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474741, 1327474723, 1327474737, 1327474716, 1327474713, 1327474727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62218427658081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:54:02.407263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0001.jpg', '/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0002.jpg', '/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0003.jpg', '/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0000.jpg', '/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0001.jpg', '/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0001.jpg
/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0002.jpg
/home/pi/Desktop/images/08012025/15/07/image_08012025_15_07_02_480504_0003.jpg
/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0000.jpg
/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0001.jpg
/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327474835","1327474814","1327474823","1327474780","1327474807","1327474832"],"photo_ids_order":["1327474780","1327474807","1327474814","1327474823","1327474832","1327474835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ad784c11b17206c92ca986c6c2efa88.jpg","text":"TemporaryFile(/tmp/multipartBody3374798947443510450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_08_02_685604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/244597b9e02417cd5b7dc639a9fc8207.jpg","text":"TemporaryFile(/tmp/multipartBody786568062866120648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_07_02_480504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db1e434c604a7eb6dacf658094b5ac9e.jpg","text":"TemporaryFile(/tmp/multipartBody4186262284327220184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_08_02_685604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc9aab37dd74e96fa1ca406a72217b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8930475080494551101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_07_02_480504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3675e178013ee72b17613b90e7b4319f.jpg","text":"TemporaryFile(/tmp/multipartBody8811857037753123664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_07_02_480504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cf782facb7ad88ed6fd11babf87a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody309681415417208753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348117491,"filename":"image_08012025_15_08_02_685604_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474814","file1":"1327474807","file0":"1327474780","file4":"1327474832","file5":"1327474835","file3":"1327474823"},"map_files_photo_id_array":[{"photo_id":"1327474835","filename":"file5"},{"photo_id":"1327474814","filename":"file2"},{"photo_id":"1327474832","filename":"file4"},{"photo_id":"1327474807","filename":"file1"},{"photo_id":"1327474780","filename":"file0"},{"photo_id":"1327474823","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474835":["hashtag1","hashtag2"]},{"1327474814":["hashtag1","hashtag2"]},{"1327474823":["hashtag1","hashtag2"]},{"1327474780":["hashtag1","hashtag2"]},{"1327474807":["hashtag1","hashtag2"]},{"1327474832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474835, 1327474814, 1327474823, 1327474780, 1327474807, 1327474832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.094831705093384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 15:55:02.557492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0003.jpg', '/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0000.jpg', '/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0001.jpg', '/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0002.jpg', '/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0003.jpg', '/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/08/image_08012025_15_08_02_685604_0003.jpg
/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0000.jpg
/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0001.jpg
/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0002.jpg
/home/pi/Desktop/images/08012025/15/09/image_08012025_15_09_02_826826_0003.jpg
/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_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":["1327474885","1327474987","1327474983","1327474887","1327474908","1327474892"],"photo_ids_order":["1327474885","1327474887","1327474892","1327474908","1327474983","1327474987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8173eab3e182ec0bb7fd7c99dcab81d8.jpg","text":"TemporaryFile(/tmp/multipartBody260609536551991004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_08_02_685604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ea1b17e53fcc21f1b6d48d6a1c62ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5092478257797733192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_10_03_024959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a47cc4a75a752e6499ca0820c48ea6f0.jpg","text":"TemporaryFile(/tmp/multipartBody160699142045706167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_09_02_826826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/485c9b58683d7a3e13b5acfa7765537b.jpg","text":"TemporaryFile(/tmp/multipartBody2218062380170717087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_09_02_826826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ac05af2f1dad9a44d27c89b867c62ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2209959702372158002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_09_02_826826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a35046938dc8c8c00b69f184b3844639.jpg","text":"TemporaryFile(/tmp/multipartBody4318942947020432864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348177483,"filename":"image_08012025_15_09_02_826826_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327474892","file1":"1327474887","file0":"1327474885","file4":"1327474983","file5":"1327474987","file3":"1327474908"},"map_files_photo_id_array":[{"photo_id":"1327474987","filename":"file5"},{"photo_id":"1327474892","filename":"file2"},{"photo_id":"1327474983","filename":"file4"},{"photo_id":"1327474887","filename":"file1"},{"photo_id":"1327474885","filename":"file0"},{"photo_id":"1327474908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327474885":["hashtag1","hashtag2"]},{"1327474987":["hashtag1","hashtag2"]},{"1327474983":["hashtag1","hashtag2"]},{"1327474887":["hashtag1","hashtag2"]},{"1327474908":["hashtag1","hashtag2"]},{"1327474892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327474885, 1327474987, 1327474983, 1327474887, 1327474908, 1327474892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.05799221992493 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-08 15:56:22.230534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0001.jpg', '/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0002.jpg', '/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0003.jpg', '/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0000.jpg', '/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0001.jpg', '/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0001.jpg
/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0002.jpg
/home/pi/Desktop/images/08012025/15/10/image_08012025_15_10_03_024959_0003.jpg
/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0000.jpg
/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0001.jpg
/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327475079","1327475084","1327475087","1327475072","1327475069","1327475083"],"photo_ids_order":["1327475069","1327475072","1327475079","1327475083","1327475084","1327475087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6c60d676de0ddf26a4e0ac5c52153fa.jpg","text":"TemporaryFile(/tmp/multipartBody8812334358498751449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_10_03_024959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d61ff3a0c20860558ab864357a25bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4743657791555815542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_11_03_171046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b92223930cb21d3c1234ab0279f90f12.jpg","text":"TemporaryFile(/tmp/multipartBody7600002797443455345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_11_03_171046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df5d69505edcce64614a638327ea6f11.jpg","text":"TemporaryFile(/tmp/multipartBody2350769865779606479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_10_03_024959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e67ea116b0d730f2a6f441ca449e97f0.jpg","text":"TemporaryFile(/tmp/multipartBody203401965016633133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_10_03_024959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/384939579b5c2a5bec37f3a319791d61.jpg","text":"TemporaryFile(/tmp/multipartBody8214591310540822815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348257379,"filename":"image_08012025_15_11_03_171046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475079","file1":"1327475072","file0":"1327475069","file4":"1327475084","file5":"1327475087","file3":"1327475083"},"map_files_photo_id_array":[{"photo_id":"1327475087","filename":"file5"},{"photo_id":"1327475079","filename":"file2"},{"photo_id":"1327475084","filename":"file4"},{"photo_id":"1327475072","filename":"file1"},{"photo_id":"1327475069","filename":"file0"},{"photo_id":"1327475083","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475079":["hashtag1","hashtag2"]},{"1327475084":["hashtag1","hashtag2"]},{"1327475087":["hashtag1","hashtag2"]},{"1327475072":["hashtag1","hashtag2"]},{"1327475069":["hashtag1","hashtag2"]},{"1327475083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475079, 1327475084, 1327475087, 1327475072, 1327475069, 1327475083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.54277753829956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 15:57:22.407171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0003.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0000.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0001.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0002.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0003.jpg', '/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0003.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0000.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0001.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0002.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0003.jpg
/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_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-08 15:59:03.324851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0003.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0000.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0001.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0002.jpg', '/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0003.jpg', '/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/11/image_08012025_15_11_03_171046_0003.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0000.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0001.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0002.jpg
/home/pi/Desktop/images/08012025/15/12/image_08012025_15_12_02_376447_0003.jpg
/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_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":["1327475233","1327475236","1327475224","1327475218","1327475238","1327475228"],"photo_ids_order":["1327475218","1327475224","1327475228","1327475233","1327475236","1327475238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c939c2b5ec1b70c44f3d1266c249811f.jpg","text":"TemporaryFile(/tmp/multipartBody2540047949086757473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_12_02_376447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b902c9c09cb7272f0f808c5d6eb25ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8767933137222647670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_12_02_376447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9029261fa8087cb8c1c422ee3ee03f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1865756424922208427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_12_02_376447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7ea583c9bbb372de5e95cb8c89bd956.jpg","text":"TemporaryFile(/tmp/multipartBody7731303273539126055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_11_03_171046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4e9ba624bdaf1ef9d562323345d7341.jpg","text":"TemporaryFile(/tmp/multipartBody9169956800433974868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_13_02_444726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/993fad97bee9af6c610909f39d80ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody3197439530493708122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348418459,"filename":"image_08012025_15_12_02_376447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475228","file1":"1327475224","file0":"1327475218","file4":"1327475236","file5":"1327475238","file3":"1327475233"},"map_files_photo_id_array":[{"photo_id":"1327475238","filename":"file5"},{"photo_id":"1327475228","filename":"file2"},{"photo_id":"1327475236","filename":"file4"},{"photo_id":"1327475224","filename":"file1"},{"photo_id":"1327475218","filename":"file0"},{"photo_id":"1327475233","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475233":["hashtag1","hashtag2"]},{"1327475236":["hashtag1","hashtag2"]},{"1327475224":["hashtag1","hashtag2"]},{"1327475218":["hashtag1","hashtag2"]},{"1327475238":["hashtag1","hashtag2"]},{"1327475228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475233, 1327475236, 1327475224, 1327475218, 1327475238, 1327475228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.30205059051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:00:21.880372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0001.jpg', '/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0002.jpg', '/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0003.jpg', '/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0000.jpg', '/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0001.jpg', '/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0001.jpg
/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0002.jpg
/home/pi/Desktop/images/08012025/15/13/image_08012025_15_13_02_444726_0003.jpg
/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0000.jpg
/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0001.jpg
/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327475266","1327475265","1327475285","1327475267","1327475261","1327475258"],"photo_ids_order":["1327475258","1327475261","1327475265","1327475266","1327475267","1327475285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34b9c8afeef5d345c02543bf425a5145.jpg","text":"TemporaryFile(/tmp/multipartBody2093782009803684920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_14_02_670069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd84863ee6a6f272f2635e61f33ce0b4.jpg","text":"TemporaryFile(/tmp/multipartBody166926613859050323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_13_02_444726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/218ebdf1587e780c9e365cbe671bf0ce.jpg","text":"TemporaryFile(/tmp/multipartBody5756582516769967175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_14_02_670069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04d21b9eedf5d470c3be72f2dbcb050c.jpg","text":"TemporaryFile(/tmp/multipartBody2822264421989498719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_14_02_670069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de9e15648e4a985bd0f1bbbc954a29a8.jpg","text":"TemporaryFile(/tmp/multipartBody4282474163948603860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_13_02_444726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62be5b532f0b40940eb0b71789043b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2415739302992697131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348496989,"filename":"image_08012025_15_13_02_444726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475265","file1":"1327475261","file0":"1327475258","file4":"1327475267","file5":"1327475285","file3":"1327475266"},"map_files_photo_id_array":[{"photo_id":"1327475285","filename":"file5"},{"photo_id":"1327475265","filename":"file2"},{"photo_id":"1327475267","filename":"file4"},{"photo_id":"1327475261","filename":"file1"},{"photo_id":"1327475258","filename":"file0"},{"photo_id":"1327475266","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475266":["hashtag1","hashtag2"]},{"1327475265":["hashtag1","hashtag2"]},{"1327475285":["hashtag1","hashtag2"]},{"1327475267":["hashtag1","hashtag2"]},{"1327475261":["hashtag1","hashtag2"]},{"1327475258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475266, 1327475265, 1327475285, 1327475267, 1327475261, 1327475258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.75675916671753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:01:32.118846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0003.jpg', '/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0000.jpg', '/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0001.jpg', '/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0002.jpg', '/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0003.jpg', '/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/14/image_08012025_15_14_02_670069_0003.jpg
/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0000.jpg
/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0001.jpg
/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0002.jpg
/home/pi/Desktop/images/08012025/15/15/image_08012025_15_15_02_802489_0003.jpg
/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_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":["1327475359","1327475368","1327475370","1327475361","1327475363","1327475366"],"photo_ids_order":["1327475359","1327475361","1327475363","1327475366","1327475368","1327475370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff70cb686cd64a755b2fedd04b919887.jpg","text":"TemporaryFile(/tmp/multipartBody5844021958351889442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_14_02_670069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60ccfdae8f7e17a15423b158800dcbe5.jpg","text":"TemporaryFile(/tmp/multipartBody2411207049028069200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_15_02_802489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdc6316982513d1b8b02ed4fdd22292c.jpg","text":"TemporaryFile(/tmp/multipartBody7512419046299702394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_16_02_915877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c08f6f39327775e84ca0f8fd7e65a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4461540185146376728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_15_02_802489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecd75db86c156d509edb5566ea8e55bc.jpg","text":"TemporaryFile(/tmp/multipartBody2443106591528157186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_15_02_802489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73ced0e520fda7c65a7e7c7fc97df583.jpg","text":"TemporaryFile(/tmp/multipartBody2699310216778128938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348567204,"filename":"image_08012025_15_15_02_802489_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475363","file1":"1327475361","file0":"1327475359","file4":"1327475368","file5":"1327475370","file3":"1327475366"},"map_files_photo_id_array":[{"photo_id":"1327475370","filename":"file5"},{"photo_id":"1327475363","filename":"file2"},{"photo_id":"1327475368","filename":"file4"},{"photo_id":"1327475361","filename":"file1"},{"photo_id":"1327475359","filename":"file0"},{"photo_id":"1327475366","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475359":["hashtag1","hashtag2"]},{"1327475368":["hashtag1","hashtag2"]},{"1327475370":["hashtag1","hashtag2"]},{"1327475361":["hashtag1","hashtag2"]},{"1327475363":["hashtag1","hashtag2"]},{"1327475366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475359, 1327475368, 1327475370, 1327475361, 1327475363, 1327475366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35006880760193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:02:32.238391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0001.jpg', '/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0002.jpg', '/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0003.jpg', '/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0000.jpg', '/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0001.jpg', '/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0001.jpg
/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0002.jpg
/home/pi/Desktop/images/08012025/15/16/image_08012025_15_16_02_915877_0003.jpg
/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0000.jpg
/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0001.jpg
/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327475410","1327475413","1327475421","1327475406","1327475402","1327475411"],"photo_ids_order":["1327475402","1327475406","1327475410","1327475411","1327475413","1327475421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/940d86d932416921fa2461ad3b3a4d33.jpg","text":"TemporaryFile(/tmp/multipartBody1303541435923800517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_16_02_915877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df33d6efff679b59f5363d4046be002e.jpg","text":"TemporaryFile(/tmp/multipartBody3297103354652810485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_17_02_149308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21f994e7be404482aa966a4cb592663d.jpg","text":"TemporaryFile(/tmp/multipartBody6977941900054652102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_17_02_149308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf67f88eb3dbfd7462944f322097cd85.jpg","text":"TemporaryFile(/tmp/multipartBody2519189443812404131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_16_02_915877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26bcf9c5461ba03feec56f7d07de1126.jpg","text":"TemporaryFile(/tmp/multipartBody3170614455601748631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_16_02_915877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bfcc52d4f8bdc25667663810d8942e2.jpg","text":"TemporaryFile(/tmp/multipartBody423929626731144923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348627184,"filename":"image_08012025_15_17_02_149308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475410","file1":"1327475406","file0":"1327475402","file4":"1327475413","file5":"1327475421","file3":"1327475411"},"map_files_photo_id_array":[{"photo_id":"1327475421","filename":"file5"},{"photo_id":"1327475410","filename":"file2"},{"photo_id":"1327475413","filename":"file4"},{"photo_id":"1327475406","filename":"file1"},{"photo_id":"1327475402","filename":"file0"},{"photo_id":"1327475411","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475410":["hashtag1","hashtag2"]},{"1327475413":["hashtag1","hashtag2"]},{"1327475421":["hashtag1","hashtag2"]},{"1327475406":["hashtag1","hashtag2"]},{"1327475402":["hashtag1","hashtag2"]},{"1327475411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475410, 1327475413, 1327475421, 1327475406, 1327475402, 1327475411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84959030151367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:03:32.494696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0003.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0000.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0001.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0002.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0003.jpg', '/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0003.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0000.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0001.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0002.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0003.jpg
/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_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.303075790405273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:03:52.501827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0003.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0000.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0001.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0002.jpg', '/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0003.jpg', '/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/17/image_08012025_15_17_02_149308_0003.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0000.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0001.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0002.jpg
/home/pi/Desktop/images/08012025/15/18/image_08012025_15_18_02_367651_0003.jpg
/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_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":["1327475469","1327475465","1327475450","1327475474","1327475453","1327475447"],"photo_ids_order":["1327475447","1327475450","1327475453","1327475465","1327475469","1327475474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9708f7a33cbfaa29ae62e15f995a1427.jpg","text":"TemporaryFile(/tmp/multipartBody921941614416750027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_18_02_367651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdedb947139c8f4d4e57f0b0f3b41136.jpg","text":"TemporaryFile(/tmp/multipartBody7089990335803552448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_18_02_367651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/205341a99eaaf565a5e9604f1610e00c.jpg","text":"TemporaryFile(/tmp/multipartBody8590439413765228707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_18_02_367651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b270be5ae59896b54158a2037f41c74.jpg","text":"TemporaryFile(/tmp/multipartBody5081164471135685151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_19_02_566675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa8f3a1b131c119cbe1461d0ea5f51e5.jpg","text":"TemporaryFile(/tmp/multipartBody1821850108749769477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_18_02_367651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da1c22e9392f39c8720b589b723d27fa.jpg","text":"TemporaryFile(/tmp/multipartBody7062610176450071028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348707227,"filename":"image_08012025_15_17_02_149308_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475453","file1":"1327475450","file0":"1327475447","file4":"1327475469","file5":"1327475474","file3":"1327475465"},"map_files_photo_id_array":[{"photo_id":"1327475474","filename":"file5"},{"photo_id":"1327475453","filename":"file2"},{"photo_id":"1327475469","filename":"file4"},{"photo_id":"1327475450","filename":"file1"},{"photo_id":"1327475447","filename":"file0"},{"photo_id":"1327475465","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475469":["hashtag1","hashtag2"]},{"1327475465":["hashtag1","hashtag2"]},{"1327475450":["hashtag1","hashtag2"]},{"1327475474":["hashtag1","hashtag2"]},{"1327475453":["hashtag1","hashtag2"]},{"1327475447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475469, 1327475465, 1327475450, 1327475474, 1327475453, 1327475447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78605628013611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:04:52.677337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0001.jpg', '/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0002.jpg', '/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0003.jpg', '/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0000.jpg', '/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0001.jpg', '/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0001.jpg
/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0002.jpg
/home/pi/Desktop/images/08012025/15/19/image_08012025_15_19_02_566675_0003.jpg
/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0000.jpg
/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0001.jpg
/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327475479","1327475481","1327475495","1327475489","1327475483","1327475486"],"photo_ids_order":["1327475479","1327475481","1327475483","1327475486","1327475489","1327475495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a003d2475417196b107111dd1d2a56e.jpg","text":"TemporaryFile(/tmp/multipartBody3920827233477499002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_19_02_566675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15e9333f3b4966289b7d9248ff2ea2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1969114213410442009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_19_02_566675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/054900e78bf9f7908957cb5b76dcb8f0.jpg","text":"TemporaryFile(/tmp/multipartBody2626795548050057955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_20_02_737358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d6f04f978379889ec639bdee55fbf80.jpg","text":"TemporaryFile(/tmp/multipartBody6129458640243343940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_20_02_737358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a54dba72bb86e01801df092a1be97359.jpg","text":"TemporaryFile(/tmp/multipartBody5430643847400156319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_19_02_566675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fbe9d276ad33f8beb92098b00e8f5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1786910646919916056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348767291,"filename":"image_08012025_15_20_02_737358_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475483","file1":"1327475481","file0":"1327475479","file4":"1327475489","file5":"1327475495","file3":"1327475486"},"map_files_photo_id_array":[{"photo_id":"1327475495","filename":"file5"},{"photo_id":"1327475483","filename":"file2"},{"photo_id":"1327475489","filename":"file4"},{"photo_id":"1327475481","filename":"file1"},{"photo_id":"1327475479","filename":"file0"},{"photo_id":"1327475486","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475479":["hashtag1","hashtag2"]},{"1327475481":["hashtag1","hashtag2"]},{"1327475495":["hashtag1","hashtag2"]},{"1327475489":["hashtag1","hashtag2"]},{"1327475483":["hashtag1","hashtag2"]},{"1327475486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475479, 1327475481, 1327475495, 1327475489, 1327475483, 1327475486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34102010726929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:05:51.831800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0003.jpg', '/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0000.jpg', '/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0001.jpg', '/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0002.jpg', '/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0000.jpg', '/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/20/image_08012025_15_20_02_737358_0003.jpg
/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0000.jpg
/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0001.jpg
/home/pi/Desktop/images/08012025/15/21/image_08012025_15_21_03_012313_0002.jpg
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0000.jpg
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_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":["1327475506","1327475514","1327475523","1327475517","1327475508","1327475510"],"photo_ids_order":["1327475506","1327475508","1327475510","1327475514","1327475517","1327475523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/589c27eabf3b20a621a7972af4170338.jpg","text":"TemporaryFile(/tmp/multipartBody4236799466752040985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_20_02_737358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecb3bb86e9a3797a45f4dd8319a4672a.jpg","text":"TemporaryFile(/tmp/multipartBody7291946375785062218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_21_03_012313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6a1a2e1b418c382f17cfddd32976823.jpg","text":"TemporaryFile(/tmp/multipartBody8768611088158039297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_22_02_202757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30be0ec4dbc72202396922db5ddbba68.jpg","text":"TemporaryFile(/tmp/multipartBody412143867444726606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_22_02_202757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f24f116173af646b76d219328708ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5092725399382551701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_21_03_012313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94701f7a727a0c194b18f2f50af88d99.jpg","text":"TemporaryFile(/tmp/multipartBody4698918837251092870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348826462,"filename":"image_08012025_15_21_03_012313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475510","file1":"1327475508","file0":"1327475506","file4":"1327475517","file5":"1327475523","file3":"1327475514"},"map_files_photo_id_array":[{"photo_id":"1327475523","filename":"file5"},{"photo_id":"1327475510","filename":"file2"},{"photo_id":"1327475517","filename":"file4"},{"photo_id":"1327475508","filename":"file1"},{"photo_id":"1327475506","filename":"file0"},{"photo_id":"1327475514","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475506":["hashtag1","hashtag2"]},{"1327475514":["hashtag1","hashtag2"]},{"1327475523":["hashtag1","hashtag2"]},{"1327475517":["hashtag1","hashtag2"]},{"1327475508":["hashtag1","hashtag2"]},{"1327475510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475506, 1327475514, 1327475523, 1327475517, 1327475508, 1327475510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74129509925842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:06:51.977197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0002.jpg', '/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0003.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0000.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0001.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0002.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0002.jpg
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0003.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0000.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0001.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0002.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_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.374673843383789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:07:22.201944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0002.jpg', '/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0003.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0000.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0001.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0002.jpg', '/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0002.jpg
/home/pi/Desktop/images/08012025/15/22/image_08012025_15_22_02_202757_0003.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0000.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0001.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_0002.jpg
/home/pi/Desktop/images/08012025/15/23/image_08012025_15_23_02_395490_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":["1327475581","1327475569","1327475577","1327475592","1327475589","1327475594"],"photo_ids_order":["1327475569","1327475577","1327475581","1327475589","1327475592","1327475594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6baffc20c46bcb4df19a0f1e3fa72b41.jpg","text":"TemporaryFile(/tmp/multipartBody4486448890419824300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_23_02_395490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dce04aa51812b2ba59b9e4e12fe4c27.jpg","text":"TemporaryFile(/tmp/multipartBody5727563261585478312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_22_02_202757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68f387a6ae872bd310ecbb2baab8245d.jpg","text":"TemporaryFile(/tmp/multipartBody5561115787959196419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_22_02_202757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6f58977cf823678abe94fb498b16436.jpg","text":"TemporaryFile(/tmp/multipartBody3371745926361469436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_23_02_395490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43aa4bf29f5b4ca71ea5653fc557ea50.jpg","text":"TemporaryFile(/tmp/multipartBody3587845717413896995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_23_02_395490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/15136edbd6ef30d7da5dfcfe3fbf6181.jpg","text":"TemporaryFile(/tmp/multipartBody3942217542718133806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348916963,"filename":"image_08012025_15_23_02_395490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475581","file1":"1327475577","file0":"1327475569","file4":"1327475592","file5":"1327475594","file3":"1327475589"},"map_files_photo_id_array":[{"photo_id":"1327475594","filename":"file5"},{"photo_id":"1327475581","filename":"file2"},{"photo_id":"1327475592","filename":"file4"},{"photo_id":"1327475577","filename":"file1"},{"photo_id":"1327475569","filename":"file0"},{"photo_id":"1327475589","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475581":["hashtag1","hashtag2"]},{"1327475569":["hashtag1","hashtag2"]},{"1327475577":["hashtag1","hashtag2"]},{"1327475592":["hashtag1","hashtag2"]},{"1327475589":["hashtag1","hashtag2"]},{"1327475594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475581, 1327475569, 1327475577, 1327475592, 1327475589, 1327475594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.687745571136475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:08:22.481675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0000.jpg', '/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0001.jpg', '/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0002.jpg', '/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0003.jpg', '/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0000.jpg', '/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0000.jpg
/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0001.jpg
/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0002.jpg
/home/pi/Desktop/images/08012025/15/24/image_08012025_15_24_02_554571_0003.jpg
/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0000.jpg
/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_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":["1327475653","1327475647","1327475662","1327475656","1327475658","1327475643"],"photo_ids_order":["1327475643","1327475647","1327475653","1327475656","1327475658","1327475662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9be115a174d1190ffc535a4de3c5f63.jpg","text":"TemporaryFile(/tmp/multipartBody9060924585420048892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_24_02_554571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec4c5f9f4228178ac94f18648d890e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3476634124955614884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_24_02_554571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57fce204af5c5ed615c333700a59b6b5.jpg","text":"TemporaryFile(/tmp/multipartBody2232134442110841736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_25_02_733068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ce141f43eee9dbcd4d28d5d8eb7a217.jpg","text":"TemporaryFile(/tmp/multipartBody8486102053495937568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_24_02_554571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa318be53be87f7e82b05cd81f5f5ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6887287497246209571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_25_02_733068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a5c3f5408e0ee6e5e078ac767e4e2aa.jpg","text":"TemporaryFile(/tmp/multipartBody310918373481816677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736348977407,"filename":"image_08012025_15_24_02_554571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475653","file1":"1327475647","file0":"1327475643","file4":"1327475658","file5":"1327475662","file3":"1327475656"},"map_files_photo_id_array":[{"photo_id":"1327475662","filename":"file5"},{"photo_id":"1327475653","filename":"file2"},{"photo_id":"1327475658","filename":"file4"},{"photo_id":"1327475647","filename":"file1"},{"photo_id":"1327475643","filename":"file0"},{"photo_id":"1327475656","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475653":["hashtag1","hashtag2"]},{"1327475647":["hashtag1","hashtag2"]},{"1327475662":["hashtag1","hashtag2"]},{"1327475656":["hashtag1","hashtag2"]},{"1327475658":["hashtag1","hashtag2"]},{"1327475643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475653, 1327475647, 1327475662, 1327475656, 1327475658, 1327475643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.81538915634155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:09:22.661990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0002.jpg', '/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0003.jpg', '/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0000.jpg', '/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0001.jpg', '/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0002.jpg', '/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0002.jpg
/home/pi/Desktop/images/08012025/15/25/image_08012025_15_25_02_733068_0003.jpg
/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0000.jpg
/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0001.jpg
/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_0002.jpg
/home/pi/Desktop/images/08012025/15/26/image_08012025_15_26_02_894508_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":["1327475695","1327475680","1327475677","1327475690","1327475687","1327475684"],"photo_ids_order":["1327475677","1327475680","1327475684","1327475687","1327475690","1327475695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91cde8d3cacc3dae55699585f7a5da17.jpg","text":"TemporaryFile(/tmp/multipartBody7839545060039892057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_26_02_894508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e3125b8940decbfa00f057d28da0e4a.jpg","text":"TemporaryFile(/tmp/multipartBody7981346256773891226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_25_02_733068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd8fe909f4a15b12f63b66716254ba37.jpg","text":"TemporaryFile(/tmp/multipartBody6778936356479003974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_25_02_733068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2615d220f95c733601bb64b3898d5b90.jpg","text":"TemporaryFile(/tmp/multipartBody5599621394619899929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_26_02_894508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f414250eda54ccc758c395c9a331f1ed.jpg","text":"TemporaryFile(/tmp/multipartBody3543553902986320424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_26_02_894508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/254446e1a26f7ff4e121681fd206246f.jpg","text":"TemporaryFile(/tmp/multipartBody7444380290585558395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349037832,"filename":"image_08012025_15_26_02_894508_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475684","file1":"1327475680","file0":"1327475677","file4":"1327475690","file5":"1327475695","file3":"1327475687"},"map_files_photo_id_array":[{"photo_id":"1327475695","filename":"file5"},{"photo_id":"1327475684","filename":"file2"},{"photo_id":"1327475690","filename":"file4"},{"photo_id":"1327475680","filename":"file1"},{"photo_id":"1327475677","filename":"file0"},{"photo_id":"1327475687","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475695":["hashtag1","hashtag2"]},{"1327475680":["hashtag1","hashtag2"]},{"1327475677":["hashtag1","hashtag2"]},{"1327475690":["hashtag1","hashtag2"]},{"1327475687":["hashtag1","hashtag2"]},{"1327475684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475695, 1327475680, 1327475677, 1327475690, 1327475687, 1327475684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.58934545516968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:10:21.851689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0000.jpg', '/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0001.jpg', '/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0002.jpg', '/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0003.jpg', '/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0000.jpg', '/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0000.jpg
/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0001.jpg
/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0002.jpg
/home/pi/Desktop/images/08012025/15/27/image_08012025_15_27_03_047059_0003.jpg
/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0000.jpg
/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_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":["1327475725","1327475710","1327475707","1327475718","1327475720","1327475714"],"photo_ids_order":["1327475707","1327475710","1327475714","1327475718","1327475720","1327475725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9ac305cef51ed48c39901c9b148bc3d.jpg","text":"TemporaryFile(/tmp/multipartBody4390994648335545716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_28_02_293727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28d0201a895a0a46bbdab516381177e5.jpg","text":"TemporaryFile(/tmp/multipartBody5841972051138240493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_27_03_047059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b1d0601327359952525d85ee467b09ac.jpg","text":"TemporaryFile(/tmp/multipartBody3247190605365453807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_27_03_047059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29596c3015d94e99c4114d6488a85c27.jpg","text":"TemporaryFile(/tmp/multipartBody113248564819656791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_27_03_047059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b5460714130e05d0bcfba809d25d6a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3865697097361584947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_28_02_293727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adee011e60636b745154442380cfcbbe.jpg","text":"TemporaryFile(/tmp/multipartBody5947766731242744889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349096981,"filename":"image_08012025_15_27_03_047059_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475714","file1":"1327475710","file0":"1327475707","file4":"1327475720","file5":"1327475725","file3":"1327475718"},"map_files_photo_id_array":[{"photo_id":"1327475725","filename":"file5"},{"photo_id":"1327475714","filename":"file2"},{"photo_id":"1327475720","filename":"file4"},{"photo_id":"1327475710","filename":"file1"},{"photo_id":"1327475707","filename":"file0"},{"photo_id":"1327475718","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475725":["hashtag1","hashtag2"]},{"1327475710":["hashtag1","hashtag2"]},{"1327475707":["hashtag1","hashtag2"]},{"1327475718":["hashtag1","hashtag2"]},{"1327475720":["hashtag1","hashtag2"]},{"1327475714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475725, 1327475710, 1327475707, 1327475718, 1327475720, 1327475714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.345890283584595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:11:22.077950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0002.jpg', '/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0003.jpg', '/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0000.jpg', '/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0001.jpg', '/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0002.jpg', '/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0002.jpg
/home/pi/Desktop/images/08012025/15/28/image_08012025_15_28_02_293727_0003.jpg
/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0000.jpg
/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0001.jpg
/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_0002.jpg
/home/pi/Desktop/images/08012025/15/29/image_08012025_15_29_02_404554_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":["1327475773","1327475767","1327475757","1327475753","1327475777","1327475764"],"photo_ids_order":["1327475753","1327475757","1327475764","1327475767","1327475773","1327475777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e043de76f35009caa1619be1c806ff8.jpg","text":"TemporaryFile(/tmp/multipartBody8105052189636223747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_29_02_404554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4fb05a0576cc43d20d8b2089ccdcfe8.jpg","text":"TemporaryFile(/tmp/multipartBody8614315512774164905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_29_02_404554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed81a2ee4fd8d6667fa10331e056ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody5313051255593341803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_28_02_293727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d4b41e62115d1b940776df9bf68d686.jpg","text":"TemporaryFile(/tmp/multipartBody2705739756473305541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_28_02_293727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/18567dff5042d156d5dd3b4b508f0c7d.jpg","text":"TemporaryFile(/tmp/multipartBody587899197214962805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_29_02_404554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b520389c3ea219d209d9a182458675f.jpg","text":"TemporaryFile(/tmp/multipartBody1775756028521466059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349157186,"filename":"image_08012025_15_29_02_404554_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475764","file1":"1327475757","file0":"1327475753","file4":"1327475773","file5":"1327475777","file3":"1327475767"},"map_files_photo_id_array":[{"photo_id":"1327475777","filename":"file5"},{"photo_id":"1327475764","filename":"file2"},{"photo_id":"1327475773","filename":"file4"},{"photo_id":"1327475757","filename":"file1"},{"photo_id":"1327475753","filename":"file0"},{"photo_id":"1327475767","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475773":["hashtag1","hashtag2"]},{"1327475767":["hashtag1","hashtag2"]},{"1327475757":["hashtag1","hashtag2"]},{"1327475753":["hashtag1","hashtag2"]},{"1327475777":["hashtag1","hashtag2"]},{"1327475764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475773, 1327475767, 1327475757, 1327475753, 1327475777, 1327475764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95003128051758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:12:22.282563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0000.jpg', '/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0001.jpg', '/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0002.jpg', '/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0003.jpg', '/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0000.jpg', '/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0000.jpg
/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0001.jpg
/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0002.jpg
/home/pi/Desktop/images/08012025/15/30/image_08012025_15_30_02_611216_0003.jpg
/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0000.jpg
/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_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":["1327475793","1327475790","1327475786","1327475795","1327475797","1327475801"],"photo_ids_order":["1327475786","1327475790","1327475793","1327475795","1327475797","1327475801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23286f4a5fd6c116cad19ae781debd9c.jpg","text":"TemporaryFile(/tmp/multipartBody3614240909222382415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_30_02_611216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29197d9e821edd68e4fdf348d520ca59.jpg","text":"TemporaryFile(/tmp/multipartBody2012878167369057117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_30_02_611216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc92c522a49788307b0f2dbf5da9018b.jpg","text":"TemporaryFile(/tmp/multipartBody7125298614712798104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_30_02_611216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73cecace08e938755cff3cf585e37923.jpg","text":"TemporaryFile(/tmp/multipartBody2334092599701255795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_30_02_611216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c648001f9e3b57c6da784c12d73f679.jpg","text":"TemporaryFile(/tmp/multipartBody2613411116912683768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_31_02_810817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5855cc6a3d725488712989c40937d99a.jpg","text":"TemporaryFile(/tmp/multipartBody6602755380391477993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349217543,"filename":"image_08012025_15_31_02_810817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475793","file1":"1327475790","file0":"1327475786","file4":"1327475797","file5":"1327475801","file3":"1327475795"},"map_files_photo_id_array":[{"photo_id":"1327475801","filename":"file5"},{"photo_id":"1327475793","filename":"file2"},{"photo_id":"1327475797","filename":"file4"},{"photo_id":"1327475790","filename":"file1"},{"photo_id":"1327475786","filename":"file0"},{"photo_id":"1327475795","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475793":["hashtag1","hashtag2"]},{"1327475790":["hashtag1","hashtag2"]},{"1327475786":["hashtag1","hashtag2"]},{"1327475795":["hashtag1","hashtag2"]},{"1327475797":["hashtag1","hashtag2"]},{"1327475801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475793, 1327475790, 1327475786, 1327475795, 1327475797, 1327475801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.200042963027954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:13:22.417533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0002.jpg', '/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0003.jpg', '/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0000.jpg', '/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0001.jpg', '/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0002.jpg', '/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0002.jpg
/home/pi/Desktop/images/08012025/15/31/image_08012025_15_31_02_810817_0003.jpg
/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0000.jpg
/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0001.jpg
/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_0002.jpg
/home/pi/Desktop/images/08012025/15/32/image_08012025_15_32_02_990472_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":["1327475848","1327475853","1327475849","1327475834","1327475837","1327475831"],"photo_ids_order":["1327475831","1327475834","1327475837","1327475848","1327475849","1327475853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1d9048f2ecbb5279aff0e9b2a395f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3851520570030327846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_32_02_990472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6c478bd16feacccbdd664f11c73463f.jpg","text":"TemporaryFile(/tmp/multipartBody8013486837059575220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_32_02_990472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1061e0ad6e51f304147b85e98f6140d6.jpg","text":"TemporaryFile(/tmp/multipartBody1650179693308320058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_32_02_990472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/298a551f8bacb8a1ca1d9911e3211107.jpg","text":"TemporaryFile(/tmp/multipartBody6209118084709386009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_31_02_810817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b84e339294fe1240b9cb79b55bbf88b3.jpg","text":"TemporaryFile(/tmp/multipartBody6991196694648962710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_32_02_990472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc000582a9a093aabf822a8c726db632.jpg","text":"TemporaryFile(/tmp/multipartBody8880870691418253008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349277486,"filename":"image_08012025_15_31_02_810817_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327475837","file1":"1327475834","file0":"1327475831","file4":"1327475849","file5":"1327475853","file3":"1327475848"},"map_files_photo_id_array":[{"photo_id":"1327475853","filename":"file5"},{"photo_id":"1327475837","filename":"file2"},{"photo_id":"1327475849","filename":"file4"},{"photo_id":"1327475834","filename":"file1"},{"photo_id":"1327475831","filename":"file0"},{"photo_id":"1327475848","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327475848":["hashtag1","hashtag2"]},{"1327475853":["hashtag1","hashtag2"]},{"1327475849":["hashtag1","hashtag2"]},{"1327475834":["hashtag1","hashtag2"]},{"1327475837":["hashtag1","hashtag2"]},{"1327475831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327475848, 1327475853, 1327475849, 1327475834, 1327475837, 1327475831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.315796852111816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:14:22.595883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0000.jpg', '/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0001.jpg', '/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0002.jpg', '/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0003.jpg', '/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0000.jpg', '/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0000.jpg
/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0001.jpg
/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0002.jpg
/home/pi/Desktop/images/08012025/15/33/image_08012025_15_33_02_186959_0003.jpg
/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0000.jpg
/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_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":["1327477146","1327477155","1327477148","1327477013","1327477153","1327477150"],"photo_ids_order":["1327477013","1327477146","1327477148","1327477150","1327477153","1327477155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d26bf7a4b038d03e0b20d5ed07e8cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8884528684416133909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_33_02_186959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9918baecb33059679dde93f4a6576c29.jpg","text":"TemporaryFile(/tmp/multipartBody3045124817515863982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_34_02_371842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e6583a77956229f9cfb136a199664cf.jpg","text":"TemporaryFile(/tmp/multipartBody1252284410527232059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_33_02_186959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/746e1825fb8754a7a0ac081be4db7b46.jpg","text":"TemporaryFile(/tmp/multipartBody5516798027538188615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_33_02_186959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a83fc99fbe764262b58239cd6b739e75.jpg","text":"TemporaryFile(/tmp/multipartBody1253588026699236793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_34_02_371842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/649718c9d79d3066359790632490b931.jpg","text":"TemporaryFile(/tmp/multipartBody7594931084893333960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349337688,"filename":"image_08012025_15_33_02_186959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327477148","file1":"1327477146","file0":"1327477013","file4":"1327477153","file5":"1327477155","file3":"1327477150"},"map_files_photo_id_array":[{"photo_id":"1327477155","filename":"file5"},{"photo_id":"1327477148","filename":"file2"},{"photo_id":"1327477153","filename":"file4"},{"photo_id":"1327477146","filename":"file1"},{"photo_id":"1327477013","filename":"file0"},{"photo_id":"1327477150","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327477146":["hashtag1","hashtag2"]},{"1327477155":["hashtag1","hashtag2"]},{"1327477148":["hashtag1","hashtag2"]},{"1327477013":["hashtag1","hashtag2"]},{"1327477153":["hashtag1","hashtag2"]},{"1327477150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327477146, 1327477155, 1327477148, 1327477013, 1327477153, 1327477150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2701416015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:15:22.695577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0002.jpg', '/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0003.jpg', '/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0000.jpg', '/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0001.jpg', '/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0002.jpg', '/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0002.jpg
/home/pi/Desktop/images/08012025/15/34/image_08012025_15_34_02_371842_0003.jpg
/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0000.jpg
/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0001.jpg
/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_0002.jpg
/home/pi/Desktop/images/08012025/15/35/image_08012025_15_35_02_572582_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":["1327477190","1327477193","1327477187","1327477178","1327477195","1327477182"],"photo_ids_order":["1327477178","1327477182","1327477187","1327477190","1327477193","1327477195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a92a03e8b14752c932105eb162552437.jpg","text":"TemporaryFile(/tmp/multipartBody8993137365655302374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_35_02_572582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e8fadba47f85d836dc297d2b0cc5d88.jpg","text":"TemporaryFile(/tmp/multipartBody4248793064773576190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_35_02_572582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bbaf0f11372b572402f4ff58717aec1.jpg","text":"TemporaryFile(/tmp/multipartBody3478325305542485607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_35_02_572582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee73b70bf1f999930056a54910c8e2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6766275906225757068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_34_02_371842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2ae6166dcae63e8c05831e7b65e6ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4541117408783220058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_35_02_572582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8524924a33a97607c6dfea7d7f61cc79.jpg","text":"TemporaryFile(/tmp/multipartBody2173886384089843130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349397808,"filename":"image_08012025_15_34_02_371842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327477187","file1":"1327477182","file0":"1327477178","file4":"1327477193","file5":"1327477195","file3":"1327477190"},"map_files_photo_id_array":[{"photo_id":"1327477195","filename":"file5"},{"photo_id":"1327477187","filename":"file2"},{"photo_id":"1327477193","filename":"file4"},{"photo_id":"1327477182","filename":"file1"},{"photo_id":"1327477178","filename":"file0"},{"photo_id":"1327477190","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327477190":["hashtag1","hashtag2"]},{"1327477193":["hashtag1","hashtag2"]},{"1327477187":["hashtag1","hashtag2"]},{"1327477178":["hashtag1","hashtag2"]},{"1327477195":["hashtag1","hashtag2"]},{"1327477182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327477190, 1327477193, 1327477187, 1327477178, 1327477195, 1327477182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.17700004577637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:16:22.028933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0000.jpg', '/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0001.jpg', '/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0002.jpg', '/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0003.jpg', '/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0000.jpg', '/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0000.jpg
/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0001.jpg
/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0002.jpg
/home/pi/Desktop/images/08012025/15/36/image_08012025_15_36_02_763015_0003.jpg
/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0000.jpg
/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_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":["1327477245","1327477248","1327477253","1327477250","1327477255","1327477240"],"photo_ids_order":["1327477240","1327477245","1327477248","1327477250","1327477253","1327477255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d81dc4805f07f0533e075b49ca9e4765.jpg","text":"TemporaryFile(/tmp/multipartBody7285839884296109319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_36_02_763015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c54134dc614d010c2e86f28503ef467.jpg","text":"TemporaryFile(/tmp/multipartBody5048770157141116408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_36_02_763015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cba4b4a56ad06ae0cb4345fe3152da0.jpg","text":"TemporaryFile(/tmp/multipartBody8208155014063851815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_37_02_954326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7ed50ec7dfc6ee3e8f25dd35c2f4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8447578043060133230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_36_02_763015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a30f0961e20e120b37e3a2b389790a0.jpg","text":"TemporaryFile(/tmp/multipartBody4670216516507040687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_37_02_954326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d77e3a15ba3fb9435f74698160bfdc45.jpg","text":"TemporaryFile(/tmp/multipartBody5540117012605138104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349457212,"filename":"image_08012025_15_36_02_763015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327477248","file1":"1327477245","file0":"1327477240","file4":"1327477253","file5":"1327477255","file3":"1327477250"},"map_files_photo_id_array":[{"photo_id":"1327477255","filename":"file5"},{"photo_id":"1327477248","filename":"file2"},{"photo_id":"1327477253","filename":"file4"},{"photo_id":"1327477245","filename":"file1"},{"photo_id":"1327477240","filename":"file0"},{"photo_id":"1327477250","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327477245":["hashtag1","hashtag2"]},{"1327477248":["hashtag1","hashtag2"]},{"1327477253":["hashtag1","hashtag2"]},{"1327477250":["hashtag1","hashtag2"]},{"1327477255":["hashtag1","hashtag2"]},{"1327477240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327477245, 1327477248, 1327477253, 1327477250, 1327477255, 1327477240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96980619430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:17:22.195298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0002.jpg', '/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0003.jpg', '/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0000.jpg', '/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0001.jpg', '/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0002.jpg', '/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0002.jpg
/home/pi/Desktop/images/08012025/15/37/image_08012025_15_37_02_954326_0003.jpg
/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0000.jpg
/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0001.jpg
/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_0002.jpg
/home/pi/Desktop/images/08012025/15/38/image_08012025_15_38_03_100845_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":["1327478715","1327478709","1327478645","1327478713","1327478706","1327478649"],"photo_ids_order":["1327478645","1327478649","1327478706","1327478709","1327478713","1327478715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a573ba6b741845a38e4507dffd1af00.jpg","text":"TemporaryFile(/tmp/multipartBody4846152281087461073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_38_03_100845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f388f6b29bf7e4160e0153890e0dfbdd.jpg","text":"TemporaryFile(/tmp/multipartBody487688489985793408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_38_03_100845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d786d1d8a709a9fdf9f1ff8a2c124cb5.jpg","text":"TemporaryFile(/tmp/multipartBody768455716010968330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_37_02_954326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2535897a3fe5f570e5a84a30a112d6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4081231832953706529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_38_03_100845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/823ba0bcd6db2a68aa6eecd3a73d2e24.jpg","text":"TemporaryFile(/tmp/multipartBody7945940298423326614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_38_03_100845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbe96b34d4e40aca4eb0ec9f8a40f90c.jpg","text":"TemporaryFile(/tmp/multipartBody9167537790615403176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349517254,"filename":"image_08012025_15_37_02_954326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327478706","file1":"1327478649","file0":"1327478645","file4":"1327478713","file5":"1327478715","file3":"1327478709"},"map_files_photo_id_array":[{"photo_id":"1327478715","filename":"file5"},{"photo_id":"1327478706","filename":"file2"},{"photo_id":"1327478713","filename":"file4"},{"photo_id":"1327478649","filename":"file1"},{"photo_id":"1327478645","filename":"file0"},{"photo_id":"1327478709","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327478715":["hashtag1","hashtag2"]},{"1327478709":["hashtag1","hashtag2"]},{"1327478645":["hashtag1","hashtag2"]},{"1327478713":["hashtag1","hashtag2"]},{"1327478706":["hashtag1","hashtag2"]},{"1327478649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327478715, 1327478709, 1327478645, 1327478713, 1327478706, 1327478649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55218696594238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:18:22.263700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0000.jpg', '/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0001.jpg', '/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0002.jpg', '/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0003.jpg', '/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0000.jpg', '/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0000.jpg
/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0001.jpg
/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0002.jpg
/home/pi/Desktop/images/08012025/15/39/image_08012025_15_39_02_180719_0003.jpg
/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0000.jpg
/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_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":["1327478852","1327479142","1327478857","1327478839","1327479198","1327479201"],"photo_ids_order":["1327478839","1327478852","1327478857","1327479142","1327479198","1327479201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6518ce26ead7aec5170ed99c20ccff27.jpg","text":"TemporaryFile(/tmp/multipartBody8889404071193748924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_39_02_180719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3821220f6414075d083436829e1269be.jpg","text":"TemporaryFile(/tmp/multipartBody9187774038956088148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_39_02_180719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4318aee53a87f9909c1b54527247212.jpg","text":"TemporaryFile(/tmp/multipartBody5175965213062087768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_39_02_180719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abde44cedef5c98f3815dfbf9a5ce6c2.jpg","text":"TemporaryFile(/tmp/multipartBody3300578529438938650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_39_02_180719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcbc8ead2c28407d17f0ffa11d92fb6a.jpg","text":"TemporaryFile(/tmp/multipartBody9145086651134650065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_40_02_415404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/934719edfd5bd87e8443ffb3ff28893c.jpg","text":"TemporaryFile(/tmp/multipartBody4827604897581598770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349577266,"filename":"image_08012025_15_40_02_415404_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327478857","file1":"1327478852","file0":"1327478839","file4":"1327479198","file5":"1327479201","file3":"1327479142"},"map_files_photo_id_array":[{"photo_id":"1327479201","filename":"file5"},{"photo_id":"1327478857","filename":"file2"},{"photo_id":"1327479198","filename":"file4"},{"photo_id":"1327478852","filename":"file1"},{"photo_id":"1327478839","filename":"file0"},{"photo_id":"1327479142","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327478852":["hashtag1","hashtag2"]},{"1327479142":["hashtag1","hashtag2"]},{"1327478857":["hashtag1","hashtag2"]},{"1327478839":["hashtag1","hashtag2"]},{"1327479198":["hashtag1","hashtag2"]},{"1327479201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327478852, 1327479142, 1327478857, 1327478839, 1327479198, 1327479201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52237033843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:19:22.408730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0002.jpg', '/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0003.jpg', '/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0000.jpg', '/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0001.jpg', '/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0002.jpg', '/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0002.jpg
/home/pi/Desktop/images/08012025/15/40/image_08012025_15_40_02_415404_0003.jpg
/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0000.jpg
/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0001.jpg
/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_0002.jpg
/home/pi/Desktop/images/08012025/15/41/image_08012025_15_41_02_491943_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":["1327479338","1327479370","1327479340","1327479334","1327479327","1327479342"],"photo_ids_order":["1327479327","1327479334","1327479338","1327479340","1327479342","1327479370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9665e4eb72e26c05c7ea7f20d8d96d61.jpg","text":"TemporaryFile(/tmp/multipartBody4887550148582789934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_41_02_491943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a91cabcc41fed2322af27c73efdd847e.jpg","text":"TemporaryFile(/tmp/multipartBody8663842890967003835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_41_02_491943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73944fb03e63dc6bad1073d50edd10a6.jpg","text":"TemporaryFile(/tmp/multipartBody4023199099452376575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_41_02_491943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ee8eecd2c6894c2ebd7e14707362c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1371811111682509484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_40_02_415404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6358dd6c222929b3971fecea5647805a.jpg","text":"TemporaryFile(/tmp/multipartBody6930302998516769338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_40_02_415404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c4d4cfe8f11f8c09c86e924c476c07e.jpg","text":"TemporaryFile(/tmp/multipartBody3626879289370734493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349637345,"filename":"image_08012025_15_41_02_491943_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479338","file1":"1327479334","file0":"1327479327","file4":"1327479342","file5":"1327479370","file3":"1327479340"},"map_files_photo_id_array":[{"photo_id":"1327479370","filename":"file5"},{"photo_id":"1327479338","filename":"file2"},{"photo_id":"1327479342","filename":"file4"},{"photo_id":"1327479334","filename":"file1"},{"photo_id":"1327479327","filename":"file0"},{"photo_id":"1327479340","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479338":["hashtag1","hashtag2"]},{"1327479370":["hashtag1","hashtag2"]},{"1327479340":["hashtag1","hashtag2"]},{"1327479334":["hashtag1","hashtag2"]},{"1327479327":["hashtag1","hashtag2"]},{"1327479342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479338, 1327479370, 1327479340, 1327479334, 1327479327, 1327479342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8339102268219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:20:22.558950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0000.jpg', '/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0001.jpg', '/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0002.jpg', '/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0003.jpg', '/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0000.jpg', '/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0000.jpg
/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0001.jpg
/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0002.jpg
/home/pi/Desktop/images/08012025/15/42/image_08012025_15_42_02_687017_0003.jpg
/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0000.jpg
/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_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":["1327479461","1327479455","1327479458","1327479451","1327479430","1327479426"],"photo_ids_order":["1327479426","1327479430","1327479451","1327479455","1327479458","1327479461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2c4afe8989e863d561f78d0c4cbbfb5.jpg","text":"TemporaryFile(/tmp/multipartBody5388054051972374239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_43_03_051793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/61c581612dabaf630d1649b799432341.jpg","text":"TemporaryFile(/tmp/multipartBody576887320396820480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_42_02_687017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ba87e416bd3213ad8d1103f202112da.jpg","text":"TemporaryFile(/tmp/multipartBody6392077814610092786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_43_03_051793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7601c806c14dc828ccd63977ca7c5414.jpg","text":"TemporaryFile(/tmp/multipartBody4685056099516371662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_42_02_687017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c97caafa6a121011a12517c8d728162.jpg","text":"TemporaryFile(/tmp/multipartBody6056982025249314866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_42_02_687017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55f8794e0d2e6ba8730781af199de825.jpg","text":"TemporaryFile(/tmp/multipartBody592897165364412697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349697614,"filename":"image_08012025_15_42_02_687017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479451","file1":"1327479430","file0":"1327479426","file4":"1327479458","file5":"1327479461","file3":"1327479455"},"map_files_photo_id_array":[{"photo_id":"1327479461","filename":"file5"},{"photo_id":"1327479451","filename":"file2"},{"photo_id":"1327479458","filename":"file4"},{"photo_id":"1327479430","filename":"file1"},{"photo_id":"1327479426","filename":"file0"},{"photo_id":"1327479455","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479461":["hashtag1","hashtag2"]},{"1327479455":["hashtag1","hashtag2"]},{"1327479458":["hashtag1","hashtag2"]},{"1327479451":["hashtag1","hashtag2"]},{"1327479430":["hashtag1","hashtag2"]},{"1327479426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479461, 1327479455, 1327479458, 1327479451, 1327479430, 1327479426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86815524101257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:21:22.750273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0002.jpg', '/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0003.jpg', '/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0000.jpg', '/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0001.jpg', '/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0002.jpg', '/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0002.jpg
/home/pi/Desktop/images/08012025/15/43/image_08012025_15_43_03_051793_0003.jpg
/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0000.jpg
/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0001.jpg
/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_0002.jpg
/home/pi/Desktop/images/08012025/15/44/image_08012025_15_44_03_167795_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":["1327479575","1327479527","1327479514","1327479525","1327479519","1327479510"],"photo_ids_order":["1327479510","1327479514","1327479519","1327479525","1327479527","1327479575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a11099229889fd7a4d77f03e4d31c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8041040488390713966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_44_03_167795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed0445dd997a79474c247432b0f2255e.jpg","text":"TemporaryFile(/tmp/multipartBody6907280848544456584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_44_03_167795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce464c2f3a1c2faa655ca6a02e7e4455.jpg","text":"TemporaryFile(/tmp/multipartBody7078986576068310970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_43_03_051793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec0cd56a69b619d957880399e91c493c.jpg","text":"TemporaryFile(/tmp/multipartBody6085364225957012925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_44_03_167795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d39e0f82683dfbe699a9b6ccdacec3e.jpg","text":"TemporaryFile(/tmp/multipartBody6409667972637154813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_44_03_167795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41508f48bd175fe7a3bf72189b49f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1494138792476524021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349757754,"filename":"image_08012025_15_43_03_051793_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479519","file1":"1327479514","file0":"1327479510","file4":"1327479527","file5":"1327479575","file3":"1327479525"},"map_files_photo_id_array":[{"photo_id":"1327479575","filename":"file5"},{"photo_id":"1327479519","filename":"file2"},{"photo_id":"1327479527","filename":"file4"},{"photo_id":"1327479514","filename":"file1"},{"photo_id":"1327479510","filename":"file0"},{"photo_id":"1327479525","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479575":["hashtag1","hashtag2"]},{"1327479527":["hashtag1","hashtag2"]},{"1327479514":["hashtag1","hashtag2"]},{"1327479525":["hashtag1","hashtag2"]},{"1327479519":["hashtag1","hashtag2"]},{"1327479510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479575, 1327479527, 1327479514, 1327479525, 1327479519, 1327479510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.327131271362305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:22:21.871552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0000.jpg', '/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0001.jpg', '/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0002.jpg', '/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0003.jpg', '/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0000.jpg', '/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0000.jpg
/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0001.jpg
/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0002.jpg
/home/pi/Desktop/images/08012025/15/45/image_08012025_15_45_02_313644_0003.jpg
/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0000.jpg
/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_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":["1327479872","1327479845","1327479862","1327479841","1327479850","1327479857"],"photo_ids_order":["1327479841","1327479845","1327479850","1327479857","1327479862","1327479872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27c69b341729c47657e6e70323243f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3008715093643038682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_46_02_467710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f784cf8fd9dcbaa0f53afb6f1c36b59.jpg","text":"TemporaryFile(/tmp/multipartBody7316465169971176507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_45_02_313644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9fba642dfcfe4326abfbed6a57b9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody9133642816597695387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_46_02_467710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d48bf705de795354a95ce20b1da7d396.jpg","text":"TemporaryFile(/tmp/multipartBody1461783334738613913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_45_02_313644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de1e218b904aee274d0d545c69ac0a32.jpg","text":"TemporaryFile(/tmp/multipartBody640182282590648449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_45_02_313644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e85fd3cf875e6f06a4b6951315655a6a.jpg","text":"TemporaryFile(/tmp/multipartBody566456167063851014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349817086,"filename":"image_08012025_15_45_02_313644_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479850","file1":"1327479845","file0":"1327479841","file4":"1327479862","file5":"1327479872","file3":"1327479857"},"map_files_photo_id_array":[{"photo_id":"1327479872","filename":"file5"},{"photo_id":"1327479850","filename":"file2"},{"photo_id":"1327479862","filename":"file4"},{"photo_id":"1327479845","filename":"file1"},{"photo_id":"1327479841","filename":"file0"},{"photo_id":"1327479857","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479872":["hashtag1","hashtag2"]},{"1327479845":["hashtag1","hashtag2"]},{"1327479862":["hashtag1","hashtag2"]},{"1327479841":["hashtag1","hashtag2"]},{"1327479850":["hashtag1","hashtag2"]},{"1327479857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479872, 1327479845, 1327479862, 1327479841, 1327479850, 1327479857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.185280561447144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:23:22.381079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0002.jpg', '/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0003.jpg', '/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0000.jpg', '/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0001.jpg', '/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0002.jpg', '/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0002.jpg
/home/pi/Desktop/images/08012025/15/46/image_08012025_15_46_02_467710_0003.jpg
/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0000.jpg
/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0001.jpg
/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_0002.jpg
/home/pi/Desktop/images/08012025/15/47/image_08012025_15_47_02_784794_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":["1327479902","1327479905","1327479900","1327479893","1327479899","1327479890"],"photo_ids_order":["1327479890","1327479893","1327479899","1327479900","1327479902","1327479905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04bac0feb04fbc5b470de58448ec44a9.jpg","text":"TemporaryFile(/tmp/multipartBody5781686202802725413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_47_02_784794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cbd7cd0a53a29dc4038bd0961cc9b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2805529846824378921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_47_02_784794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/376f34353927cd7f65d99b691e9156db.jpg","text":"TemporaryFile(/tmp/multipartBody6545112850516137396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_47_02_784794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c7bc99bd46946c28cdde76561a3fb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7685906977387780141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_46_02_467710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0549b5c797f74b2f710cc83fd6795a92.jpg","text":"TemporaryFile(/tmp/multipartBody7870233004009806517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_47_02_784794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8748443c2fec165c84529179b3e4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody653942251912031295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349877529,"filename":"image_08012025_15_46_02_467710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479899","file1":"1327479893","file0":"1327479890","file4":"1327479902","file5":"1327479905","file3":"1327479900"},"map_files_photo_id_array":[{"photo_id":"1327479905","filename":"file5"},{"photo_id":"1327479899","filename":"file2"},{"photo_id":"1327479902","filename":"file4"},{"photo_id":"1327479893","filename":"file1"},{"photo_id":"1327479890","filename":"file0"},{"photo_id":"1327479900","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479902":["hashtag1","hashtag2"]},{"1327479905":["hashtag1","hashtag2"]},{"1327479900":["hashtag1","hashtag2"]},{"1327479893":["hashtag1","hashtag2"]},{"1327479899":["hashtag1","hashtag2"]},{"1327479890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479902, 1327479905, 1327479900, 1327479893, 1327479899, 1327479890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.80249810218811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:24:22.614082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0000.jpg', '/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0001.jpg', '/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0002.jpg', '/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0003.jpg', '/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0000.jpg', '/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0000.jpg
/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0001.jpg
/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0002.jpg
/home/pi/Desktop/images/08012025/15/48/image_08012025_15_48_02_957401_0003.jpg
/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0000.jpg
/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_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":["1327479926","1327479929","1327479920","1327479917","1327479931","1327479928"],"photo_ids_order":["1327479917","1327479920","1327479926","1327479928","1327479929","1327479931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/962b7453a56f33bf303d5f5b3d4a0571.jpg","text":"TemporaryFile(/tmp/multipartBody2823685997322485903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_48_02_957401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b3a43e19fa2fce7be2a007fa22bc59f.jpg","text":"TemporaryFile(/tmp/multipartBody4671267213198763327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_49_03_154861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d15b7f1bef4d4dd6e0bc316ebefeefda.jpg","text":"TemporaryFile(/tmp/multipartBody7263968506020836649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_48_02_957401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ca9393a17826c61dd6d097eb79e1760.jpg","text":"TemporaryFile(/tmp/multipartBody6544247726302879205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_48_02_957401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d07907e7276cd3ea34bf2e2ac094a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody8512791505938689587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_49_03_154861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d7e693a37ff65f017b6bd6f07af8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody833826532115404603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349937840,"filename":"image_08012025_15_48_02_957401_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327479926","file1":"1327479920","file0":"1327479917","file4":"1327479929","file5":"1327479931","file3":"1327479928"},"map_files_photo_id_array":[{"photo_id":"1327479931","filename":"file5"},{"photo_id":"1327479926","filename":"file2"},{"photo_id":"1327479929","filename":"file4"},{"photo_id":"1327479920","filename":"file1"},{"photo_id":"1327479917","filename":"file0"},{"photo_id":"1327479928","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327479926":["hashtag1","hashtag2"]},{"1327479929":["hashtag1","hashtag2"]},{"1327479920":["hashtag1","hashtag2"]},{"1327479917":["hashtag1","hashtag2"]},{"1327479931":["hashtag1","hashtag2"]},{"1327479928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327479926, 1327479929, 1327479920, 1327479917, 1327479931, 1327479928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49065613746643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:25:22.685350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0002.jpg', '/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0003.jpg', '/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0000.jpg', '/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0001.jpg', '/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0002.jpg', '/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0002.jpg
/home/pi/Desktop/images/08012025/15/49/image_08012025_15_49_03_154861_0003.jpg
/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0000.jpg
/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0001.jpg
/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_0002.jpg
/home/pi/Desktop/images/08012025/15/50/image_08012025_15_50_02_318673_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":["1327480946","1327480570","1327480963","1327480276","1327480956","1327480878"],"photo_ids_order":["1327480276","1327480570","1327480878","1327480946","1327480956","1327480963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/174595780c1110bd7b4e3e19aa8dc200.jpg","text":"TemporaryFile(/tmp/multipartBody8278705413947919952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_50_02_318673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dc754f7564bd0377b7360a8e4655a04.jpg","text":"TemporaryFile(/tmp/multipartBody2974209193464760137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_49_03_154861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13b3b0a6b54376ecdd939ae87de21e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7800180514812098861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_50_02_318673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0dcea558afcadd9cf7c3fb1637a8ae97.jpg","text":"TemporaryFile(/tmp/multipartBody7622013630631193452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_49_03_154861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/659f6ceb7670673070610a99c9cb260f.jpg","text":"TemporaryFile(/tmp/multipartBody388135135298301583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_50_02_318673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79c7ce5e5fbe6c3c8bd9093a831e75cd.jpg","text":"TemporaryFile(/tmp/multipartBody4925857503974689124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736349997859,"filename":"image_08012025_15_50_02_318673_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327480878","file1":"1327480570","file0":"1327480276","file4":"1327480956","file5":"1327480963","file3":"1327480946"},"map_files_photo_id_array":[{"photo_id":"1327480963","filename":"file5"},{"photo_id":"1327480878","filename":"file2"},{"photo_id":"1327480956","filename":"file4"},{"photo_id":"1327480570","filename":"file1"},{"photo_id":"1327480276","filename":"file0"},{"photo_id":"1327480946","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327480946":["hashtag1","hashtag2"]},{"1327480570":["hashtag1","hashtag2"]},{"1327480963":["hashtag1","hashtag2"]},{"1327480276":["hashtag1","hashtag2"]},{"1327480956":["hashtag1","hashtag2"]},{"1327480878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327480946, 1327480570, 1327480963, 1327480276, 1327480956, 1327480878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.08040261268616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:26:21.864490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0000.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0001.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0002.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0003.jpg', '/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0000.jpg', '/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0000.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0001.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0002.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0003.jpg
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0000.jpg
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_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.755519151687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:26:41.920232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0000.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0001.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0002.jpg', '/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0003.jpg', '/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0000.jpg', '/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0000.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0001.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0002.jpg
/home/pi/Desktop/images/08012025/15/51/image_08012025_15_51_02_532864_0003.jpg
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0000.jpg
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_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":["1327480994","1327480988","1327480997","1327480996","1327481029","1327480992"],"photo_ids_order":["1327480988","1327480992","1327480994","1327480996","1327480997","1327481029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d86a6ca3902c0e0c1ded100e3a0b8426.jpg","text":"TemporaryFile(/tmp/multipartBody283813081714593419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_51_02_532864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/789ae4d0afeb5108a279b751821a6198.jpg","text":"TemporaryFile(/tmp/multipartBody6959936177944910911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_51_02_532864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5ed0285d472697cf6da5624789cda00.jpg","text":"TemporaryFile(/tmp/multipartBody2019704628209061243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_52_02_649147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b266815478042a94ec48e35c03f8f2e.jpg","text":"TemporaryFile(/tmp/multipartBody9074231149573637743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_51_02_532864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa424f0c292863a510ca46483a4e025b.jpg","text":"TemporaryFile(/tmp/multipartBody3484589588869925498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_52_02_649147_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7101614f865d4b87cb6aab17212549c6.jpg","text":"TemporaryFile(/tmp/multipartBody3998005358440535316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350077086,"filename":"image_08012025_15_51_02_532864_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327480994","file1":"1327480992","file0":"1327480988","file4":"1327480997","file5":"1327481029","file3":"1327480996"},"map_files_photo_id_array":[{"photo_id":"1327481029","filename":"file5"},{"photo_id":"1327480994","filename":"file2"},{"photo_id":"1327480997","filename":"file4"},{"photo_id":"1327480992","filename":"file1"},{"photo_id":"1327480988","filename":"file0"},{"photo_id":"1327480996","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327480994":["hashtag1","hashtag2"]},{"1327480988":["hashtag1","hashtag2"]},{"1327480997":["hashtag1","hashtag2"]},{"1327480996":["hashtag1","hashtag2"]},{"1327481029":["hashtag1","hashtag2"]},{"1327480992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327480994, 1327480988, 1327480997, 1327480996, 1327481029, 1327480992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53277230262756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:27:42.156618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0002.jpg', '/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0003.jpg', '/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0000.jpg', '/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0001.jpg', '/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0002.jpg', '/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0002.jpg
/home/pi/Desktop/images/08012025/15/52/image_08012025_15_52_02_649147_0003.jpg
/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0000.jpg
/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0001.jpg
/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_0002.jpg
/home/pi/Desktop/images/08012025/15/53/image_08012025_15_53_02_806689_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":["1327481651","1327481572","1327481689","1327481577","1327481574","1327481649"],"photo_ids_order":["1327481572","1327481574","1327481577","1327481649","1327481651","1327481689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/737a232f71796af6b33df83b1e6f1054.jpg","text":"TemporaryFile(/tmp/multipartBody5069781387101264257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_53_02_806689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc958e66beeb95ed21a14ff1b8370966.jpg","text":"TemporaryFile(/tmp/multipartBody4704191434148717780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_52_02_649147_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6866bc93d3e18a7b34b5c1618c4386eb.jpg","text":"TemporaryFile(/tmp/multipartBody6734178813966143761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_53_02_806689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd061585ccbd21a2ff5c8ca50b1ff601.jpg","text":"TemporaryFile(/tmp/multipartBody1626745876010711521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_53_02_806689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/022797518f12c9a84763d2c0efbdd80e.jpg","text":"TemporaryFile(/tmp/multipartBody849005992819894065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_52_02_649147_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fed68a986965a69be3764da4b7f2437.jpg","text":"TemporaryFile(/tmp/multipartBody6738587965622140750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350137384,"filename":"image_08012025_15_53_02_806689_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481577","file1":"1327481574","file0":"1327481572","file4":"1327481651","file5":"1327481689","file3":"1327481649"},"map_files_photo_id_array":[{"photo_id":"1327481689","filename":"file5"},{"photo_id":"1327481577","filename":"file2"},{"photo_id":"1327481651","filename":"file4"},{"photo_id":"1327481574","filename":"file1"},{"photo_id":"1327481572","filename":"file0"},{"photo_id":"1327481649","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481651":["hashtag1","hashtag2"]},{"1327481572":["hashtag1","hashtag2"]},{"1327481689":["hashtag1","hashtag2"]},{"1327481577":["hashtag1","hashtag2"]},{"1327481574":["hashtag1","hashtag2"]},{"1327481649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481651, 1327481572, 1327481689, 1327481577, 1327481574, 1327481649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.06619620323181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:28:42.241057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0000.jpg', '/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0001.jpg', '/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0002.jpg', '/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0003.jpg', '/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0000.jpg', '/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0000.jpg
/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0001.jpg
/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0002.jpg
/home/pi/Desktop/images/08012025/15/54/image_08012025_15_54_03_207571_0003.jpg
/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0000.jpg
/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_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":["1327481717","1327481729","1327481704","1327481739","1327481724","1327481721"],"photo_ids_order":["1327481704","1327481717","1327481721","1327481724","1327481729","1327481739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e370485d5fca1708636a65419b20baa1.jpg","text":"TemporaryFile(/tmp/multipartBody6850722769116308907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_54_03_207571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e72937659a1a092a4a1cfc3ed81d7d0.jpg","text":"TemporaryFile(/tmp/multipartBody3177948191763301797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_55_02_197464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97bc844d0b5bff5d65055d5db60add56.jpg","text":"TemporaryFile(/tmp/multipartBody3246748877479406833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_54_03_207571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6edf134ea6fe7fa8b67a581e35650cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7057027849711230452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_55_02_197464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f96df789ed65eb0252c3b4065c853d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5127869276870137828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_54_03_207571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f56958451589231aca8ee89e9d74c142.jpg","text":"TemporaryFile(/tmp/multipartBody8956103477055746335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350197320,"filename":"image_08012025_15_54_03_207571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481721","file1":"1327481717","file0":"1327481704","file4":"1327481729","file5":"1327481739","file3":"1327481724"},"map_files_photo_id_array":[{"photo_id":"1327481739","filename":"file5"},{"photo_id":"1327481721","filename":"file2"},{"photo_id":"1327481729","filename":"file4"},{"photo_id":"1327481717","filename":"file1"},{"photo_id":"1327481704","filename":"file0"},{"photo_id":"1327481724","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481717":["hashtag1","hashtag2"]},{"1327481729":["hashtag1","hashtag2"]},{"1327481704":["hashtag1","hashtag2"]},{"1327481739":["hashtag1","hashtag2"]},{"1327481724":["hashtag1","hashtag2"]},{"1327481721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481717, 1327481729, 1327481704, 1327481739, 1327481724, 1327481721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.058608531951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:29:52.371156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0002.jpg', '/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0003.jpg', '/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0000.jpg', '/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0001.jpg', '/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0002.jpg', '/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0002.jpg
/home/pi/Desktop/images/08012025/15/55/image_08012025_15_55_02_197464_0003.jpg
/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0000.jpg
/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0001.jpg
/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_0002.jpg
/home/pi/Desktop/images/08012025/15/56/image_08012025_15_56_02_384545_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":["1327481782","1327481779","1327481758","1327481761","1327481787","1327481771"],"photo_ids_order":["1327481758","1327481761","1327481771","1327481779","1327481782","1327481787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/344ac7e1a058fd2af6622b7405a46dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1928180669076722321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_56_02_384545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7f0f75a7ed2bdac933d88a478f64702.jpg","text":"TemporaryFile(/tmp/multipartBody988679594071436765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_56_02_384545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84f065385d2c5aed51140ba45b61bf90.jpg","text":"TemporaryFile(/tmp/multipartBody6973671494187765586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_55_02_197464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b3721ce0423305110df88f34731d2e1.jpg","text":"TemporaryFile(/tmp/multipartBody3764860134596863561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_55_02_197464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1a9a14594ada0a01c6a619335203010.jpg","text":"TemporaryFile(/tmp/multipartBody3145191381690604465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_56_02_384545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce27ac43040961c7a9c09284391d08e0.jpg","text":"TemporaryFile(/tmp/multipartBody9139903979913914971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350267637,"filename":"image_08012025_15_56_02_384545_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481771","file1":"1327481761","file0":"1327481758","file4":"1327481782","file5":"1327481787","file3":"1327481779"},"map_files_photo_id_array":[{"photo_id":"1327481787","filename":"file5"},{"photo_id":"1327481771","filename":"file2"},{"photo_id":"1327481782","filename":"file4"},{"photo_id":"1327481761","filename":"file1"},{"photo_id":"1327481758","filename":"file0"},{"photo_id":"1327481779","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481782":["hashtag1","hashtag2"]},{"1327481779":["hashtag1","hashtag2"]},{"1327481758":["hashtag1","hashtag2"]},{"1327481761":["hashtag1","hashtag2"]},{"1327481787":["hashtag1","hashtag2"]},{"1327481771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481782, 1327481779, 1327481758, 1327481761, 1327481787, 1327481771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78441023826599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:30:52.555232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0000.jpg', '/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0001.jpg', '/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0002.jpg', '/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0003.jpg', '/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0000.jpg', '/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0000.jpg
/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0001.jpg
/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0002.jpg
/home/pi/Desktop/images/08012025/15/57/image_08012025_15_57_02_544167_0003.jpg
/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0000.jpg
/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_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":["1327481816","1327481825","1327481813","1327481830","1327481809","1327481820"],"photo_ids_order":["1327481809","1327481813","1327481816","1327481820","1327481825","1327481830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e35a184140ab6ad67e41605da43ed988.jpg","text":"TemporaryFile(/tmp/multipartBody1220340629923886919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_57_02_544167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0695d321abafb111da2505d24781212.jpg","text":"TemporaryFile(/tmp/multipartBody1241926492455538791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_58_02_741545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dcb4aea5b551964af8b4e9a4421b976d.jpg","text":"TemporaryFile(/tmp/multipartBody164380523441057637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_57_02_544167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad160c003d9de151bbdef419ccbca49b.jpg","text":"TemporaryFile(/tmp/multipartBody5948503271979664831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_58_02_741545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6fd9253449e65f0576aae53d1e8b8d5a.jpg","text":"TemporaryFile(/tmp/multipartBody4168247826675633827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_57_02_544167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cd356bda7d4bd27ae8cf8d6d5bcc381.jpg","text":"TemporaryFile(/tmp/multipartBody5425804409849884395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350327879,"filename":"image_08012025_15_57_02_544167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481816","file1":"1327481813","file0":"1327481809","file4":"1327481825","file5":"1327481830","file3":"1327481820"},"map_files_photo_id_array":[{"photo_id":"1327481830","filename":"file5"},{"photo_id":"1327481816","filename":"file2"},{"photo_id":"1327481825","filename":"file4"},{"photo_id":"1327481813","filename":"file1"},{"photo_id":"1327481809","filename":"file0"},{"photo_id":"1327481820","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481816":["hashtag1","hashtag2"]},{"1327481825":["hashtag1","hashtag2"]},{"1327481813":["hashtag1","hashtag2"]},{"1327481830":["hashtag1","hashtag2"]},{"1327481809":["hashtag1","hashtag2"]},{"1327481820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481816, 1327481825, 1327481813, 1327481830, 1327481809, 1327481820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44413614273071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:31:52.730410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0002.jpg', '/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0003.jpg', '/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0000.jpg', '/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0001.jpg', '/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0002.jpg', '/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0002.jpg
/home/pi/Desktop/images/08012025/15/58/image_08012025_15_58_02_741545_0003.jpg
/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0000.jpg
/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0001.jpg
/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_0002.jpg
/home/pi/Desktop/images/08012025/15/59/image_08012025_15_59_02_955385_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":["1327481855","1327481843","1327481846","1327481839","1327481841","1327481850"],"photo_ids_order":["1327481839","1327481841","1327481843","1327481846","1327481850","1327481855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4305637b570be43ca9bda27bf6fc60c.jpg","text":"TemporaryFile(/tmp/multipartBody8388178846208974101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_59_02_955385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/347e3b618a1db333ea65f609c8889e42.jpg","text":"TemporaryFile(/tmp/multipartBody6475565072065153158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_59_02_955385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57f870a5f993942162560502a61d1599.jpg","text":"TemporaryFile(/tmp/multipartBody501646886510538398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_59_02_955385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8e82246253d61198f8bad8d6cf3e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2314614090169404455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_58_02_741545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a013827dddfad916bee10156ccbaceb8.jpg","text":"TemporaryFile(/tmp/multipartBody1499387813052397741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_58_02_741545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/233102dc11c759adefe7c27627a7942f.jpg","text":"TemporaryFile(/tmp/multipartBody97337239797412874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350387905,"filename":"image_08012025_15_59_02_955385_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481843","file1":"1327481841","file0":"1327481839","file4":"1327481850","file5":"1327481855","file3":"1327481846"},"map_files_photo_id_array":[{"photo_id":"1327481855","filename":"file5"},{"photo_id":"1327481843","filename":"file2"},{"photo_id":"1327481850","filename":"file4"},{"photo_id":"1327481841","filename":"file1"},{"photo_id":"1327481839","filename":"file0"},{"photo_id":"1327481846","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481855":["hashtag1","hashtag2"]},{"1327481843":["hashtag1","hashtag2"]},{"1327481846":["hashtag1","hashtag2"]},{"1327481839":["hashtag1","hashtag2"]},{"1327481841":["hashtag1","hashtag2"]},{"1327481850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481855, 1327481843, 1327481846, 1327481839, 1327481841, 1327481850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.741371393203735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:32:51.940162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0000.jpg', '/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0001.jpg', '/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0002.jpg', '/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0003.jpg', '/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0000.jpg', '/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0000.jpg
/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0001.jpg
/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0002.jpg
/home/pi/Desktop/images/08012025/16/00/image_08012025_16_00_03_203665_0003.jpg
/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0000.jpg
/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_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":["1327481875","1327481887","1327481883","1327481877","1327481891","1327481879"],"photo_ids_order":["1327481875","1327481877","1327481879","1327481883","1327481887","1327481891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ae8c341aef70abf639be06c0a61bf30.jpg","text":"TemporaryFile(/tmp/multipartBody5661730140468278384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_00_03_203665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cb19a8490b66a953994daa6327dac31.jpg","text":"TemporaryFile(/tmp/multipartBody2766468203672958673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_01_02_274000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ddd2f36e0f7f3cb24a4d4e21906305a.jpg","text":"TemporaryFile(/tmp/multipartBody4381885525992473996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_00_03_203665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75ea62e17e3d559839ff4e9471d19614.jpg","text":"TemporaryFile(/tmp/multipartBody7634916510673253877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_00_03_203665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d0072c1d0684464443f80be46b8f27c.jpg","text":"TemporaryFile(/tmp/multipartBody6445848654649573027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_01_02_274000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d3db53c0fbfc903faa91d788850f55e.jpg","text":"TemporaryFile(/tmp/multipartBody2927745428301474649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350447128,"filename":"image_08012025_16_00_03_203665_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327481879","file1":"1327481877","file0":"1327481875","file4":"1327481887","file5":"1327481891","file3":"1327481883"},"map_files_photo_id_array":[{"photo_id":"1327481891","filename":"file5"},{"photo_id":"1327481879","filename":"file2"},{"photo_id":"1327481887","filename":"file4"},{"photo_id":"1327481877","filename":"file1"},{"photo_id":"1327481875","filename":"file0"},{"photo_id":"1327481883","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481875":["hashtag1","hashtag2"]},{"1327481887":["hashtag1","hashtag2"]},{"1327481883":["hashtag1","hashtag2"]},{"1327481877":["hashtag1","hashtag2"]},{"1327481891":["hashtag1","hashtag2"]},{"1327481879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481875, 1327481887, 1327481883, 1327481877, 1327481891, 1327481879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.0893657207489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:33:52.064271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0002.jpg', '/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0003.jpg', '/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0000.jpg', '/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0001.jpg', '/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0002.jpg', '/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0002.jpg
/home/pi/Desktop/images/08012025/16/01/image_08012025_16_01_02_274000_0003.jpg
/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0000.jpg
/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0001.jpg
/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_0002.jpg
/home/pi/Desktop/images/08012025/16/02/image_08012025_16_02_02_486379_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":["1327481974","1327481906","1327482040","1327482048","1327482036","1327482044"],"photo_ids_order":["1327481906","1327481974","1327482036","1327482040","1327482044","1327482048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/875c00596e292018b6a6afd9dbe7d067.jpg","text":"TemporaryFile(/tmp/multipartBody1555618103364735765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_01_02_274000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d1667d4b633070eb496d88502730fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6288622131560322247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_01_02_274000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a50e2100c3130632fa7830af14f98a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3239013418583221500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_02_02_486379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06ff3c61db8370d326592899dbc93761.jpg","text":"TemporaryFile(/tmp/multipartBody8495476674125455429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_02_02_486379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4d000e278e3215c9b684ba85cb37948.jpg","text":"TemporaryFile(/tmp/multipartBody2803538472706490321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_02_02_486379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d6d926a8987521d5c7f768f235edc2a.jpg","text":"TemporaryFile(/tmp/multipartBody3957967888935308441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350507258,"filename":"image_08012025_16_02_02_486379_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482036","file1":"1327481974","file0":"1327481906","file4":"1327482044","file5":"1327482048","file3":"1327482040"},"map_files_photo_id_array":[{"photo_id":"1327482048","filename":"file5"},{"photo_id":"1327482036","filename":"file2"},{"photo_id":"1327482044","filename":"file4"},{"photo_id":"1327481974","filename":"file1"},{"photo_id":"1327481906","filename":"file0"},{"photo_id":"1327482040","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327481974":["hashtag1","hashtag2"]},{"1327481906":["hashtag1","hashtag2"]},{"1327482040":["hashtag1","hashtag2"]},{"1327482048":["hashtag1","hashtag2"]},{"1327482036":["hashtag1","hashtag2"]},{"1327482044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327481974, 1327481906, 1327482040, 1327482048, 1327482036, 1327482044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.754507541656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:34:52.243932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0000.jpg', '/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0001.jpg', '/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0002.jpg', '/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0003.jpg', '/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0000.jpg', '/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0000.jpg
/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0001.jpg
/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0002.jpg
/home/pi/Desktop/images/08012025/16/03/image_08012025_16_03_02_651857_0003.jpg
/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0000.jpg
/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_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":["1327482101","1327482091","1327482088","1327482082","1327482076","1327482072"],"photo_ids_order":["1327482072","1327482076","1327482082","1327482088","1327482091","1327482101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a600a467a947d67cc3229b979149c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3098803445207658355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_04_02_894154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0caaed200a34f536906e9ef0347e9ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8471897251811318398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_04_02_894154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/147d1b3f682c3c077da4a25a1c1859ec.jpg","text":"TemporaryFile(/tmp/multipartBody6413569817468444610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_03_02_651857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4810b72e466949cacff836af29e91c2.jpg","text":"TemporaryFile(/tmp/multipartBody2930673469801260669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_03_02_651857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df03c7edef69128554c2009d65d41329.jpg","text":"TemporaryFile(/tmp/multipartBody7948645022838658765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_03_02_651857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9da3a37d6c8d25dd13d44f056f4debed.jpg","text":"TemporaryFile(/tmp/multipartBody2998686693145233333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350567354,"filename":"image_08012025_16_03_02_651857_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482082","file1":"1327482076","file0":"1327482072","file4":"1327482091","file5":"1327482101","file3":"1327482088"},"map_files_photo_id_array":[{"photo_id":"1327482101","filename":"file5"},{"photo_id":"1327482082","filename":"file2"},{"photo_id":"1327482091","filename":"file4"},{"photo_id":"1327482076","filename":"file1"},{"photo_id":"1327482072","filename":"file0"},{"photo_id":"1327482088","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482101":["hashtag1","hashtag2"]},{"1327482091":["hashtag1","hashtag2"]},{"1327482088":["hashtag1","hashtag2"]},{"1327482082":["hashtag1","hashtag2"]},{"1327482076":["hashtag1","hashtag2"]},{"1327482072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482101, 1327482091, 1327482088, 1327482082, 1327482076, 1327482072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74840426445007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:35:52.425073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0002.jpg', '/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0003.jpg', '/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0000.jpg', '/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0001.jpg', '/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0002.jpg', '/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0002.jpg
/home/pi/Desktop/images/08012025/16/04/image_08012025_16_04_02_894154_0003.jpg
/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0000.jpg
/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0001.jpg
/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_0002.jpg
/home/pi/Desktop/images/08012025/16/05/image_08012025_16_05_03_043624_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":["1327482172","1327482175","1327482169","1327482240","1327482141","1327482143"],"photo_ids_order":["1327482141","1327482143","1327482169","1327482172","1327482175","1327482240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/477d2b02e12451aa712ead15c4aaaa73.jpg","text":"TemporaryFile(/tmp/multipartBody7144676014607323269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_05_03_043624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16111a6af87fca8a516261e04b544c23.jpg","text":"TemporaryFile(/tmp/multipartBody7467008339853061152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_05_03_043624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7b9d48be80b1febadfd44bd7a430110.jpg","text":"TemporaryFile(/tmp/multipartBody559441145360659897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_05_03_043624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9a7fa9f0cc0c9b5ab577821b8a257d0.jpg","text":"TemporaryFile(/tmp/multipartBody5676056187971283245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_05_03_043624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c49001424e15ce279682b29dc54f7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3856638463360224055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_04_02_894154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e883b435f4cde74da6312ec9cbb535b.jpg","text":"TemporaryFile(/tmp/multipartBody6307815232588150471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350627623,"filename":"image_08012025_16_04_02_894154_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482169","file1":"1327482143","file0":"1327482141","file4":"1327482175","file5":"1327482240","file3":"1327482172"},"map_files_photo_id_array":[{"photo_id":"1327482240","filename":"file5"},{"photo_id":"1327482169","filename":"file2"},{"photo_id":"1327482175","filename":"file4"},{"photo_id":"1327482143","filename":"file1"},{"photo_id":"1327482141","filename":"file0"},{"photo_id":"1327482172","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482172":["hashtag1","hashtag2"]},{"1327482175":["hashtag1","hashtag2"]},{"1327482169":["hashtag1","hashtag2"]},{"1327482240":["hashtag1","hashtag2"]},{"1327482141":["hashtag1","hashtag2"]},{"1327482143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482172, 1327482175, 1327482169, 1327482240, 1327482141, 1327482143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71777558326721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:36:52.591666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0000.jpg', '/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0001.jpg', '/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0002.jpg', '/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0003.jpg', '/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0000.jpg', '/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0000.jpg
/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0001.jpg
/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0002.jpg
/home/pi/Desktop/images/08012025/16/06/image_08012025_16_06_02_225363_0003.jpg
/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0000.jpg
/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_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":["1327482259","1327482250","1327482264","1327482252","1327482269","1327482254"],"photo_ids_order":["1327482250","1327482252","1327482254","1327482259","1327482264","1327482269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4d328fa9aab4fb61dc793220cbb1330.jpg","text":"TemporaryFile(/tmp/multipartBody1074742916292581962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_06_02_225363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd183c18e997506b9a64487959c920bb.jpg","text":"TemporaryFile(/tmp/multipartBody7607707858162416403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_06_02_225363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99ceacd1ece9f78cb8a3c61f10cd9872.jpg","text":"TemporaryFile(/tmp/multipartBody6018608858730057994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_07_02_395694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75497feca92a49c3a07b8c8ce68397b2.jpg","text":"TemporaryFile(/tmp/multipartBody7486116195667490641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_06_02_225363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cb1c0d35e267f87c314b65c83adf787.jpg","text":"TemporaryFile(/tmp/multipartBody9186545616112475942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_07_02_395694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65b0b4713bbfde4029433fcb4ea0c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3035966041673612908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350687836,"filename":"image_08012025_16_06_02_225363_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482254","file1":"1327482252","file0":"1327482250","file4":"1327482264","file5":"1327482269","file3":"1327482259"},"map_files_photo_id_array":[{"photo_id":"1327482269","filename":"file5"},{"photo_id":"1327482254","filename":"file2"},{"photo_id":"1327482264","filename":"file4"},{"photo_id":"1327482252","filename":"file1"},{"photo_id":"1327482250","filename":"file0"},{"photo_id":"1327482259","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482259":["hashtag1","hashtag2"]},{"1327482250":["hashtag1","hashtag2"]},{"1327482264":["hashtag1","hashtag2"]},{"1327482252":["hashtag1","hashtag2"]},{"1327482269":["hashtag1","hashtag2"]},{"1327482254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482259, 1327482250, 1327482264, 1327482252, 1327482269, 1327482254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.492953062057495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:37:51.805978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0002.jpg', '/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0003.jpg', '/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0000.jpg', '/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0001.jpg', '/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0002.jpg', '/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0002.jpg
/home/pi/Desktop/images/08012025/16/07/image_08012025_16_07_02_395694_0003.jpg
/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0000.jpg
/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0001.jpg
/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_0002.jpg
/home/pi/Desktop/images/08012025/16/08/image_08012025_16_08_02_535140_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":["1327482286","1327482289","1327482294","1327482282","1327482291","1327482284"],"photo_ids_order":["1327482282","1327482284","1327482286","1327482289","1327482291","1327482294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90a190346279f7834cb8c8e5ad16313c.jpg","text":"TemporaryFile(/tmp/multipartBody4089080089680124443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_08_02_535140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5290f9dacab5b88ce027c3b3b698378d.jpg","text":"TemporaryFile(/tmp/multipartBody5043873582306656068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_08_02_535140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6bbaf36ce492c720b1613cd77c06e32c.jpg","text":"TemporaryFile(/tmp/multipartBody1409583770548299391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_08_02_535140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7da83d103930d0b632ceaaf7400ad8c5.jpg","text":"TemporaryFile(/tmp/multipartBody5342005674150816139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_07_02_395694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbc070635fe410313dea5afb9fa4dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody554922043768529749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_08_02_535140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e66f015d27285efd43c8e0ad5990634f.jpg","text":"TemporaryFile(/tmp/multipartBody1160386709559076019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350746945,"filename":"image_08012025_16_07_02_395694_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482286","file1":"1327482284","file0":"1327482282","file4":"1327482291","file5":"1327482294","file3":"1327482289"},"map_files_photo_id_array":[{"photo_id":"1327482294","filename":"file5"},{"photo_id":"1327482286","filename":"file2"},{"photo_id":"1327482291","filename":"file4"},{"photo_id":"1327482284","filename":"file1"},{"photo_id":"1327482282","filename":"file0"},{"photo_id":"1327482289","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482286":["hashtag1","hashtag2"]},{"1327482289":["hashtag1","hashtag2"]},{"1327482294":["hashtag1","hashtag2"]},{"1327482282":["hashtag1","hashtag2"]},{"1327482291":["hashtag1","hashtag2"]},{"1327482284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482286, 1327482289, 1327482294, 1327482282, 1327482291, 1327482284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72424864768982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:38:51.977094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0000.jpg', '/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0001.jpg', '/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0002.jpg', '/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0003.jpg', '/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0000.jpg', '/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0000.jpg
/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0001.jpg
/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0002.jpg
/home/pi/Desktop/images/08012025/16/09/image_08012025_16_09_02_837378_0003.jpg
/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0000.jpg
/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_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":["1327482329","1327482325","1327482319","1327482327","1327482321","1327482332"],"photo_ids_order":["1327482319","1327482321","1327482325","1327482327","1327482329","1327482332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c75b5de7b955a117823ca9b29073339.jpg","text":"TemporaryFile(/tmp/multipartBody5755181768866032330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_10_03_081704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9331931add3f9b474fa7510436077817.jpg","text":"TemporaryFile(/tmp/multipartBody8689816458330153860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_09_02_837378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0b8f6bbac9c1dc369f2f27a985203cb.jpg","text":"TemporaryFile(/tmp/multipartBody6168084913619917753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_09_02_837378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc698f5b336ecc7fb5e739cdf28e7c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1618041877486097017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_09_02_837378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d94ae551d35e1c4a3dd16e7c6aff2a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7004126556578992090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_09_02_837378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e678ba702b2b6e0f5db817d33f2439d.jpg","text":"TemporaryFile(/tmp/multipartBody3675554820960895876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350807263,"filename":"image_08012025_16_10_03_081704_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482325","file1":"1327482321","file0":"1327482319","file4":"1327482329","file5":"1327482332","file3":"1327482327"},"map_files_photo_id_array":[{"photo_id":"1327482332","filename":"file5"},{"photo_id":"1327482325","filename":"file2"},{"photo_id":"1327482329","filename":"file4"},{"photo_id":"1327482321","filename":"file1"},{"photo_id":"1327482319","filename":"file0"},{"photo_id":"1327482327","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482329":["hashtag1","hashtag2"]},{"1327482325":["hashtag1","hashtag2"]},{"1327482319":["hashtag1","hashtag2"]},{"1327482327":["hashtag1","hashtag2"]},{"1327482321":["hashtag1","hashtag2"]},{"1327482332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482329, 1327482325, 1327482319, 1327482327, 1327482321, 1327482332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34765434265137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:39:52.153285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0002.jpg', '/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0003.jpg', '/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0000.jpg', '/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0001.jpg', '/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0002.jpg', '/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0002.jpg
/home/pi/Desktop/images/08012025/16/10/image_08012025_16_10_03_081704_0003.jpg
/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0000.jpg
/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0001.jpg
/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_0002.jpg
/home/pi/Desktop/images/08012025/16/11/image_08012025_16_11_02_242574_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":["1327482367","1327482361","1327482390","1327482363","1327482357","1327482395"],"photo_ids_order":["1327482357","1327482361","1327482363","1327482367","1327482390","1327482395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3e5a693b418519f1919f0c5cf47bdf2.jpg","text":"TemporaryFile(/tmp/multipartBody2302893745871391712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_11_02_242574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/231573548a1e8ce8e9940ddb5b4e09ac.jpg","text":"TemporaryFile(/tmp/multipartBody8958840415769193947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_10_03_081704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4afed48a635517114eacfab4e66d86e6.jpg","text":"TemporaryFile(/tmp/multipartBody492610304015442399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_11_02_242574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ab734661aa99e3a3b8b227f77be1a25.jpg","text":"TemporaryFile(/tmp/multipartBody1088510814749961686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_11_02_242574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/787e06fda0830fa3f16131de87043ef4.jpg","text":"TemporaryFile(/tmp/multipartBody9073795356440732943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_10_03_081704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e5c81ac3726ac6c6786cf5d65a72ab1.jpg","text":"TemporaryFile(/tmp/multipartBody757164134739407778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350867524,"filename":"image_08012025_16_11_02_242574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482363","file1":"1327482361","file0":"1327482357","file4":"1327482390","file5":"1327482395","file3":"1327482367"},"map_files_photo_id_array":[{"photo_id":"1327482395","filename":"file5"},{"photo_id":"1327482363","filename":"file2"},{"photo_id":"1327482390","filename":"file4"},{"photo_id":"1327482361","filename":"file1"},{"photo_id":"1327482357","filename":"file0"},{"photo_id":"1327482367","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482367":["hashtag1","hashtag2"]},{"1327482361":["hashtag1","hashtag2"]},{"1327482390":["hashtag1","hashtag2"]},{"1327482363":["hashtag1","hashtag2"]},{"1327482357":["hashtag1","hashtag2"]},{"1327482395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482367, 1327482361, 1327482390, 1327482363, 1327482357, 1327482395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30892729759216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:40:52.331257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0000.jpg', '/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0001.jpg', '/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0002.jpg', '/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0003.jpg', '/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0000.jpg', '/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0000.jpg
/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0001.jpg
/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0002.jpg
/home/pi/Desktop/images/08012025/16/12/image_08012025_16_12_02_388682_0003.jpg
/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0000.jpg
/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_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":["1327482413","1327482445","1327482436","1327482415","1327482411","1327482422"],"photo_ids_order":["1327482411","1327482413","1327482415","1327482422","1327482436","1327482445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c68791245f48521a03ab87896c51078.jpg","text":"TemporaryFile(/tmp/multipartBody5763957537113512705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_12_02_388682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27f272d94b2781fdbe08fd582fb41f50.jpg","text":"TemporaryFile(/tmp/multipartBody811453650208033457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_13_02_625998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8aff736204cef1b9b0ce6a7e3edfd955.jpg","text":"TemporaryFile(/tmp/multipartBody5281061280138951433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_13_02_625998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3ff73a61bb9128f694a6b775fe3cc09.jpg","text":"TemporaryFile(/tmp/multipartBody8648022081623629724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_12_02_388682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ebbc44bb286cba9c7302f233175bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody3899078905494614842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_12_02_388682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a552dccb70750554ac76e442642dd12f.jpg","text":"TemporaryFile(/tmp/multipartBody4764560588046231539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350927597,"filename":"image_08012025_16_12_02_388682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482415","file1":"1327482413","file0":"1327482411","file4":"1327482436","file5":"1327482445","file3":"1327482422"},"map_files_photo_id_array":[{"photo_id":"1327482445","filename":"file5"},{"photo_id":"1327482415","filename":"file2"},{"photo_id":"1327482436","filename":"file4"},{"photo_id":"1327482413","filename":"file1"},{"photo_id":"1327482411","filename":"file0"},{"photo_id":"1327482422","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482413":["hashtag1","hashtag2"]},{"1327482445":["hashtag1","hashtag2"]},{"1327482436":["hashtag1","hashtag2"]},{"1327482415":["hashtag1","hashtag2"]},{"1327482411":["hashtag1","hashtag2"]},{"1327482422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482413, 1327482445, 1327482436, 1327482415, 1327482411, 1327482422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.40806794166565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 16:41:52.555879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0002.jpg', '/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0003.jpg', '/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0000.jpg', '/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0001.jpg', '/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0002.jpg', '/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0002.jpg
/home/pi/Desktop/images/08012025/16/13/image_08012025_16_13_02_625998_0003.jpg
/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0000.jpg
/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0001.jpg
/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_0002.jpg
/home/pi/Desktop/images/08012025/16/14/image_08012025_16_14_02_762501_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":["1327482508","1327482505","1327482498","1327482513","1327482522","1327482501"],"photo_ids_order":["1327482498","1327482501","1327482505","1327482508","1327482513","1327482522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5ca97b206a9a8e74b2bbdbbb2d44d86.jpg","text":"TemporaryFile(/tmp/multipartBody6434623268366497440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_14_02_762501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28fda1f8153c6047bb58fc9beb2c7f98.jpg","text":"TemporaryFile(/tmp/multipartBody6288876402265431054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_14_02_762501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f200a17729ad939ce06cd9aa29cb718.jpg","text":"TemporaryFile(/tmp/multipartBody6112227626493386291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_13_02_625998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53333fc3956871dd54b05cc3039a9d38.jpg","text":"TemporaryFile(/tmp/multipartBody8739850126590762781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_14_02_762501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e6fa3fafef6ec39bf050a2ae6caa514.jpg","text":"TemporaryFile(/tmp/multipartBody7085697742192703012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_14_02_762501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba2badcf8343370ec96d86d2f905bb28.jpg","text":"TemporaryFile(/tmp/multipartBody226654478958837037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736350987772,"filename":"image_08012025_16_13_02_625998_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482505","file1":"1327482501","file0":"1327482498","file4":"1327482513","file5":"1327482522","file3":"1327482508"},"map_files_photo_id_array":[{"photo_id":"1327482522","filename":"file5"},{"photo_id":"1327482505","filename":"file2"},{"photo_id":"1327482513","filename":"file4"},{"photo_id":"1327482501","filename":"file1"},{"photo_id":"1327482498","filename":"file0"},{"photo_id":"1327482508","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482508":["hashtag1","hashtag2"]},{"1327482505":["hashtag1","hashtag2"]},{"1327482498":["hashtag1","hashtag2"]},{"1327482513":["hashtag1","hashtag2"]},{"1327482522":["hashtag1","hashtag2"]},{"1327482501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482508, 1327482505, 1327482498, 1327482513, 1327482522, 1327482501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.28733158111572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 16:43:02.504232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0000.jpg', '/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0001.jpg', '/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0002.jpg', '/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0003.jpg', '/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0000.jpg', '/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0000.jpg
/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0001.jpg
/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0002.jpg
/home/pi/Desktop/images/08012025/16/15/image_08012025_16_15_02_913905_0003.jpg
/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0000.jpg
/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_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":["1327482552","1327482546","1327482549","1327482542","1327482536","1327482539"],"photo_ids_order":["1327482536","1327482539","1327482542","1327482546","1327482549","1327482552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01f8d7089f92d7047705aa4816cd76e9.jpg","text":"TemporaryFile(/tmp/multipartBody8665810857753959659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_16_03_147596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a945239d3314b57e14a8e66e2bd84c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6126980920641331817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_15_02_913905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d53514c6e0beedf3336056eafbad0cc.jpg","text":"TemporaryFile(/tmp/multipartBody7431368834779285179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_16_03_147596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d91a32203adefd090aba3592a758af5c.jpg","text":"TemporaryFile(/tmp/multipartBody4188768039101308717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_15_02_913905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b47c92f978f00ad0bfa18c4df225bf93.jpg","text":"TemporaryFile(/tmp/multipartBody1730713177101445713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_15_02_913905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7548d79621cee640a6579d8101172116.jpg","text":"TemporaryFile(/tmp/multipartBody8783285115268734860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351057816,"filename":"image_08012025_16_15_02_913905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482542","file1":"1327482539","file0":"1327482536","file4":"1327482549","file5":"1327482552","file3":"1327482546"},"map_files_photo_id_array":[{"photo_id":"1327482552","filename":"file5"},{"photo_id":"1327482542","filename":"file2"},{"photo_id":"1327482549","filename":"file4"},{"photo_id":"1327482539","filename":"file1"},{"photo_id":"1327482536","filename":"file0"},{"photo_id":"1327482546","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482552":["hashtag1","hashtag2"]},{"1327482546":["hashtag1","hashtag2"]},{"1327482549":["hashtag1","hashtag2"]},{"1327482542":["hashtag1","hashtag2"]},{"1327482536":["hashtag1","hashtag2"]},{"1327482539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482552, 1327482546, 1327482549, 1327482542, 1327482536, 1327482539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57529044151306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 16:44:02.634212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0002.jpg', '/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0003.jpg', '/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0000.jpg', '/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0001.jpg', '/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0002.jpg', '/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0002.jpg
/home/pi/Desktop/images/08012025/16/16/image_08012025_16_16_03_147596_0003.jpg
/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0000.jpg
/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0001.jpg
/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_0002.jpg
/home/pi/Desktop/images/08012025/16/17/image_08012025_16_17_02_257776_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":["1327482589","1327482592","1327482594","1327482596","1327482581","1327482569"],"photo_ids_order":["1327482569","1327482581","1327482589","1327482592","1327482594","1327482596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b5093146543178e36e197cf421ecb50.jpg","text":"TemporaryFile(/tmp/multipartBody7699488969721707959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_17_02_257776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd92a286424b3f285004479389346a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5878913718954945413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_17_02_257776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b6184dd65a7acd52bf98c6db6e4d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody453132752676468732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_17_02_257776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e60cb01e273a147adaa9749017f3b66b.jpg","text":"TemporaryFile(/tmp/multipartBody8548608214700159567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_17_02_257776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d2eb93b6d2332c4f3354cfbdd4f15f1.jpg","text":"TemporaryFile(/tmp/multipartBody4243919141492587280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_16_03_147596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69b3ff2a3db4e6bb51f78d96831bcd3c.jpg","text":"TemporaryFile(/tmp/multipartBody3770057271453026752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351117992,"filename":"image_08012025_16_16_03_147596_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482589","file1":"1327482581","file0":"1327482569","file4":"1327482594","file5":"1327482596","file3":"1327482592"},"map_files_photo_id_array":[{"photo_id":"1327482596","filename":"file5"},{"photo_id":"1327482589","filename":"file2"},{"photo_id":"1327482594","filename":"file4"},{"photo_id":"1327482581","filename":"file1"},{"photo_id":"1327482569","filename":"file0"},{"photo_id":"1327482592","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482589":["hashtag1","hashtag2"]},{"1327482592":["hashtag1","hashtag2"]},{"1327482594":["hashtag1","hashtag2"]},{"1327482596":["hashtag1","hashtag2"]},{"1327482581":["hashtag1","hashtag2"]},{"1327482569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482589, 1327482592, 1327482594, 1327482596, 1327482581, 1327482569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.408015966415405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 16:45:02.865316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0000.jpg', '/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0001.jpg', '/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0002.jpg', '/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0003.jpg', '/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0000.jpg', '/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0000.jpg
/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0001.jpg
/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0002.jpg
/home/pi/Desktop/images/08012025/16/18/image_08012025_16_18_02_422236_0003.jpg
/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0000.jpg
/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_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":["1327482611","1327482859","1327482853","1327482738","1327482845","1327482620"],"photo_ids_order":["1327482611","1327482620","1327482738","1327482845","1327482853","1327482859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b71c3a468a94fddea502458bc7b59266.jpg","text":"TemporaryFile(/tmp/multipartBody4795633809285548578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_18_02_422236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51679147b7ef1ea7a1ff71fc955997ce.jpg","text":"TemporaryFile(/tmp/multipartBody3674805093063576707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_19_02_632463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3dc227f0e29ccb2b6136915a469c7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6150702784881046357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_19_02_632463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b36a7d09fb799f1a30d1bf562fe63888.jpg","text":"TemporaryFile(/tmp/multipartBody7852420704037770652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_18_02_422236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/439a4a045cb74990e1d418ecc4b7f058.jpg","text":"TemporaryFile(/tmp/multipartBody7536900737254139612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_18_02_422236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc4330b4c60b5c4db788162b514e28e7.jpg","text":"TemporaryFile(/tmp/multipartBody5208309323639827438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351178211,"filename":"image_08012025_16_18_02_422236_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482738","file1":"1327482620","file0":"1327482611","file4":"1327482853","file5":"1327482859","file3":"1327482845"},"map_files_photo_id_array":[{"photo_id":"1327482859","filename":"file5"},{"photo_id":"1327482738","filename":"file2"},{"photo_id":"1327482853","filename":"file4"},{"photo_id":"1327482620","filename":"file1"},{"photo_id":"1327482611","filename":"file0"},{"photo_id":"1327482845","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482611":["hashtag1","hashtag2"]},{"1327482859":["hashtag1","hashtag2"]},{"1327482853":["hashtag1","hashtag2"]},{"1327482738":["hashtag1","hashtag2"]},{"1327482845":["hashtag1","hashtag2"]},{"1327482620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482611, 1327482859, 1327482853, 1327482738, 1327482845, 1327482620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.83955192565918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 16:46:02.928639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0002.jpg', '/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0003.jpg', '/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0000.jpg', '/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0001.jpg', '/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0002.jpg', '/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0002.jpg
/home/pi/Desktop/images/08012025/16/19/image_08012025_16_19_02_632463_0003.jpg
/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0000.jpg
/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0001.jpg
/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_0002.jpg
/home/pi/Desktop/images/08012025/16/20/image_08012025_16_20_02_788549_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":["1327482937","1327482922","1327482939","1327482918","1327482911","1327482914"],"photo_ids_order":["1327482911","1327482914","1327482918","1327482922","1327482937","1327482939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8d84708c2ee87ad735f2f482e9ed3de.jpg","text":"TemporaryFile(/tmp/multipartBody468081027806005023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_20_02_788549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4af9ba96f50a38abead87ee1ad0db647.jpg","text":"TemporaryFile(/tmp/multipartBody6418903440767900256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_20_02_788549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3710cb00d6c780b2f1c2db7df27ab0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1430106803604215451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_20_02_788549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfe9eab963f98ff1003bc46354be02a5.jpg","text":"TemporaryFile(/tmp/multipartBody7878963812859742099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_20_02_788549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36f3f34324e923a3f8e3a31a8b0f2341.jpg","text":"TemporaryFile(/tmp/multipartBody7484805621103121837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_19_02_632463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42c9ddf39f338a9e6b7196cbe1a5fb69.jpg","text":"TemporaryFile(/tmp/multipartBody852519124092728362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351238136,"filename":"image_08012025_16_19_02_632463_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482918","file1":"1327482914","file0":"1327482911","file4":"1327482937","file5":"1327482939","file3":"1327482922"},"map_files_photo_id_array":[{"photo_id":"1327482939","filename":"file5"},{"photo_id":"1327482918","filename":"file2"},{"photo_id":"1327482937","filename":"file4"},{"photo_id":"1327482914","filename":"file1"},{"photo_id":"1327482911","filename":"file0"},{"photo_id":"1327482922","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482937":["hashtag1","hashtag2"]},{"1327482922":["hashtag1","hashtag2"]},{"1327482939":["hashtag1","hashtag2"]},{"1327482918":["hashtag1","hashtag2"]},{"1327482911":["hashtag1","hashtag2"]},{"1327482914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482937, 1327482922, 1327482939, 1327482918, 1327482911, 1327482914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.595041036605835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:47:22.623464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0000.jpg', '/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0001.jpg', '/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0002.jpg', '/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0003.jpg', '/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0000.jpg', '/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0000.jpg
/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0001.jpg
/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0002.jpg
/home/pi/Desktop/images/08012025/16/21/image_08012025_16_21_02_946558_0003.jpg
/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0000.jpg
/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_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":["1327482979","1327482996","1327482990","1327482992","1327482995","1327482998"],"photo_ids_order":["1327482979","1327482990","1327482992","1327482995","1327482996","1327482998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df02198cae6c39ff3e4333f10ab75705.jpg","text":"TemporaryFile(/tmp/multipartBody5917477943167262043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_21_02_946558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54c13ad22301a2fc605631816764bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6063371343595338843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_22_03_132308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/269099965ae6f824eaeb2a34d829fcde.jpg","text":"TemporaryFile(/tmp/multipartBody7170868269207397572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_21_02_946558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ad21239342e578ee8760e9302bada41.jpg","text":"TemporaryFile(/tmp/multipartBody2689186994343225693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_21_02_946558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9be3e08e2dced9b86b2e744bec5e41bb.jpg","text":"TemporaryFile(/tmp/multipartBody799378142593898008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_21_02_946558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7406d57b05048546c71f6e749ea8b70.jpg","text":"TemporaryFile(/tmp/multipartBody6864547053628596244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351317850,"filename":"image_08012025_16_22_03_132308_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327482992","file1":"1327482990","file0":"1327482979","file4":"1327482996","file5":"1327482998","file3":"1327482995"},"map_files_photo_id_array":[{"photo_id":"1327482998","filename":"file5"},{"photo_id":"1327482992","filename":"file2"},{"photo_id":"1327482996","filename":"file4"},{"photo_id":"1327482990","filename":"file1"},{"photo_id":"1327482979","filename":"file0"},{"photo_id":"1327482995","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327482979":["hashtag1","hashtag2"]},{"1327482996":["hashtag1","hashtag2"]},{"1327482990":["hashtag1","hashtag2"]},{"1327482992":["hashtag1","hashtag2"]},{"1327482995":["hashtag1","hashtag2"]},{"1327482998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327482979, 1327482996, 1327482990, 1327482992, 1327482995, 1327482998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.870553493499756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:48:21.848394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0002.jpg', '/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0003.jpg', '/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0000.jpg', '/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0001.jpg', '/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0002.jpg', '/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0002.jpg
/home/pi/Desktop/images/08012025/16/22/image_08012025_16_22_03_132308_0003.jpg
/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0000.jpg
/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0001.jpg
/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_0002.jpg
/home/pi/Desktop/images/08012025/16/23/image_08012025_16_23_02_311782_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":["1327483185","1327483199","1327483190","1327483196","1327483079","1327483192"],"photo_ids_order":["1327483079","1327483185","1327483190","1327483192","1327483196","1327483199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92594961737fce10353c323b1b37c623.jpg","text":"TemporaryFile(/tmp/multipartBody4446855331304776287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_22_03_132308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17062d0aca941b57d83ed9499775b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody5288098119468647886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_23_02_311782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df42b30ec3614f5a4b66ab94bb06d7ab.jpg","text":"TemporaryFile(/tmp/multipartBody8764545860509852414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_23_02_311782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/396b8cb80408ae7b3b584aac7066115f.jpg","text":"TemporaryFile(/tmp/multipartBody5319342544853989707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_23_02_311782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a37d1d15fdf28b2bee39387d8ccf7944.jpg","text":"TemporaryFile(/tmp/multipartBody6491909386772351441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_22_03_132308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc7da3d1197951d2807d83213cf49887.jpg","text":"TemporaryFile(/tmp/multipartBody3273215651875865342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351377022,"filename":"image_08012025_16_23_02_311782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483190","file1":"1327483185","file0":"1327483079","file4":"1327483196","file5":"1327483199","file3":"1327483192"},"map_files_photo_id_array":[{"photo_id":"1327483199","filename":"file5"},{"photo_id":"1327483190","filename":"file2"},{"photo_id":"1327483196","filename":"file4"},{"photo_id":"1327483185","filename":"file1"},{"photo_id":"1327483079","filename":"file0"},{"photo_id":"1327483192","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483185":["hashtag1","hashtag2"]},{"1327483199":["hashtag1","hashtag2"]},{"1327483190":["hashtag1","hashtag2"]},{"1327483196":["hashtag1","hashtag2"]},{"1327483079":["hashtag1","hashtag2"]},{"1327483192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483185, 1327483199, 1327483190, 1327483196, 1327483079, 1327483192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.292003870010376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:49:22.109802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0000.jpg', '/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0001.jpg', '/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0002.jpg', '/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0003.jpg', '/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0000.jpg', '/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0000.jpg
/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0001.jpg
/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0002.jpg
/home/pi/Desktop/images/08012025/16/24/image_08012025_16_24_02_692499_0003.jpg
/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0000.jpg
/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_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":["1327483213","1327483222","1327483224","1327483209","1327483218","1327483220"],"photo_ids_order":["1327483209","1327483213","1327483218","1327483220","1327483222","1327483224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a7f497e388b0ccbac8fc16416f11555.jpg","text":"TemporaryFile(/tmp/multipartBody1488899656537861889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_24_02_692499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3022c0fa371d3a0bc1112da03167154f.jpg","text":"TemporaryFile(/tmp/multipartBody7854432902361241189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_25_02_907153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d80136deb646f178e190c061d7d3baaa.jpg","text":"TemporaryFile(/tmp/multipartBody1473806666247939383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_25_02_907153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01a37e9f119474c73ac2feb5f9b02f19.jpg","text":"TemporaryFile(/tmp/multipartBody73591320012837453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_24_02_692499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9c8b29f4b7f8eeb086a50226d6c5ace.jpg","text":"TemporaryFile(/tmp/multipartBody1667283780415124632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_24_02_692499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74779c966676518bac67f1fb39b81936.jpg","text":"TemporaryFile(/tmp/multipartBody2703845242883827164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351437293,"filename":"image_08012025_16_24_02_692499_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483218","file1":"1327483213","file0":"1327483209","file4":"1327483222","file5":"1327483224","file3":"1327483220"},"map_files_photo_id_array":[{"photo_id":"1327483224","filename":"file5"},{"photo_id":"1327483218","filename":"file2"},{"photo_id":"1327483222","filename":"file4"},{"photo_id":"1327483213","filename":"file1"},{"photo_id":"1327483209","filename":"file0"},{"photo_id":"1327483220","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483213":["hashtag1","hashtag2"]},{"1327483222":["hashtag1","hashtag2"]},{"1327483224":["hashtag1","hashtag2"]},{"1327483209":["hashtag1","hashtag2"]},{"1327483218":["hashtag1","hashtag2"]},{"1327483220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483213, 1327483222, 1327483224, 1327483209, 1327483218, 1327483220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53326439857483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:50:22.297645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0002.jpg', '/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0003.jpg', '/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0000.jpg', '/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0001.jpg', '/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0002.jpg', '/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0002.jpg
/home/pi/Desktop/images/08012025/16/25/image_08012025_16_25_02_907153_0003.jpg
/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0000.jpg
/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0001.jpg
/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_0002.jpg
/home/pi/Desktop/images/08012025/16/26/image_08012025_16_26_03_105713_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":["1327483266","1327483274","1327483268","1327483247","1327483250","1327483270"],"photo_ids_order":["1327483247","1327483250","1327483266","1327483268","1327483270","1327483274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a00900f45836b363d78acf0a66239d62.jpg","text":"TemporaryFile(/tmp/multipartBody7841111969521070009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_26_03_105713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8798c4f6b93f2267a0e36948ad1216f8.jpg","text":"TemporaryFile(/tmp/multipartBody941624908358557362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_26_03_105713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffbf79c6885c3054d4b85bc283caa32f.jpg","text":"TemporaryFile(/tmp/multipartBody4830936520555914797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_26_03_105713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9acc486dcfff4344019cec23b79227b.jpg","text":"TemporaryFile(/tmp/multipartBody7595375883353063589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_25_02_907153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/937f8f57a31e37937019f4cc596a57b4.jpg","text":"TemporaryFile(/tmp/multipartBody8656294192544999889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_25_02_907153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cee16e82f9291cd2d67b6bc08ff0cf34.jpg","text":"TemporaryFile(/tmp/multipartBody6688818497424959884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351497572,"filename":"image_08012025_16_26_03_105713_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483266","file1":"1327483250","file0":"1327483247","file4":"1327483270","file5":"1327483274","file3":"1327483268"},"map_files_photo_id_array":[{"photo_id":"1327483274","filename":"file5"},{"photo_id":"1327483266","filename":"file2"},{"photo_id":"1327483270","filename":"file4"},{"photo_id":"1327483250","filename":"file1"},{"photo_id":"1327483247","filename":"file0"},{"photo_id":"1327483268","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483266":["hashtag1","hashtag2"]},{"1327483274":["hashtag1","hashtag2"]},{"1327483268":["hashtag1","hashtag2"]},{"1327483247":["hashtag1","hashtag2"]},{"1327483250":["hashtag1","hashtag2"]},{"1327483270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483266, 1327483274, 1327483268, 1327483247, 1327483250, 1327483270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.136616468429565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:51:22.537166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0000.jpg', '/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0001.jpg', '/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0002.jpg', '/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0003.jpg', '/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0000.jpg', '/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0000.jpg
/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0001.jpg
/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0002.jpg
/home/pi/Desktop/images/08012025/16/27/image_08012025_16_27_02_263840_0003.jpg
/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0000.jpg
/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_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":["1327483309","1327483306","1327483302","1327483304","1327483294","1327483297"],"photo_ids_order":["1327483294","1327483297","1327483302","1327483304","1327483306","1327483309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd29cb3498ca6b8eb1f22937a0bb0241.jpg","text":"TemporaryFile(/tmp/multipartBody8194592343206842815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_28_02_478447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7c2e2ab515a69289d24462801d60006.jpg","text":"TemporaryFile(/tmp/multipartBody8764442916259093171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_28_02_478447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8049c043ba71a1d56475278bc206838.jpg","text":"TemporaryFile(/tmp/multipartBody2588806285341400390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_27_02_263840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d97a390993163e8772f94f31fab1dd73.jpg","text":"TemporaryFile(/tmp/multipartBody2701488745387046283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_27_02_263840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/505b445efa0dd9ca710fb876257c69fc.jpg","text":"TemporaryFile(/tmp/multipartBody77566568701360721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_27_02_263840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cdb3f028895158f7af0efe94f878415.jpg","text":"TemporaryFile(/tmp/multipartBody993412402372741251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351557818,"filename":"image_08012025_16_27_02_263840_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483302","file1":"1327483297","file0":"1327483294","file4":"1327483306","file5":"1327483309","file3":"1327483304"},"map_files_photo_id_array":[{"photo_id":"1327483309","filename":"file5"},{"photo_id":"1327483302","filename":"file2"},{"photo_id":"1327483306","filename":"file4"},{"photo_id":"1327483297","filename":"file1"},{"photo_id":"1327483294","filename":"file0"},{"photo_id":"1327483304","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483309":["hashtag1","hashtag2"]},{"1327483306":["hashtag1","hashtag2"]},{"1327483302":["hashtag1","hashtag2"]},{"1327483304":["hashtag1","hashtag2"]},{"1327483294":["hashtag1","hashtag2"]},{"1327483297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483309, 1327483306, 1327483302, 1327483304, 1327483294, 1327483297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24205207824707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:52:22.682916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0002.jpg', '/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0003.jpg', '/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0000.jpg', '/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0001.jpg', '/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0002.jpg', '/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0002.jpg
/home/pi/Desktop/images/08012025/16/28/image_08012025_16_28_02_478447_0003.jpg
/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0000.jpg
/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0001.jpg
/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_0002.jpg
/home/pi/Desktop/images/08012025/16/29/image_08012025_16_29_02_653502_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":["1327483354","1327483336","1327483332","1327483335","1327483329","1327483346"],"photo_ids_order":["1327483329","1327483332","1327483335","1327483336","1327483346","1327483354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3b60744e0c1cb39d319ee7226d9277a.jpg","text":"TemporaryFile(/tmp/multipartBody5996924588920728685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_29_02_653502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2dcc2360b087d3ae5d8c3d7902a15c0.jpg","text":"TemporaryFile(/tmp/multipartBody7064547300082750492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_29_02_653502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e70b265e6fc3c2efddf180ff8435a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4589013621365763509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_28_02_478447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dedf724078d923176c928d9f236eb3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5675785828028510740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_29_02_653502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/beb045a90d8b9105e2914b613e5a9f18.jpg","text":"TemporaryFile(/tmp/multipartBody6767778541484880424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_28_02_478447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e7596e4cefe2eee35ab0806a18763bd.jpg","text":"TemporaryFile(/tmp/multipartBody4035142511854603795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351617863,"filename":"image_08012025_16_29_02_653502_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483335","file1":"1327483332","file0":"1327483329","file4":"1327483346","file5":"1327483354","file3":"1327483336"},"map_files_photo_id_array":[{"photo_id":"1327483354","filename":"file5"},{"photo_id":"1327483335","filename":"file2"},{"photo_id":"1327483346","filename":"file4"},{"photo_id":"1327483332","filename":"file1"},{"photo_id":"1327483329","filename":"file0"},{"photo_id":"1327483336","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483354":["hashtag1","hashtag2"]},{"1327483336":["hashtag1","hashtag2"]},{"1327483332":["hashtag1","hashtag2"]},{"1327483335":["hashtag1","hashtag2"]},{"1327483329":["hashtag1","hashtag2"]},{"1327483346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483354, 1327483336, 1327483332, 1327483335, 1327483329, 1327483346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74751877784729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:53:21.859710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0000.jpg', '/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0001.jpg', '/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0002.jpg', '/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0003.jpg', '/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0000.jpg', '/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0000.jpg
/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0001.jpg
/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0002.jpg
/home/pi/Desktop/images/08012025/16/30/image_08012025_16_30_02_884412_0003.jpg
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0000.jpg
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_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":["1327483383","1327483382","1327483385","1327483379","1327483375","1327483384"],"photo_ids_order":["1327483375","1327483379","1327483382","1327483383","1327483384","1327483385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc7a4749b51e7e2372b4dd9c774ba10a.jpg","text":"TemporaryFile(/tmp/multipartBody6584753886548687775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_30_02_884412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c063a24cd29693d3b2dec05587319351.jpg","text":"TemporaryFile(/tmp/multipartBody7632869228091858953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_30_02_884412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7f8f654f41633d81085cd741c1fa43b.jpg","text":"TemporaryFile(/tmp/multipartBody2740169239549931178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_31_02_904256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10437c9deb9aeabcac08f8e58c6dc550.jpg","text":"TemporaryFile(/tmp/multipartBody400130887165031530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_30_02_884412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e34e32c3901fa1840cb77ab7adaa6437.jpg","text":"TemporaryFile(/tmp/multipartBody3253249391443354863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_30_02_884412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/352c491b0574a2184f775b0607735a69.jpg","text":"TemporaryFile(/tmp/multipartBody5877906423704697719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351677205,"filename":"image_08012025_16_31_02_904256_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483382","file1":"1327483379","file0":"1327483375","file4":"1327483384","file5":"1327483385","file3":"1327483383"},"map_files_photo_id_array":[{"photo_id":"1327483385","filename":"file5"},{"photo_id":"1327483382","filename":"file2"},{"photo_id":"1327483384","filename":"file4"},{"photo_id":"1327483379","filename":"file1"},{"photo_id":"1327483375","filename":"file0"},{"photo_id":"1327483383","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483383":["hashtag1","hashtag2"]},{"1327483382":["hashtag1","hashtag2"]},{"1327483385":["hashtag1","hashtag2"]},{"1327483379":["hashtag1","hashtag2"]},{"1327483375":["hashtag1","hashtag2"]},{"1327483384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483383, 1327483382, 1327483385, 1327483379, 1327483375, 1327483384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.499840259552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 16:54:22.121627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0002.jpg', '/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0003.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0000.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0001.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0002.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0002.jpg
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0003.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0000.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0001.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0002.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_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.78941297531128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:54:42.060326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0002.jpg', '/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0003.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0000.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0001.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0002.jpg', '/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0002.jpg
/home/pi/Desktop/images/08012025/16/31/image_08012025_16_31_02_904256_0003.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0000.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0001.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_0002.jpg
/home/pi/Desktop/images/08012025/16/32/image_08012025_16_32_03_107389_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":["1327483441","1327483461","1327483451","1327483445","1327483448","1327483439"],"photo_ids_order":["1327483439","1327483441","1327483445","1327483448","1327483451","1327483461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69f3ebd3f408ec3a6d1444d7798c3877.jpg","text":"TemporaryFile(/tmp/multipartBody4405290590314796641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_31_02_904256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a770a9574917f7fd446e5b77fa92b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5536862676971858308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_32_03_107389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e08d75eb678e1f537ed152cee0136299.jpg","text":"TemporaryFile(/tmp/multipartBody1570922313589204549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_32_03_107389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f51355745e0d35ea76e275c264477f12.jpg","text":"TemporaryFile(/tmp/multipartBody1776354420415553419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_32_03_107389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d069890d2ee927fb0ca489458b1b1461.jpg","text":"TemporaryFile(/tmp/multipartBody4687187544252716616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_32_03_107389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52e3c74b82aa4d7c042dd4d86a65372f.jpg","text":"TemporaryFile(/tmp/multipartBody7446245694383206335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351757270,"filename":"image_08012025_16_31_02_904256_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483445","file1":"1327483441","file0":"1327483439","file4":"1327483451","file5":"1327483461","file3":"1327483448"},"map_files_photo_id_array":[{"photo_id":"1327483461","filename":"file5"},{"photo_id":"1327483445","filename":"file2"},{"photo_id":"1327483451","filename":"file4"},{"photo_id":"1327483441","filename":"file1"},{"photo_id":"1327483439","filename":"file0"},{"photo_id":"1327483448","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483441":["hashtag1","hashtag2"]},{"1327483461":["hashtag1","hashtag2"]},{"1327483451":["hashtag1","hashtag2"]},{"1327483445":["hashtag1","hashtag2"]},{"1327483448":["hashtag1","hashtag2"]},{"1327483439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483441, 1327483461, 1327483451, 1327483445, 1327483448, 1327483439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.837379693984985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:55:42.240648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0000.jpg', '/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0001.jpg', '/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0002.jpg', '/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0003.jpg', '/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0000.jpg', '/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0000.jpg
/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0001.jpg
/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0002.jpg
/home/pi/Desktop/images/08012025/16/33/image_08012025_16_33_02_330290_0003.jpg
/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0000.jpg
/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_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":["1327483486","1327483504","1327483488","1327483490","1327483484","1327483483"],"photo_ids_order":["1327483483","1327483484","1327483486","1327483488","1327483490","1327483504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a08e0fa4e2902ff23632f16d8da9ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1341956578534813895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_33_02_330290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/998ccc3568784987dfb0779c115d2c55.jpg","text":"TemporaryFile(/tmp/multipartBody808713078213861049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_34_02_591315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/695c899c4d9277ed0705cb18163edcbb.jpg","text":"TemporaryFile(/tmp/multipartBody2532391130249895379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_33_02_330290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0d2d78060b28668955160864f0d246e.jpg","text":"TemporaryFile(/tmp/multipartBody1984587349583621840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_34_02_591315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/826e91c9420698d0d58a97dd4d5d471d.jpg","text":"TemporaryFile(/tmp/multipartBody3606448051513038615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_33_02_330290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d3084a1f854569eb983d85e746c29b6.jpg","text":"TemporaryFile(/tmp/multipartBody3026747382327113964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351817087,"filename":"image_08012025_16_33_02_330290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483486","file1":"1327483484","file0":"1327483483","file4":"1327483490","file5":"1327483504","file3":"1327483488"},"map_files_photo_id_array":[{"photo_id":"1327483504","filename":"file5"},{"photo_id":"1327483486","filename":"file2"},{"photo_id":"1327483490","filename":"file4"},{"photo_id":"1327483484","filename":"file1"},{"photo_id":"1327483483","filename":"file0"},{"photo_id":"1327483488","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483486":["hashtag1","hashtag2"]},{"1327483504":["hashtag1","hashtag2"]},{"1327483488":["hashtag1","hashtag2"]},{"1327483490":["hashtag1","hashtag2"]},{"1327483484":["hashtag1","hashtag2"]},{"1327483483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483486, 1327483504, 1327483488, 1327483490, 1327483484, 1327483483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.31503129005432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:56:42.456480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0002.jpg', '/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0003.jpg', '/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0000.jpg', '/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0001.jpg', '/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0002.jpg', '/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0002.jpg
/home/pi/Desktop/images/08012025/16/34/image_08012025_16_34_02_591315_0003.jpg
/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0000.jpg
/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0001.jpg
/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_0002.jpg
/home/pi/Desktop/images/08012025/16/35/image_08012025_16_35_02_641991_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":["1327483552","1327483534","1327483559","1327483550","1327483535","1327483555"],"photo_ids_order":["1327483534","1327483535","1327483550","1327483552","1327483555","1327483559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e4aecc8b838b0610d5cc7f0b77e488f.jpg","text":"TemporaryFile(/tmp/multipartBody1496118240855486900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_35_02_641991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0d6f8d28660ea29c689eb7be3fb241c.jpg","text":"TemporaryFile(/tmp/multipartBody84899773896261975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_34_02_591315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff645b9e30c7939c205de7b1b863ab85.jpg","text":"TemporaryFile(/tmp/multipartBody4166685741669346888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_35_02_641991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d58e73a239d3699ab31025f469cffe3f.jpg","text":"TemporaryFile(/tmp/multipartBody1554459687166821689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_35_02_641991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07ae4ab97fbc87cf2b73c85514b943e6.jpg","text":"TemporaryFile(/tmp/multipartBody8279550421827493766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_34_02_591315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ccddf71bec9d3f6b19ac33cb49c386fd.jpg","text":"TemporaryFile(/tmp/multipartBody793457716592479406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736351877620,"filename":"image_08012025_16_35_02_641991_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483550","file1":"1327483535","file0":"1327483534","file4":"1327483555","file5":"1327483559","file3":"1327483552"},"map_files_photo_id_array":[{"photo_id":"1327483559","filename":"file5"},{"photo_id":"1327483550","filename":"file2"},{"photo_id":"1327483555","filename":"file4"},{"photo_id":"1327483535","filename":"file1"},{"photo_id":"1327483534","filename":"file0"},{"photo_id":"1327483552","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483552":["hashtag1","hashtag2"]},{"1327483534":["hashtag1","hashtag2"]},{"1327483559":["hashtag1","hashtag2"]},{"1327483550":["hashtag1","hashtag2"]},{"1327483535":["hashtag1","hashtag2"]},{"1327483555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483552, 1327483534, 1327483559, 1327483550, 1327483535, 1327483555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38974714279175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 16:57:42.641340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0000.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0001.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0002.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0003.jpg', '/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0000.jpg', '/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0000.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0001.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0002.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0003.jpg
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0000.jpg
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0001.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 16:59:02.638607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0000.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0001.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0002.jpg', '/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0003.jpg', '/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0000.jpg', '/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0000.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0001.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0002.jpg
/home/pi/Desktop/images/08012025/16/36/image_08012025_16_36_02_783396_0003.jpg
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0000.jpg
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_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":["1327483837","1327483810","1327483794","1327483807","1327483803","1327483955"],"photo_ids_order":["1327483794","1327483803","1327483807","1327483810","1327483837","1327483955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5daa5e89af87ca888bfc7d0a37c98ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5090407047085789882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_37_02_978190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf74372f8cb07795285dc58b51720d12.jpg","text":"TemporaryFile(/tmp/multipartBody7326280717852133396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_36_02_783396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58ed5a6d82395c514cd387d47a9fdce2.jpg","text":"TemporaryFile(/tmp/multipartBody7883720306941707167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_36_02_783396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc51d63fd83920c0de4cee58738681ea.jpg","text":"TemporaryFile(/tmp/multipartBody3849023617525090956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_36_02_783396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e5e057d510135ec9c9bb1409410bf09.jpg","text":"TemporaryFile(/tmp/multipartBody1224370514331672376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_36_02_783396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc87d34e53bfb443a2b05740efa51bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7362295868638343965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352017797,"filename":"image_08012025_16_37_02_978190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327483807","file1":"1327483803","file0":"1327483794","file4":"1327483837","file5":"1327483955","file3":"1327483810"},"map_files_photo_id_array":[{"photo_id":"1327483955","filename":"file5"},{"photo_id":"1327483807","filename":"file2"},{"photo_id":"1327483837","filename":"file4"},{"photo_id":"1327483803","filename":"file1"},{"photo_id":"1327483794","filename":"file0"},{"photo_id":"1327483810","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327483837":["hashtag1","hashtag2"]},{"1327483810":["hashtag1","hashtag2"]},{"1327483794":["hashtag1","hashtag2"]},{"1327483807":["hashtag1","hashtag2"]},{"1327483803":["hashtag1","hashtag2"]},{"1327483955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327483837, 1327483810, 1327483794, 1327483807, 1327483803, 1327483955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.054211378097534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:00:22.158776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0002.jpg', '/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0003.jpg', '/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0000.jpg', '/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0001.jpg', '/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0002.jpg', '/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0002.jpg
/home/pi/Desktop/images/08012025/16/37/image_08012025_16_37_02_978190_0003.jpg
/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0000.jpg
/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0001.jpg
/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_0002.jpg
/home/pi/Desktop/images/08012025/16/38/image_08012025_16_38_02_172995_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":["1327484412","1327484543","1327484618","1327484551","1327484410","1327484404"],"photo_ids_order":["1327484404","1327484410","1327484412","1327484543","1327484551","1327484618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc9a49664e3ad2cf713421bd78c366fa.jpg","text":"TemporaryFile(/tmp/multipartBody3707944288197574769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_38_02_172995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/09320ae306dfadd9e660d600b29c36a7.jpg","text":"TemporaryFile(/tmp/multipartBody1330844512649610534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_38_02_172995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9451fd42070b2bf47f95bf301901bd41.jpg","text":"TemporaryFile(/tmp/multipartBody10689960519205193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_38_02_172995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20ef773e521ee04aa6730f4fee38918a.jpg","text":"TemporaryFile(/tmp/multipartBody2386384135903639816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_38_02_172995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0154713b26fe0613633e751e1c657b40.jpg","text":"TemporaryFile(/tmp/multipartBody8848918462867904863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_37_02_978190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd66ad75e1f03edbca5d38172519d74a.jpg","text":"TemporaryFile(/tmp/multipartBody8231585711792720873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352097279,"filename":"image_08012025_16_37_02_978190_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327484412","file1":"1327484410","file0":"1327484404","file4":"1327484551","file5":"1327484618","file3":"1327484543"},"map_files_photo_id_array":[{"photo_id":"1327484618","filename":"file5"},{"photo_id":"1327484412","filename":"file2"},{"photo_id":"1327484551","filename":"file4"},{"photo_id":"1327484410","filename":"file1"},{"photo_id":"1327484404","filename":"file0"},{"photo_id":"1327484543","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327484412":["hashtag1","hashtag2"]},{"1327484543":["hashtag1","hashtag2"]},{"1327484618":["hashtag1","hashtag2"]},{"1327484551":["hashtag1","hashtag2"]},{"1327484410":["hashtag1","hashtag2"]},{"1327484404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327484412, 1327484543, 1327484618, 1327484551, 1327484410, 1327484404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8113911151886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:01:22.308265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0000.jpg', '/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0001.jpg', '/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0002.jpg', '/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0003.jpg', '/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0000.jpg', '/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0000.jpg
/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0001.jpg
/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0002.jpg
/home/pi/Desktop/images/08012025/16/39/image_08012025_16_39_02_348465_0003.jpg
/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0000.jpg
/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_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":["1327485309","1327485302","1327485301","1327485294","1327485288","1327485291"],"photo_ids_order":["1327485288","1327485291","1327485294","1327485301","1327485302","1327485309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/759c588a2494d38a53ad953a3fb3f7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5182460667474262997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_40_02_580315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff2b19e17b3da429ad380ae0e79fdb2d.jpg","text":"TemporaryFile(/tmp/multipartBody2699081255450555694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_40_02_580315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c30efa0f8cedeb9bca6e0357b572f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody3684984531174527940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_39_02_348465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6bf73f3baff519d0b3b7f08784ab50e.jpg","text":"TemporaryFile(/tmp/multipartBody1749964106389041798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_39_02_348465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c00ea62450e6a0184b0fed3f62abb8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3473125203769046475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_39_02_348465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0da85c0de09dc04ec0b30a84a2d0c0d4.jpg","text":"TemporaryFile(/tmp/multipartBody4704415337538302422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352157282,"filename":"image_08012025_16_39_02_348465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327485294","file1":"1327485291","file0":"1327485288","file4":"1327485302","file5":"1327485309","file3":"1327485301"},"map_files_photo_id_array":[{"photo_id":"1327485309","filename":"file5"},{"photo_id":"1327485294","filename":"file2"},{"photo_id":"1327485302","filename":"file4"},{"photo_id":"1327485291","filename":"file1"},{"photo_id":"1327485288","filename":"file0"},{"photo_id":"1327485301","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327485309":["hashtag1","hashtag2"]},{"1327485302":["hashtag1","hashtag2"]},{"1327485301":["hashtag1","hashtag2"]},{"1327485294":["hashtag1","hashtag2"]},{"1327485288":["hashtag1","hashtag2"]},{"1327485291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327485309, 1327485302, 1327485301, 1327485294, 1327485288, 1327485291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.45675468444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:02:32.512186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0002.jpg', '/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0003.jpg', '/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0000.jpg', '/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0001.jpg', '/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0002.jpg', '/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0002.jpg
/home/pi/Desktop/images/08012025/16/40/image_08012025_16_40_02_580315_0003.jpg
/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0000.jpg
/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0001.jpg
/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_0002.jpg
/home/pi/Desktop/images/08012025/16/41/image_08012025_16_41_02_683710_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":["1327485566","1327485530","1327485574","1327485532","1327485709","1327486029"],"photo_ids_order":["1327485530","1327485532","1327485566","1327485574","1327485709","1327486029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40f8a8d9ffcf1850654ea6fc30d6fef2.jpg","text":"TemporaryFile(/tmp/multipartBody115744271016674381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_41_02_683710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c14f325619382a43f912bdc7cd61646e.jpg","text":"TemporaryFile(/tmp/multipartBody828216423739441082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_40_02_580315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/add33170684dd875012a0791d00b0234.jpg","text":"TemporaryFile(/tmp/multipartBody6346630782311706484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_41_02_683710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/601183aff359b38a6d2298bd2e76ef05.jpg","text":"TemporaryFile(/tmp/multipartBody1890887240134874748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_40_02_580315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5dbb7918b53fad7cd0db1479a9e66799.jpg","text":"TemporaryFile(/tmp/multipartBody7335515344672113448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_41_02_683710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58ed136d70b733fe76935c80b01f7596.jpg","text":"TemporaryFile(/tmp/multipartBody4495202214016682316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352227543,"filename":"image_08012025_16_41_02_683710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327485566","file1":"1327485532","file0":"1327485530","file4":"1327485709","file5":"1327486029","file3":"1327485574"},"map_files_photo_id_array":[{"photo_id":"1327486029","filename":"file5"},{"photo_id":"1327485566","filename":"file2"},{"photo_id":"1327485709","filename":"file4"},{"photo_id":"1327485532","filename":"file1"},{"photo_id":"1327485530","filename":"file0"},{"photo_id":"1327485574","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327485566":["hashtag1","hashtag2"]},{"1327485530":["hashtag1","hashtag2"]},{"1327485574":["hashtag1","hashtag2"]},{"1327485532":["hashtag1","hashtag2"]},{"1327485709":["hashtag1","hashtag2"]},{"1327486029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327485566, 1327485530, 1327485574, 1327485532, 1327485709, 1327486029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.285935401916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:03:42.642938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0000.jpg', '/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0001.jpg', '/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0002.jpg', '/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0003.jpg', '/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0000.jpg', '/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0000.jpg
/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0001.jpg
/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0002.jpg
/home/pi/Desktop/images/08012025/16/42/image_08012025_16_42_02_891490_0003.jpg
/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0000.jpg
/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_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":["1327486611","1327486622","1327486627","1327486609","1327486614","1327486617"],"photo_ids_order":["1327486609","1327486611","1327486614","1327486617","1327486622","1327486627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/964ae7f2f2e8ef7d2346d52f907b0742.jpg","text":"TemporaryFile(/tmp/multipartBody4856978311172181095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_42_02_891490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e5a3aeb0e9de737526d6e11e5f65a49.jpg","text":"TemporaryFile(/tmp/multipartBody2051868923208631676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_43_03_107344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ddcfc0fa7119d69c9b3efe75c921835.jpg","text":"TemporaryFile(/tmp/multipartBody8244841495878086893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_43_03_107344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b16bca27a5b041db9ba8f486bfa60d5.jpg","text":"TemporaryFile(/tmp/multipartBody2206158162312498209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_42_02_891490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e3d0428cd263a263c212e70ee5dee93.jpg","text":"TemporaryFile(/tmp/multipartBody8821181192540712489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_42_02_891490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ff25ee0ec5e412f18dc1a93e37757b9.jpg","text":"TemporaryFile(/tmp/multipartBody3234451915814562982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352297771,"filename":"image_08012025_16_42_02_891490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327486614","file1":"1327486611","file0":"1327486609","file4":"1327486622","file5":"1327486627","file3":"1327486617"},"map_files_photo_id_array":[{"photo_id":"1327486627","filename":"file5"},{"photo_id":"1327486614","filename":"file2"},{"photo_id":"1327486622","filename":"file4"},{"photo_id":"1327486611","filename":"file1"},{"photo_id":"1327486609","filename":"file0"},{"photo_id":"1327486617","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327486611":["hashtag1","hashtag2"]},{"1327486622":["hashtag1","hashtag2"]},{"1327486627":["hashtag1","hashtag2"]},{"1327486609":["hashtag1","hashtag2"]},{"1327486614":["hashtag1","hashtag2"]},{"1327486617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327486611, 1327486622, 1327486627, 1327486609, 1327486614, 1327486617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19886875152588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:04:41.881878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0002.jpg', '/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0003.jpg', '/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0000.jpg', '/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0001.jpg', '/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0003.jpg', '/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0002.jpg
/home/pi/Desktop/images/08012025/16/43/image_08012025_16_43_03_107344_0003.jpg
/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0000.jpg
/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0001.jpg
/home/pi/Desktop/images/08012025/16/44/image_08012025_16_44_02_310355_0003.jpg
/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_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":["1327487063","1327486646","1327486960","1327487103","1327486641","1327487066"],"photo_ids_order":["1327486641","1327486646","1327486960","1327487063","1327487066","1327487103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45c1515e027cd5ca5778f6af741a8e77.jpg","text":"TemporaryFile(/tmp/multipartBody4985328356987978198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_44_02_310355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3528a9d27d47e5b9b284e2164a2555c6.jpg","text":"TemporaryFile(/tmp/multipartBody1228926127251010778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_43_03_107344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6a28624ac5e63f9acc770abeae8a11b.jpg","text":"TemporaryFile(/tmp/multipartBody7031887092924454416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_44_02_310355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46da4386667ee5674ae367eb160e51e1.jpg","text":"TemporaryFile(/tmp/multipartBody3112480743529384307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_45_02_479273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/262cd4cb7ddddcbd0472f9d81a98710c.jpg","text":"TemporaryFile(/tmp/multipartBody5679807108541405092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_43_03_107344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a6c6abf2f18d75fba9c6ab8cc61511c.jpg","text":"TemporaryFile(/tmp/multipartBody9221614197416110416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352356936,"filename":"image_08012025_16_44_02_310355_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327486960","file1":"1327486646","file0":"1327486641","file4":"1327487066","file5":"1327487103","file3":"1327487063"},"map_files_photo_id_array":[{"photo_id":"1327487103","filename":"file5"},{"photo_id":"1327486960","filename":"file2"},{"photo_id":"1327487066","filename":"file4"},{"photo_id":"1327486646","filename":"file1"},{"photo_id":"1327486641","filename":"file0"},{"photo_id":"1327487063","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487063":["hashtag1","hashtag2"]},{"1327486646":["hashtag1","hashtag2"]},{"1327486960":["hashtag1","hashtag2"]},{"1327487103":["hashtag1","hashtag2"]},{"1327486641":["hashtag1","hashtag2"]},{"1327487066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487063, 1327486646, 1327486960, 1327487103, 1327486641, 1327487066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.092026710510254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:05:42.009939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0001.jpg', '/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0002.jpg', '/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0003.jpg', '/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0000.jpg', '/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0001.jpg', '/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0001.jpg
/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0002.jpg
/home/pi/Desktop/images/08012025/16/45/image_08012025_16_45_02_479273_0003.jpg
/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0000.jpg
/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0001.jpg
/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327487266","1327487268","1327487250","1327487261","1327487279","1327487264"],"photo_ids_order":["1327487250","1327487261","1327487264","1327487266","1327487268","1327487279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcb55240d52bc86ca958895dadd21401.jpg","text":"TemporaryFile(/tmp/multipartBody3599280234282057887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_46_02_747440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3741d78f9040f86b1a81547c79c3c2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8583395775254698144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_46_02_747440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45fffb32e84a4ad4e1b994f57c6d61a9.jpg","text":"TemporaryFile(/tmp/multipartBody8063758226815025806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_45_02_479273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6dd694abf8f88a853ce6230953229ca.jpg","text":"TemporaryFile(/tmp/multipartBody2942636291206450926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_45_02_479273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e2545e74669525dee9209b96e44760b.jpg","text":"TemporaryFile(/tmp/multipartBody5997483706873461696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_46_02_747440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/762687c4a135f695d97c59cbdcfa09f4.jpg","text":"TemporaryFile(/tmp/multipartBody7261248527570984897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352417389,"filename":"image_08012025_16_45_02_479273_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487264","file1":"1327487261","file0":"1327487250","file4":"1327487268","file5":"1327487279","file3":"1327487266"},"map_files_photo_id_array":[{"photo_id":"1327487279","filename":"file5"},{"photo_id":"1327487264","filename":"file2"},{"photo_id":"1327487268","filename":"file4"},{"photo_id":"1327487261","filename":"file1"},{"photo_id":"1327487250","filename":"file0"},{"photo_id":"1327487266","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487266":["hashtag1","hashtag2"]},{"1327487268":["hashtag1","hashtag2"]},{"1327487250":["hashtag1","hashtag2"]},{"1327487261":["hashtag1","hashtag2"]},{"1327487279":["hashtag1","hashtag2"]},{"1327487264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487266, 1327487268, 1327487250, 1327487261, 1327487279, 1327487264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67060732841492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:06:42.217736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0003.jpg', '/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0000.jpg', '/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0001.jpg', '/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0002.jpg', '/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0003.jpg', '/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/46/image_08012025_16_46_02_747440_0003.jpg
/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0000.jpg
/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0001.jpg
/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0002.jpg
/home/pi/Desktop/images/08012025/16/47/image_08012025_16_47_02_855231_0003.jpg
/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_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":["1327487300","1327487299","1327487293","1327487295","1327487310","1327487297"],"photo_ids_order":["1327487293","1327487295","1327487297","1327487299","1327487300","1327487310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5398bda2ad5c7510b1be3da75ae94395.jpg","text":"TemporaryFile(/tmp/multipartBody2691207153087930246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_47_02_855231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1ef9576d676e548bbffb660b5edfb99.jpg","text":"TemporaryFile(/tmp/multipartBody3164091065710861186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_47_02_855231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e52fdbe6de6df8d57ca764f402ae8d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2704803342826954902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_46_02_747440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/197f87f19c0b24c6075b10e07d075912.jpg","text":"TemporaryFile(/tmp/multipartBody8797175503383147581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_47_02_855231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/577e506fa5e7a49100c0abfd60807374.jpg","text":"TemporaryFile(/tmp/multipartBody5805437456881453875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_48_03_081086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2dc7b764ce195dd5461c3c47e8d6ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody4960105181400691284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352477351,"filename":"image_08012025_16_47_02_855231_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487297","file1":"1327487295","file0":"1327487293","file4":"1327487300","file5":"1327487310","file3":"1327487299"},"map_files_photo_id_array":[{"photo_id":"1327487310","filename":"file5"},{"photo_id":"1327487297","filename":"file2"},{"photo_id":"1327487300","filename":"file4"},{"photo_id":"1327487295","filename":"file1"},{"photo_id":"1327487293","filename":"file0"},{"photo_id":"1327487299","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487300":["hashtag1","hashtag2"]},{"1327487299":["hashtag1","hashtag2"]},{"1327487293":["hashtag1","hashtag2"]},{"1327487295":["hashtag1","hashtag2"]},{"1327487310":["hashtag1","hashtag2"]},{"1327487297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487300, 1327487299, 1327487293, 1327487295, 1327487310, 1327487297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.523547887802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:07:42.436015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0001.jpg', '/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0002.jpg', '/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0003.jpg', '/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0000.jpg', '/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0001.jpg', '/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0001.jpg
/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0002.jpg
/home/pi/Desktop/images/08012025/16/48/image_08012025_16_48_03_081086_0003.jpg
/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0000.jpg
/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0001.jpg
/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327487389","1327487383","1327487370","1327487388","1327487393","1327487381"],"photo_ids_order":["1327487370","1327487381","1327487383","1327487388","1327487389","1327487393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d182134eee20b5e3eacc741ed3f7db2.jpg","text":"TemporaryFile(/tmp/multipartBody2895528980512634500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_49_02_249016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/989fed2a48f02bf4391b56558652630e.jpg","text":"TemporaryFile(/tmp/multipartBody5822679486348442693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_48_03_081086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63949ee807da0fa1b0144e94bc7f4d50.jpg","text":"TemporaryFile(/tmp/multipartBody6556681801358277541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_48_03_081086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2112c8dc5b5f4cc88e84c0b923eed1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4487707514981976371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_49_02_249016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0f05bfe2ecc36e03c3c5fa7d924b417.jpg","text":"TemporaryFile(/tmp/multipartBody3719579028063579518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_49_02_249016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/901aecf73aa83ca8849e3c908505823f.jpg","text":"TemporaryFile(/tmp/multipartBody3770860650114389642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352537589,"filename":"image_08012025_16_48_03_081086_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487383","file1":"1327487381","file0":"1327487370","file4":"1327487389","file5":"1327487393","file3":"1327487388"},"map_files_photo_id_array":[{"photo_id":"1327487393","filename":"file5"},{"photo_id":"1327487383","filename":"file2"},{"photo_id":"1327487389","filename":"file4"},{"photo_id":"1327487381","filename":"file1"},{"photo_id":"1327487370","filename":"file0"},{"photo_id":"1327487388","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487389":["hashtag1","hashtag2"]},{"1327487383":["hashtag1","hashtag2"]},{"1327487370":["hashtag1","hashtag2"]},{"1327487388":["hashtag1","hashtag2"]},{"1327487393":["hashtag1","hashtag2"]},{"1327487381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487389, 1327487383, 1327487370, 1327487388, 1327487393, 1327487381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.858856201171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:08:42.625356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0003.jpg', '/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0000.jpg', '/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0001.jpg', '/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0002.jpg', '/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0003.jpg', '/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/49/image_08012025_16_49_02_249016_0003.jpg
/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0000.jpg
/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0001.jpg
/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0002.jpg
/home/pi/Desktop/images/08012025/16/50/image_08012025_16_50_02_514412_0003.jpg
/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_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":["1327487420","1327487417","1327487437","1327487430","1327487433","1327487427"],"photo_ids_order":["1327487417","1327487420","1327487427","1327487430","1327487433","1327487437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7229b702b4c1f8cfb5104e0bcb0e1edc.jpg","text":"TemporaryFile(/tmp/multipartBody6958193051860697004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_50_02_514412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93ca21a27acc0b07953b209fc1d6cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody1581878864811714483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_49_02_249016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba627954105311eb9e72515b3e22cc26.jpg","text":"TemporaryFile(/tmp/multipartBody4199605784245037243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_51_02_620871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a54b53ae281b19715f86cc18936278a.jpg","text":"TemporaryFile(/tmp/multipartBody1168054695957062078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_50_02_514412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c86987246dee1ae891896df273e71b02.jpg","text":"TemporaryFile(/tmp/multipartBody3746886728255812828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_50_02_514412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64a99fe73a5e54a7de087b6e6df9c835.jpg","text":"TemporaryFile(/tmp/multipartBody6014171288691026941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352597954,"filename":"image_08012025_16_50_02_514412_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487427","file1":"1327487420","file0":"1327487417","file4":"1327487433","file5":"1327487437","file3":"1327487430"},"map_files_photo_id_array":[{"photo_id":"1327487437","filename":"file5"},{"photo_id":"1327487427","filename":"file2"},{"photo_id":"1327487433","filename":"file4"},{"photo_id":"1327487420","filename":"file1"},{"photo_id":"1327487417","filename":"file0"},{"photo_id":"1327487430","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487420":["hashtag1","hashtag2"]},{"1327487417":["hashtag1","hashtag2"]},{"1327487437":["hashtag1","hashtag2"]},{"1327487430":["hashtag1","hashtag2"]},{"1327487433":["hashtag1","hashtag2"]},{"1327487427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487420, 1327487417, 1327487437, 1327487430, 1327487433, 1327487427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.197145223617554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:09:41.738231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0001.jpg', '/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0002.jpg', '/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0003.jpg', '/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0000.jpg', '/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0001.jpg', '/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0001.jpg
/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0002.jpg
/home/pi/Desktop/images/08012025/16/51/image_08012025_16_51_02_620871_0003.jpg
/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0000.jpg
/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0001.jpg
/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327487491","1327487488","1327487449","1327487484","1327487448","1327487486"],"photo_ids_order":["1327487448","1327487449","1327487484","1327487486","1327487488","1327487491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41757c31f12b136ea7e94896f27f3e12.jpg","text":"TemporaryFile(/tmp/multipartBody2656727805293297890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_52_02_830649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/837744aebfbae63668f2d2eb108277e6.jpg","text":"TemporaryFile(/tmp/multipartBody1376719843687712423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_52_02_830649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e3dea3522ae71587e55796b82ac395a.jpg","text":"TemporaryFile(/tmp/multipartBody2490732938054165999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_51_02_620871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cbfc22194a4cb017a0eb309e9521c09.jpg","text":"TemporaryFile(/tmp/multipartBody6288168426863326307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_51_02_620871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b9730d6322b72e32f23fd0f9d18a88b.jpg","text":"TemporaryFile(/tmp/multipartBody1268266508082856844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_51_02_620871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aac1720843a5688ed342669b8c97e977.jpg","text":"TemporaryFile(/tmp/multipartBody4884870143579442396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352656934,"filename":"image_08012025_16_52_02_830649_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487484","file1":"1327487449","file0":"1327487448","file4":"1327487488","file5":"1327487491","file3":"1327487486"},"map_files_photo_id_array":[{"photo_id":"1327487491","filename":"file5"},{"photo_id":"1327487484","filename":"file2"},{"photo_id":"1327487488","filename":"file4"},{"photo_id":"1327487449","filename":"file1"},{"photo_id":"1327487448","filename":"file0"},{"photo_id":"1327487486","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487491":["hashtag1","hashtag2"]},{"1327487488":["hashtag1","hashtag2"]},{"1327487449":["hashtag1","hashtag2"]},{"1327487484":["hashtag1","hashtag2"]},{"1327487448":["hashtag1","hashtag2"]},{"1327487486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487491, 1327487488, 1327487449, 1327487484, 1327487448, 1327487486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17345190048218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:10:42.050028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0003.jpg', '/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0000.jpg', '/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0001.jpg', '/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0002.jpg', '/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0003.jpg', '/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/52/image_08012025_16_52_02_830649_0003.jpg
/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0000.jpg
/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0001.jpg
/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0002.jpg
/home/pi/Desktop/images/08012025/16/53/image_08012025_16_53_03_071814_0003.jpg
/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_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":["1327487566","1327487557","1327487542","1327487524","1327487553","1327487561"],"photo_ids_order":["1327487524","1327487542","1327487553","1327487557","1327487561","1327487566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9a7ee6534924c59eb98df54aa4b524d.jpg","text":"TemporaryFile(/tmp/multipartBody8199162862633202465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_54_02_233516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe7f265ee09733bd91ce72c29de18e73.jpg","text":"TemporaryFile(/tmp/multipartBody7520600628996755239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_53_03_071814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c02c60c7bcb9d84c1d652a462a089608.jpg","text":"TemporaryFile(/tmp/multipartBody228070037286779805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_53_03_071814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ecab740d405208e170cbb0b63f748ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8671119313477202528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_52_02_830649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e8f63b6df6b0fd055cd36332f98fc2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5575178143562321848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_53_03_071814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ab37bd9db30c4dba73a1b1e961383e5.jpg","text":"TemporaryFile(/tmp/multipartBody6427361245622040751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352717134,"filename":"image_08012025_16_53_03_071814_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487553","file1":"1327487542","file0":"1327487524","file4":"1327487561","file5":"1327487566","file3":"1327487557"},"map_files_photo_id_array":[{"photo_id":"1327487566","filename":"file5"},{"photo_id":"1327487553","filename":"file2"},{"photo_id":"1327487561","filename":"file4"},{"photo_id":"1327487542","filename":"file1"},{"photo_id":"1327487524","filename":"file0"},{"photo_id":"1327487557","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487566":["hashtag1","hashtag2"]},{"1327487557":["hashtag1","hashtag2"]},{"1327487542":["hashtag1","hashtag2"]},{"1327487524":["hashtag1","hashtag2"]},{"1327487553":["hashtag1","hashtag2"]},{"1327487561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487566, 1327487557, 1327487542, 1327487524, 1327487553, 1327487561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.22591710090637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:11:42.277417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0001.jpg', '/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0002.jpg', '/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0003.jpg', '/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0000.jpg', '/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0001.jpg', '/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0001.jpg
/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0002.jpg
/home/pi/Desktop/images/08012025/16/54/image_08012025_16_54_02_233516_0003.jpg
/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0000.jpg
/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0001.jpg
/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327487636","1327487639","1327487633","1327487650","1327487623","1327487646"],"photo_ids_order":["1327487623","1327487633","1327487636","1327487639","1327487646","1327487650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23586e914ff91fc5098345e2ecd680e2.jpg","text":"TemporaryFile(/tmp/multipartBody5279322464777329019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_54_02_233516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b0889d78fdca3114b5386268a4ee41c.jpg","text":"TemporaryFile(/tmp/multipartBody7549750226418917757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_55_02_408570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/287831fc20f1f662fe790c498a201748.jpg","text":"TemporaryFile(/tmp/multipartBody7620114223753647712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_54_02_233516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/42bdfa941fbab9ed42290d7feeb1170b.jpg","text":"TemporaryFile(/tmp/multipartBody7102651661592269302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_55_02_408570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcb09a6e990eca6662a4ac2d6dbbe70f.jpg","text":"TemporaryFile(/tmp/multipartBody105898547360055457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_54_02_233516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea2444caba632c8dbe9fc81d38c27e13.jpg","text":"TemporaryFile(/tmp/multipartBody5634968540937069102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352777572,"filename":"image_08012025_16_55_02_408570_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487636","file1":"1327487633","file0":"1327487623","file4":"1327487646","file5":"1327487650","file3":"1327487639"},"map_files_photo_id_array":[{"photo_id":"1327487650","filename":"file5"},{"photo_id":"1327487636","filename":"file2"},{"photo_id":"1327487646","filename":"file4"},{"photo_id":"1327487633","filename":"file1"},{"photo_id":"1327487623","filename":"file0"},{"photo_id":"1327487639","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487636":["hashtag1","hashtag2"]},{"1327487639":["hashtag1","hashtag2"]},{"1327487633":["hashtag1","hashtag2"]},{"1327487650":["hashtag1","hashtag2"]},{"1327487623":["hashtag1","hashtag2"]},{"1327487646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487636, 1327487639, 1327487633, 1327487650, 1327487623, 1327487646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.354122161865234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:12:42.471380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0003.jpg', '/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0000.jpg', '/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0001.jpg', '/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0002.jpg', '/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0003.jpg', '/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/55/image_08012025_16_55_02_408570_0003.jpg
/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0000.jpg
/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0001.jpg
/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0002.jpg
/home/pi/Desktop/images/08012025/16/56/image_08012025_16_56_02_673237_0003.jpg
/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_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":["1327487705","1327487708","1327487677","1327487686","1327487688","1327487670"],"photo_ids_order":["1327487670","1327487677","1327487686","1327487688","1327487705","1327487708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/187cf9480e0f8b5f1d94e51227afe87c.jpg","text":"TemporaryFile(/tmp/multipartBody788144989389533016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_56_02_673237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/405682c8cdc42037fbbe2b29145c452c.jpg","text":"TemporaryFile(/tmp/multipartBody946978152955680878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_57_02_855909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cc5bb17685f8f124c0081e14c90bd5c.jpg","text":"TemporaryFile(/tmp/multipartBody1832767873469956388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_56_02_673237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f1c33f0b4f0f52a14a7b13ff0d5adc2.jpg","text":"TemporaryFile(/tmp/multipartBody7050212588373081913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_56_02_673237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f831a8f358f931b88fb60851a8900954.jpg","text":"TemporaryFile(/tmp/multipartBody5849453034150937211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_56_02_673237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/650b8fb076f6b6b47ec28448c7bb8619.jpg","text":"TemporaryFile(/tmp/multipartBody8182251834337408338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352837694,"filename":"image_08012025_16_55_02_408570_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487686","file1":"1327487677","file0":"1327487670","file4":"1327487705","file5":"1327487708","file3":"1327487688"},"map_files_photo_id_array":[{"photo_id":"1327487708","filename":"file5"},{"photo_id":"1327487686","filename":"file2"},{"photo_id":"1327487705","filename":"file4"},{"photo_id":"1327487677","filename":"file1"},{"photo_id":"1327487670","filename":"file0"},{"photo_id":"1327487688","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487705":["hashtag1","hashtag2"]},{"1327487708":["hashtag1","hashtag2"]},{"1327487677":["hashtag1","hashtag2"]},{"1327487686":["hashtag1","hashtag2"]},{"1327487688":["hashtag1","hashtag2"]},{"1327487670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487705, 1327487708, 1327487677, 1327487686, 1327487688, 1327487670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09471821784973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:13:42.697153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0001.jpg', '/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0002.jpg', '/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0003.jpg', '/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0000.jpg', '/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0001.jpg', '/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0001.jpg
/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0002.jpg
/home/pi/Desktop/images/08012025/16/57/image_08012025_16_57_02_855909_0003.jpg
/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0000.jpg
/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0001.jpg
/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327487847","1327487829","1327487823","1327487832","1327487721","1327487750"],"photo_ids_order":["1327487721","1327487750","1327487823","1327487829","1327487832","1327487847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c91cdb8d267f8f9ab52501091133f61d.jpg","text":"TemporaryFile(/tmp/multipartBody3699044926953850905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_58_02_978521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/654be996ac76e22408c40c3e6bc727d4.jpg","text":"TemporaryFile(/tmp/multipartBody2076640498461790973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_58_02_978521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0e3a4971f3688d1eccc01acda71272f.jpg","text":"TemporaryFile(/tmp/multipartBody5135094565933852539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_57_02_855909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53b82dfba0ff4b7f5f16c4948cf92530.jpg","text":"TemporaryFile(/tmp/multipartBody8305073889957618572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_58_02_978521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/339942411546a45aa33b569641eb9913.jpg","text":"TemporaryFile(/tmp/multipartBody6468752175794845771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_57_02_855909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/60948862af39a6369a098738fb0c0489.jpg","text":"TemporaryFile(/tmp/multipartBody271110008882650709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352897958,"filename":"image_08012025_16_57_02_855909_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487823","file1":"1327487750","file0":"1327487721","file4":"1327487832","file5":"1327487847","file3":"1327487829"},"map_files_photo_id_array":[{"photo_id":"1327487847","filename":"file5"},{"photo_id":"1327487823","filename":"file2"},{"photo_id":"1327487832","filename":"file4"},{"photo_id":"1327487750","filename":"file1"},{"photo_id":"1327487721","filename":"file0"},{"photo_id":"1327487829","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487847":["hashtag1","hashtag2"]},{"1327487829":["hashtag1","hashtag2"]},{"1327487823":["hashtag1","hashtag2"]},{"1327487832":["hashtag1","hashtag2"]},{"1327487721":["hashtag1","hashtag2"]},{"1327487750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487847, 1327487829, 1327487823, 1327487832, 1327487721, 1327487750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57499027252197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:14:41.819853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0003.jpg', '/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0000.jpg', '/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0001.jpg', '/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0002.jpg', '/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0003.jpg', '/home/pi/Desktop/images/08012025/17/00/image_08012025_17_00_02_332269_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/16/58/image_08012025_16_58_02_978521_0003.jpg
/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0000.jpg
/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0001.jpg
/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0002.jpg
/home/pi/Desktop/images/08012025/16/59/image_08012025_16_59_03_089777_0003.jpg
/home/pi/Desktop/images/08012025/17/00/image_08012025_17_00_02_332269_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":["1327487918","1327487860","1327487908","1327487898","1327487862","1327487913"],"photo_ids_order":["1327487860","1327487862","1327487898","1327487908","1327487913","1327487918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/745aa052bdd149852603ce538b0f7d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3097954544850949513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_17_00_02_332269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb97ea9733735d3fa4b20266b7a9cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody1074733434929413573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_16_58_02_978521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4085ef3906c5540633389c8ff809fce.jpg","text":"TemporaryFile(/tmp/multipartBody8162294795375388746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_16_59_03_089777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/621ca56dd639f30b207ceed69e678570.jpg","text":"TemporaryFile(/tmp/multipartBody4040905674544112761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_16_59_03_089777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/865fce7132873eea2529bc14905c57ea.jpg","text":"TemporaryFile(/tmp/multipartBody2595149388690047881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_16_59_03_089777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2c73c01cf3fefb03762fd75e4c67412.jpg","text":"TemporaryFile(/tmp/multipartBody1875317538869310388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736352957039,"filename":"image_08012025_16_59_03_089777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487898","file1":"1327487862","file0":"1327487860","file4":"1327487913","file5":"1327487918","file3":"1327487908"},"map_files_photo_id_array":[{"photo_id":"1327487918","filename":"file5"},{"photo_id":"1327487898","filename":"file2"},{"photo_id":"1327487913","filename":"file4"},{"photo_id":"1327487862","filename":"file1"},{"photo_id":"1327487860","filename":"file0"},{"photo_id":"1327487908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487918":["hashtag1","hashtag2"]},{"1327487860":["hashtag1","hashtag2"]},{"1327487908":["hashtag1","hashtag2"]},{"1327487898":["hashtag1","hashtag2"]},{"1327487862":["hashtag1","hashtag2"]},{"1327487913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487918, 1327487860, 1327487908, 1327487898, 1327487862, 1327487913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.7139892578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:15:41.999421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/00/image_08012025_17_00_02_332269_0003.jpg', '/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0000.jpg', '/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0001.jpg', '/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0002.jpg', '/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0003.jpg', '/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/00/image_08012025_17_00_02_332269_0003.jpg
/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0000.jpg
/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0001.jpg
/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0002.jpg
/home/pi/Desktop/images/08012025/17/01/image_08012025_17_01_02_524479_0003.jpg
/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_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":["1327487969","1327487962","1327487965","1327487970","1327487967","1327487972"],"photo_ids_order":["1327487962","1327487965","1327487967","1327487969","1327487970","1327487972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f497f5cadd20c62e2d71c591f128860.jpg","text":"TemporaryFile(/tmp/multipartBody5521837364167304087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_01_02_524479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/098fac1432cf51d00b5f14ff078d7cca.jpg","text":"TemporaryFile(/tmp/multipartBody436685113169910870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_00_02_332269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1dd6231e551ca9a8ea2c3ffe54407067.jpg","text":"TemporaryFile(/tmp/multipartBody3523766066636867345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_01_02_524479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00160c68d37e520a451d6d8c4f341bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4929785145474526958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_01_02_524479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3456c750738b1546bea524564c89a40.jpg","text":"TemporaryFile(/tmp/multipartBody7986030000810826525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_01_02_524479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5457dba979bee56e848c5d2b9ee66d74.jpg","text":"TemporaryFile(/tmp/multipartBody4153784314925207718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353017178,"filename":"image_08012025_17_02_02_694604_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327487967","file1":"1327487965","file0":"1327487962","file4":"1327487970","file5":"1327487972","file3":"1327487969"},"map_files_photo_id_array":[{"photo_id":"1327487972","filename":"file5"},{"photo_id":"1327487967","filename":"file2"},{"photo_id":"1327487970","filename":"file4"},{"photo_id":"1327487965","filename":"file1"},{"photo_id":"1327487962","filename":"file0"},{"photo_id":"1327487969","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487969":["hashtag1","hashtag2"]},{"1327487962":["hashtag1","hashtag2"]},{"1327487965":["hashtag1","hashtag2"]},{"1327487970":["hashtag1","hashtag2"]},{"1327487967":["hashtag1","hashtag2"]},{"1327487972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487969, 1327487962, 1327487965, 1327487970, 1327487967, 1327487972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91411232948303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:16:42.224757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_0001.jpg', '/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_0002.jpg', '/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0000.jpg', '/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0001.jpg', '/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0002.jpg', '/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_0001.jpg
/home/pi/Desktop/images/08012025/17/02/image_08012025_17_02_02_694604_0002.jpg
/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0000.jpg
/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0001.jpg
/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_0002.jpg
/home/pi/Desktop/images/08012025/17/03/image_08012025_17_03_02_869702_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":["1327487998","1327488004","1327488001","1327488009","1327488011","1327488014"],"photo_ids_order":["1327487998","1327488001","1327488004","1327488009","1327488011","1327488014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b126a15c03afbf6d8e0be5bb6df421a1.jpg","text":"TemporaryFile(/tmp/multipartBody5960079310382882295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_02_02_694604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/611b11d898db3187b740653f329e5f09.jpg","text":"TemporaryFile(/tmp/multipartBody112677626271722870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_03_02_869702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e592ba86ca72afff59c8d34c8de8ab50.jpg","text":"TemporaryFile(/tmp/multipartBody4033390490858408347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_02_02_694604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f147b8d575e195a9603e3c5f6125fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody1150697674417981990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_03_02_869702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9033435b2ef54d28bc179c75ffd0518f.jpg","text":"TemporaryFile(/tmp/multipartBody3129517249502640673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_03_02_869702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d837e7acfbf3d651b1d484fb4b8ea01f.jpg","text":"TemporaryFile(/tmp/multipartBody2231358340946178617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353077402,"filename":"image_08012025_17_03_02_869702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488004","file1":"1327488001","file0":"1327487998","file4":"1327488011","file5":"1327488014","file3":"1327488009"},"map_files_photo_id_array":[{"photo_id":"1327488014","filename":"file5"},{"photo_id":"1327488004","filename":"file2"},{"photo_id":"1327488011","filename":"file4"},{"photo_id":"1327488001","filename":"file1"},{"photo_id":"1327487998","filename":"file0"},{"photo_id":"1327488009","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327487998":["hashtag1","hashtag2"]},{"1327488004":["hashtag1","hashtag2"]},{"1327488001":["hashtag1","hashtag2"]},{"1327488009":["hashtag1","hashtag2"]},{"1327488011":["hashtag1","hashtag2"]},{"1327488014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327487998, 1327488004, 1327488001, 1327488009, 1327488011, 1327488014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84992218017578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:17:42.400894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0000.jpg', '/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0001.jpg', '/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0002.jpg', '/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0003.jpg', '/home/pi/Desktop/images/08012025/17/05/image_08012025_17_05_02_149237_0000.jpg', '/home/pi/Desktop/images/08012025/17/05/image_08012025_17_05_02_149237_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0000.jpg
/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0001.jpg
/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0002.jpg
/home/pi/Desktop/images/08012025/17/04/image_08012025_17_04_02_989703_0003.jpg
/home/pi/Desktop/images/08012025/17/05/image_08012025_17_05_02_149237_0000.jpg
/home/pi/Desktop/images/08012025/17/05/image_08012025_17_05_02_149237_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":["1327488052","1327488046","1327488045","1327488048","1327488056","1327488050"],"photo_ids_order":["1327488045","1327488046","1327488048","1327488050","1327488052","1327488056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4eb9bd735463e3ac066afc82c52a2a1c.jpg","text":"TemporaryFile(/tmp/multipartBody825300027036943650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_05_02_149237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a78c54b71c8f09e6e17f82b1e1fdc30.jpg","text":"TemporaryFile(/tmp/multipartBody8528807802430549483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_04_02_989703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b08fd12acf9a3439bedd68aeec1ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody6398619854599117063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_04_02_989703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c53ec52e00c2bfd3e0fa50061b816d42.jpg","text":"TemporaryFile(/tmp/multipartBody3254697174618883142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_04_02_989703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/260de0cc87d8a88d00d18e9a1d736c3f.jpg","text":"TemporaryFile(/tmp/multipartBody136810485153767841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_05_02_149237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7e9325a288ee3f39aba6224460d6c48.jpg","text":"TemporaryFile(/tmp/multipartBody8170144881818663625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353137540,"filename":"image_08012025_17_04_02_989703_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488048","file1":"1327488046","file0":"1327488045","file4":"1327488052","file5":"1327488056","file3":"1327488050"},"map_files_photo_id_array":[{"photo_id":"1327488056","filename":"file5"},{"photo_id":"1327488048","filename":"file2"},{"photo_id":"1327488052","filename":"file4"},{"photo_id":"1327488046","filename":"file1"},{"photo_id":"1327488045","filename":"file0"},{"photo_id":"1327488050","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488052":["hashtag1","hashtag2"]},{"1327488046":["hashtag1","hashtag2"]},{"1327488045":["hashtag1","hashtag2"]},{"1327488048":["hashtag1","hashtag2"]},{"1327488056":["hashtag1","hashtag2"]},{"1327488050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488052, 1327488046, 1327488045, 1327488048, 1327488056, 1327488050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96404051780701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:18:42.591579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/06/image_08012025_17_06_02_376242_0002.jpg', '/home/pi/Desktop/images/08012025/17/06/image_08012025_17_06_02_376242_0003.jpg', '/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0000.jpg', '/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0001.jpg', '/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0002.jpg', '/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/06/image_08012025_17_06_02_376242_0002.jpg
/home/pi/Desktop/images/08012025/17/06/image_08012025_17_06_02_376242_0003.jpg
/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0000.jpg
/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0001.jpg
/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_0002.jpg
/home/pi/Desktop/images/08012025/17/07/image_08012025_17_07_02_579215_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":["1327488148","1327488142","1327488144","1327488095","1327488086","1327488146"],"photo_ids_order":["1327488086","1327488095","1327488142","1327488144","1327488146","1327488148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22287cdb863d256a85a0ff990e58ad15.jpg","text":"TemporaryFile(/tmp/multipartBody5816877127320820255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_07_02_579215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/951e535669cc2fe597bdf1dbee3656c2.jpg","text":"TemporaryFile(/tmp/multipartBody2169459800321784461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_07_02_579215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e57ef0b024cf801d713105cc72bed6d0.jpg","text":"TemporaryFile(/tmp/multipartBody723633645227145165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_07_02_579215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f24999504d4c84e533ee9c4783e5b9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8072020099086295721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_06_02_376242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56e3556592170fbeb1254dce4a01e34f.jpg","text":"TemporaryFile(/tmp/multipartBody8546188302520353602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_06_02_376242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9efc1ef10a0a9cc1763f6d49dfca564b.jpg","text":"TemporaryFile(/tmp/multipartBody2210324200857396798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353197740,"filename":"image_08012025_17_07_02_579215_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488142","file1":"1327488095","file0":"1327488086","file4":"1327488146","file5":"1327488148","file3":"1327488144"},"map_files_photo_id_array":[{"photo_id":"1327488148","filename":"file5"},{"photo_id":"1327488142","filename":"file2"},{"photo_id":"1327488146","filename":"file4"},{"photo_id":"1327488095","filename":"file1"},{"photo_id":"1327488086","filename":"file0"},{"photo_id":"1327488144","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488148":["hashtag1","hashtag2"]},{"1327488142":["hashtag1","hashtag2"]},{"1327488144":["hashtag1","hashtag2"]},{"1327488095":["hashtag1","hashtag2"]},{"1327488086":["hashtag1","hashtag2"]},{"1327488146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488148, 1327488142, 1327488144, 1327488095, 1327488086, 1327488146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.609779596328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:19:41.781522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0000.jpg', '/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0001.jpg', '/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0002.jpg', '/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0003.jpg', '/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_0000.jpg', '/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0000.jpg
/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0001.jpg
/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0002.jpg
/home/pi/Desktop/images/08012025/17/08/image_08012025_17_08_02_751503_0003.jpg
/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_0000.jpg
/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_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":["1327488166","1327488169","1327488171","1327488168","1327488156","1327488158"],"photo_ids_order":["1327488156","1327488158","1327488166","1327488168","1327488169","1327488171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd62a720e67a756c5af278b963916b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1739075749131654309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_08_02_751503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7eb8e6dfac4cc44eedcee04b2cf5293a.jpg","text":"TemporaryFile(/tmp/multipartBody6988256428033408439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_09_02_982935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1d82f9cf135dddd2a288ec372006752d.jpg","text":"TemporaryFile(/tmp/multipartBody9122903098274294800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_09_02_982935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45248d856fdc3841a1b20d524a4c9e99.jpg","text":"TemporaryFile(/tmp/multipartBody1347777806339132364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_08_02_751503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a03374db36eccbfca3788fe646347891.jpg","text":"TemporaryFile(/tmp/multipartBody371364187946286230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_08_02_751503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12d421ca903cd4ef114b8cb32bc14349.jpg","text":"TemporaryFile(/tmp/multipartBody7898961640012373217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353256973,"filename":"image_08012025_17_08_02_751503_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488166","file1":"1327488158","file0":"1327488156","file4":"1327488169","file5":"1327488171","file3":"1327488168"},"map_files_photo_id_array":[{"photo_id":"1327488171","filename":"file5"},{"photo_id":"1327488166","filename":"file2"},{"photo_id":"1327488169","filename":"file4"},{"photo_id":"1327488158","filename":"file1"},{"photo_id":"1327488156","filename":"file0"},{"photo_id":"1327488168","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488166":["hashtag1","hashtag2"]},{"1327488169":["hashtag1","hashtag2"]},{"1327488171":["hashtag1","hashtag2"]},{"1327488168":["hashtag1","hashtag2"]},{"1327488156":["hashtag1","hashtag2"]},{"1327488158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488166, 1327488169, 1327488171, 1327488168, 1327488156, 1327488158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.77946424484253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:20:41.894870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_0003.jpg', '/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0000.jpg', '/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0001.jpg', '/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0002.jpg', '/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0003.jpg', '/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/09/image_08012025_17_09_02_982935_0003.jpg
/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0000.jpg
/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0001.jpg
/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0002.jpg
/home/pi/Desktop/images/08012025/17/10/image_08012025_17_10_02_150614_0003.jpg
/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_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":["1327488215","1327488229","1327488220","1327488236","1327488218","1327488233"],"photo_ids_order":["1327488215","1327488218","1327488220","1327488229","1327488233","1327488236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3e7fed6e69d4a20b49019393c70f023.jpg","text":"TemporaryFile(/tmp/multipartBody1471587151527121538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_09_02_982935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebfb5e5e883731d952c2e99f61a5696c.jpg","text":"TemporaryFile(/tmp/multipartBody21021134764107605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_10_02_150614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e65084fa3204654d35d68138949bfa57.jpg","text":"TemporaryFile(/tmp/multipartBody1059600674746457943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_10_02_150614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40aa645cca8b88d2fabe5164d4cd0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3694765854373957757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_11_02_302815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/001fab85e39219bf6311e45c4ff1405d.jpg","text":"TemporaryFile(/tmp/multipartBody8620485379262512099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_10_02_150614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2aad26272c1a4d63c82046b70bf6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5614757641137257503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353317058,"filename":"image_08012025_17_10_02_150614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488220","file1":"1327488218","file0":"1327488215","file4":"1327488233","file5":"1327488236","file3":"1327488229"},"map_files_photo_id_array":[{"photo_id":"1327488236","filename":"file5"},{"photo_id":"1327488220","filename":"file2"},{"photo_id":"1327488233","filename":"file4"},{"photo_id":"1327488218","filename":"file1"},{"photo_id":"1327488215","filename":"file0"},{"photo_id":"1327488229","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488215":["hashtag1","hashtag2"]},{"1327488229":["hashtag1","hashtag2"]},{"1327488220":["hashtag1","hashtag2"]},{"1327488236":["hashtag1","hashtag2"]},{"1327488218":["hashtag1","hashtag2"]},{"1327488233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488215, 1327488229, 1327488220, 1327488236, 1327488218, 1327488233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92669486999512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:21:42.190306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0002.jpg', '/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0003.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0000.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0001.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0002.jpg', '/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0002.jpg
/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0003.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0000.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0001.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0002.jpg
/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_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.803814888000488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:22:02.925815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0002.jpg', '/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0003.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0000.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0001.jpg', '/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0002.jpg', '/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0002.jpg
/home/pi/Desktop/images/08012025/17/11/image_08012025_17_11_02_302815_0003.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0000.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0001.jpg
/home/pi/Desktop/images/08012025/17/12/image_08012025_17_12_02_778343_0002.jpg
/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_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":["1327488313","1327488319","1327488282","1327488284","1327488287","1327488278"],"photo_ids_order":["1327488278","1327488282","1327488284","1327488287","1327488313","1327488319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/19f26726c9c1b57f426c7ee6fa90d404.jpg","text":"TemporaryFile(/tmp/multipartBody3436510292786446132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_12_02_778343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73cc33897d3081539cab2e148a6992bf.jpg","text":"TemporaryFile(/tmp/multipartBody9219159949391302712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_13_02_879219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75dd6e9c1c7f80904b79b807d126d853.jpg","text":"TemporaryFile(/tmp/multipartBody4314792751002049709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_11_02_302815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca1344d24260ade8dd63ff01a9cab06f.jpg","text":"TemporaryFile(/tmp/multipartBody8107564377545420263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_12_02_778343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/679611e15695f0c82326e12ccc901a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5325583237562694061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_12_02_778343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c4ab217108a38be0826c131006c5938.jpg","text":"TemporaryFile(/tmp/multipartBody8754029206434749732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353398070,"filename":"image_08012025_17_11_02_302815_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488284","file1":"1327488282","file0":"1327488278","file4":"1327488313","file5":"1327488319","file3":"1327488287"},"map_files_photo_id_array":[{"photo_id":"1327488319","filename":"file5"},{"photo_id":"1327488284","filename":"file2"},{"photo_id":"1327488313","filename":"file4"},{"photo_id":"1327488282","filename":"file1"},{"photo_id":"1327488278","filename":"file0"},{"photo_id":"1327488287","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488313":["hashtag1","hashtag2"]},{"1327488319":["hashtag1","hashtag2"]},{"1327488282":["hashtag1","hashtag2"]},{"1327488284":["hashtag1","hashtag2"]},{"1327488287":["hashtag1","hashtag2"]},{"1327488278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488313, 1327488319, 1327488282, 1327488284, 1327488287, 1327488278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8914794921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:23:03.277577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0001.jpg', '/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0002.jpg', '/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0003.jpg', '/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_0000.jpg', '/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_0001.jpg', '/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0001.jpg
/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0002.jpg
/home/pi/Desktop/images/08012025/17/13/image_08012025_17_13_02_879219_0003.jpg
/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_0000.jpg
/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_0001.jpg
/home/pi/Desktop/images/08012025/17/14/image_08012025_17_14_03_091330_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":["1327488334","1327488360","1327488357","1327488354","1327488350","1327488344"],"photo_ids_order":["1327488334","1327488344","1327488350","1327488354","1327488357","1327488360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31139524bfbb0094a3f48360d1c73523.jpg","text":"TemporaryFile(/tmp/multipartBody3472378269610813260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_13_02_879219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e72dab2e2a733c91523657797248429f.jpg","text":"TemporaryFile(/tmp/multipartBody8065076271879888633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_14_03_091330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0512ed66764f971824e4badb9c3caf22.jpg","text":"TemporaryFile(/tmp/multipartBody8805538864633268791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_14_03_091330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73d8846214fa788e6708b1e70fc646cf.jpg","text":"TemporaryFile(/tmp/multipartBody7832988946423945556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_14_03_091330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5bf0b8a4e1c52f5750666b415acc16ac.jpg","text":"TemporaryFile(/tmp/multipartBody3842630900767259887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_13_02_879219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/797ae047eed3d5e85684c01023f48a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3418657541273143261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353458470,"filename":"image_08012025_17_13_02_879219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488350","file1":"1327488344","file0":"1327488334","file4":"1327488357","file5":"1327488360","file3":"1327488354"},"map_files_photo_id_array":[{"photo_id":"1327488360","filename":"file5"},{"photo_id":"1327488350","filename":"file2"},{"photo_id":"1327488357","filename":"file4"},{"photo_id":"1327488344","filename":"file1"},{"photo_id":"1327488334","filename":"file0"},{"photo_id":"1327488354","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488334":["hashtag1","hashtag2"]},{"1327488360":["hashtag1","hashtag2"]},{"1327488357":["hashtag1","hashtag2"]},{"1327488354":["hashtag1","hashtag2"]},{"1327488350":["hashtag1","hashtag2"]},{"1327488344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488334, 1327488360, 1327488357, 1327488354, 1327488350, 1327488344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0672721862793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:24:03.141941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0001.jpg', '/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0002.jpg', '/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0003.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0000.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0001.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0001.jpg
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0002.jpg
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0003.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0000.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0001.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.78248929977417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:24:22.751976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0001.jpg', '/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0002.jpg', '/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0003.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0000.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0001.jpg', '/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0001.jpg
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0002.jpg
/home/pi/Desktop/images/08012025/17/15/image_08012025_17_15_02_199011_0003.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0000.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0001.jpg
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327488421","1327488409","1327488418","1327488406","1327488398","1327488416"],"photo_ids_order":["1327488398","1327488406","1327488409","1327488416","1327488418","1327488421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5f639d5d9cda9a5f661a0dfaac079ec.jpg","text":"TemporaryFile(/tmp/multipartBody1150781118747836260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_16_02_372491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce1178c49ffd18cedff944591cd9beb9.jpg","text":"TemporaryFile(/tmp/multipartBody8271173717794716324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_15_02_199011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73cc930af25c5bc8d87858a47e6f21b1.jpg","text":"TemporaryFile(/tmp/multipartBody8604832650376456371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_16_02_372491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a073744055e35e850e11f52c1cf0b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6472612577855466752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_15_02_199011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a6b2ced9c02a20d856bc1e3f55d0a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5726171989584585723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_15_02_199011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc5ec432103c2c148bb3e6373fe23bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3125658376923049497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353537911,"filename":"image_08012025_17_16_02_372491_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488409","file1":"1327488406","file0":"1327488398","file4":"1327488418","file5":"1327488421","file3":"1327488416"},"map_files_photo_id_array":[{"photo_id":"1327488421","filename":"file5"},{"photo_id":"1327488409","filename":"file2"},{"photo_id":"1327488418","filename":"file4"},{"photo_id":"1327488406","filename":"file1"},{"photo_id":"1327488398","filename":"file0"},{"photo_id":"1327488416","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488421":["hashtag1","hashtag2"]},{"1327488409":["hashtag1","hashtag2"]},{"1327488418":["hashtag1","hashtag2"]},{"1327488406":["hashtag1","hashtag2"]},{"1327488398":["hashtag1","hashtag2"]},{"1327488416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488421, 1327488409, 1327488418, 1327488406, 1327488398, 1327488416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.490220069885254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:25:21.917268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0003.jpg', '/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0000.jpg', '/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0001.jpg', '/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0002.jpg', '/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0003.jpg', '/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/16/image_08012025_17_16_02_372491_0003.jpg
/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0000.jpg
/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0001.jpg
/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0002.jpg
/home/pi/Desktop/images/08012025/17/17/image_08012025_17_17_02_556409_0003.jpg
/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_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":["1327488460","1327488477","1327488462","1327488516","1327488471","1327488525"],"photo_ids_order":["1327488460","1327488462","1327488471","1327488477","1327488516","1327488525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3322e64e4f69f8591f5d8f26ea62384c.jpg","text":"TemporaryFile(/tmp/multipartBody7830779939241479611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_16_02_372491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7db875c57674289813bd4c9396cd809e.jpg","text":"TemporaryFile(/tmp/multipartBody2070403261651140957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_17_02_556409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84cdf3c669c3c42d2d7e6ba4701132b2.jpg","text":"TemporaryFile(/tmp/multipartBody5713790214411272929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_17_02_556409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bca396341bff38f489d5af8a22eacefe.jpg","text":"TemporaryFile(/tmp/multipartBody1972629405798641828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_17_02_556409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/604bb1e76a0aeb2be73d25b9e76b2be9.jpg","text":"TemporaryFile(/tmp/multipartBody736793453289607733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_17_02_556409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1453a352647c4d5028455430b81da82.jpg","text":"TemporaryFile(/tmp/multipartBody821123168079669011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353597061,"filename":"image_08012025_17_18_02_755852_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488471","file1":"1327488462","file0":"1327488460","file4":"1327488516","file5":"1327488525","file3":"1327488477"},"map_files_photo_id_array":[{"photo_id":"1327488525","filename":"file5"},{"photo_id":"1327488471","filename":"file2"},{"photo_id":"1327488516","filename":"file4"},{"photo_id":"1327488462","filename":"file1"},{"photo_id":"1327488460","filename":"file0"},{"photo_id":"1327488477","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488460":["hashtag1","hashtag2"]},{"1327488477":["hashtag1","hashtag2"]},{"1327488462":["hashtag1","hashtag2"]},{"1327488516":["hashtag1","hashtag2"]},{"1327488471":["hashtag1","hashtag2"]},{"1327488525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488460, 1327488477, 1327488462, 1327488516, 1327488471, 1327488525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.92637372016907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:26:22.091266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_0001.jpg', '/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_0003.jpg', '/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0000.jpg', '/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0001.jpg', '/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0002.jpg', '/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_0001.jpg
/home/pi/Desktop/images/08012025/17/18/image_08012025_17_18_02_755852_0003.jpg
/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0000.jpg
/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0001.jpg
/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_0002.jpg
/home/pi/Desktop/images/08012025/17/19/image_08012025_17_19_03_021483_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":["1327488605","1327488586","1327488603","1327488590","1327488629","1327488617"],"photo_ids_order":["1327488586","1327488590","1327488603","1327488605","1327488617","1327488629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f64404fee1f5bd07a2d8b44e27fee6f.jpg","text":"TemporaryFile(/tmp/multipartBody4742511272803970720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_19_03_021483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6603b445517c8aa29dd998072a35a6da.jpg","text":"TemporaryFile(/tmp/multipartBody8125392473482333247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_18_02_755852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5aa76ee89185dbf4afe95033ee36787.jpg","text":"TemporaryFile(/tmp/multipartBody2149698946365610791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_19_03_021483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9078661a6c6299f7e71a8412b538a5a.jpg","text":"TemporaryFile(/tmp/multipartBody8710874110264952721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_18_02_755852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a959e8ed19317fad8a7bd0802686f51.jpg","text":"TemporaryFile(/tmp/multipartBody5349537737653674660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_19_03_021483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46880fbafe9dc2c7962f83e9ca2ccef0.jpg","text":"TemporaryFile(/tmp/multipartBody4213551209037757776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353657260,"filename":"image_08012025_17_19_03_021483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488603","file1":"1327488590","file0":"1327488586","file4":"1327488617","file5":"1327488629","file3":"1327488605"},"map_files_photo_id_array":[{"photo_id":"1327488629","filename":"file5"},{"photo_id":"1327488603","filename":"file2"},{"photo_id":"1327488617","filename":"file4"},{"photo_id":"1327488590","filename":"file1"},{"photo_id":"1327488586","filename":"file0"},{"photo_id":"1327488605","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488605":["hashtag1","hashtag2"]},{"1327488586":["hashtag1","hashtag2"]},{"1327488603":["hashtag1","hashtag2"]},{"1327488590":["hashtag1","hashtag2"]},{"1327488629":["hashtag1","hashtag2"]},{"1327488617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488605, 1327488586, 1327488603, 1327488590, 1327488629, 1327488617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24657368659973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:27:22.261620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/20/image_08012025_17_20_02_160657_0001.jpg', '/home/pi/Desktop/images/08012025/17/20/image_08012025_17_20_02_160657_0003.jpg', '/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0000.jpg', '/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0001.jpg', '/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0002.jpg', '/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/20/image_08012025_17_20_02_160657_0001.jpg
/home/pi/Desktop/images/08012025/17/20/image_08012025_17_20_02_160657_0003.jpg
/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0000.jpg
/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0001.jpg
/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_0002.jpg
/home/pi/Desktop/images/08012025/17/21/image_08012025_17_21_02_361366_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":["1327488655","1327488670","1327488658","1327488672","1327488674","1327488668"],"photo_ids_order":["1327488655","1327488658","1327488668","1327488670","1327488672","1327488674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1ee96e3ffc2c66cc031baf471a609dc.jpg","text":"TemporaryFile(/tmp/multipartBody7221125126488297076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_20_02_160657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/899a4f695bb4adb5c01386aecf5b98a1.jpg","text":"TemporaryFile(/tmp/multipartBody6836032804908399011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_21_02_361366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/940af4e7eb069f806717b5015c48ea82.jpg","text":"TemporaryFile(/tmp/multipartBody856317069619073211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_20_02_160657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33c83cee59c55858a719d942ca75485f.jpg","text":"TemporaryFile(/tmp/multipartBody9214246058827266014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_21_02_361366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df3b1ffdba3323ca959a1448b97e8782.jpg","text":"TemporaryFile(/tmp/multipartBody7799691608697911438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_21_02_361366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43ee7158b5972acd73e8ab89e104edeb.jpg","text":"TemporaryFile(/tmp/multipartBody2725664120906678149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353717430,"filename":"image_08012025_17_21_02_361366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488668","file1":"1327488658","file0":"1327488655","file4":"1327488672","file5":"1327488674","file3":"1327488670"},"map_files_photo_id_array":[{"photo_id":"1327488674","filename":"file5"},{"photo_id":"1327488668","filename":"file2"},{"photo_id":"1327488672","filename":"file4"},{"photo_id":"1327488658","filename":"file1"},{"photo_id":"1327488655","filename":"file0"},{"photo_id":"1327488670","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488655":["hashtag1","hashtag2"]},{"1327488670":["hashtag1","hashtag2"]},{"1327488658":["hashtag1","hashtag2"]},{"1327488672":["hashtag1","hashtag2"]},{"1327488674":["hashtag1","hashtag2"]},{"1327488668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488655, 1327488670, 1327488658, 1327488672, 1327488674, 1327488668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.47338628768921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:28:22.485326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0000.jpg', '/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0001.jpg', '/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0002.jpg', '/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0003.jpg', '/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0001.jpg', '/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0000.jpg
/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0001.jpg
/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0002.jpg
/home/pi/Desktop/images/08012025/17/22/image_08012025_17_22_02_540948_0003.jpg
/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0001.jpg
/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327488775","1327488748","1327488751","1327488753","1327488767","1327488746"],"photo_ids_order":["1327488746","1327488748","1327488751","1327488753","1327488767","1327488775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5174fe25523618c8d004eaa310e1ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2157738525994236228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_23_02_752103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7af3952084fb2a731903d509f43ef95d.jpg","text":"TemporaryFile(/tmp/multipartBody4686585959904013543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_22_02_540948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ca48e07e36c3416b35725231dc7e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody4577355459535903337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_22_02_540948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1989769d992d4de029e6b04b192f76f2.jpg","text":"TemporaryFile(/tmp/multipartBody3700601820521039112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_22_02_540948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cba7faf6371476fa7f6a7a0752a63a48.jpg","text":"TemporaryFile(/tmp/multipartBody7958265390995657965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_23_02_752103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74adbe45b043c7e7ad190fbcc8abe523.jpg","text":"TemporaryFile(/tmp/multipartBody435195672859897255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353777624,"filename":"image_08012025_17_22_02_540948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488751","file1":"1327488748","file0":"1327488746","file4":"1327488767","file5":"1327488775","file3":"1327488753"},"map_files_photo_id_array":[{"photo_id":"1327488775","filename":"file5"},{"photo_id":"1327488751","filename":"file2"},{"photo_id":"1327488767","filename":"file4"},{"photo_id":"1327488748","filename":"file1"},{"photo_id":"1327488746","filename":"file0"},{"photo_id":"1327488753","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488775":["hashtag1","hashtag2"]},{"1327488748":["hashtag1","hashtag2"]},{"1327488751":["hashtag1","hashtag2"]},{"1327488753":["hashtag1","hashtag2"]},{"1327488767":["hashtag1","hashtag2"]},{"1327488746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488775, 1327488748, 1327488751, 1327488753, 1327488767, 1327488746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.44376587867737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:29:22.799880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0003.jpg', '/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0000.jpg', '/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0001.jpg', '/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0002.jpg', '/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0003.jpg', '/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/23/image_08012025_17_23_02_752103_0003.jpg
/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0000.jpg
/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0001.jpg
/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0002.jpg
/home/pi/Desktop/images/08012025/17/24/image_08012025_17_24_03_008968_0003.jpg
/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_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":["1327488829","1327488811","1327488805","1327488808","1327488840","1327488836"],"photo_ids_order":["1327488805","1327488808","1327488811","1327488829","1327488836","1327488840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c9868e92ef1f300f2f6a8fc50792cc5.jpg","text":"TemporaryFile(/tmp/multipartBody4508877389283983866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_24_03_008968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e166d93fa7a5bb4f0e65a6145ff69ff.jpg","text":"TemporaryFile(/tmp/multipartBody6081640942958037786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_24_03_008968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1506d9a04076017648ad189d9d054ca.jpg","text":"TemporaryFile(/tmp/multipartBody1036393635441412400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_23_02_752103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6489192e33eed955a948dd38a0f0caaf.jpg","text":"TemporaryFile(/tmp/multipartBody8249493802458131815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_24_03_008968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/406a29d58c6b80bcf32724d7949a770c.jpg","text":"TemporaryFile(/tmp/multipartBody3742451787925152677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_25_03_138801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8405279139d3e21d04de186f8fc21e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2092232841860706895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353837958,"filename":"image_08012025_17_24_03_008968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488811","file1":"1327488808","file0":"1327488805","file4":"1327488836","file5":"1327488840","file3":"1327488829"},"map_files_photo_id_array":[{"photo_id":"1327488840","filename":"file5"},{"photo_id":"1327488811","filename":"file2"},{"photo_id":"1327488836","filename":"file4"},{"photo_id":"1327488808","filename":"file1"},{"photo_id":"1327488805","filename":"file0"},{"photo_id":"1327488829","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488829":["hashtag1","hashtag2"]},{"1327488811":["hashtag1","hashtag2"]},{"1327488805":["hashtag1","hashtag2"]},{"1327488808":["hashtag1","hashtag2"]},{"1327488840":["hashtag1","hashtag2"]},{"1327488836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488829, 1327488811, 1327488805, 1327488808, 1327488840, 1327488836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.75242495536804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:30:31.908600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0001.jpg', '/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0002.jpg', '/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0003.jpg', '/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_0001.jpg', '/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_0002.jpg', '/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0001.jpg
/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0002.jpg
/home/pi/Desktop/images/08012025/17/25/image_08012025_17_25_03_138801_0003.jpg
/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_0001.jpg
/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_0002.jpg
/home/pi/Desktop/images/08012025/17/26/image_08012025_17_26_02_280591_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":["1327488886","1327488895","1327488889","1327488901","1327488913","1327488898"],"photo_ids_order":["1327488886","1327488889","1327488895","1327488898","1327488901","1327488913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/561b7ff39a3b0de169f3d35bcd13f061.jpg","text":"TemporaryFile(/tmp/multipartBody2982387076863930699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_25_03_138801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4614ae95a03814ce4259a1efb4a6a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8896515773904331007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_25_03_138801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08b51f2e91d43d4b7278702c2edcaab3.jpg","text":"TemporaryFile(/tmp/multipartBody5251989489624555713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_25_03_138801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/258bedbe90d250c3802cb06bb203b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7603927865422903447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_26_02_280591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7ef01c51fa7bb0141dbb67a6010f20c.jpg","text":"TemporaryFile(/tmp/multipartBody7988457964471023598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_26_02_280591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/481d5bc08c6c4e5a8d0c1ba05e948dad.jpg","text":"TemporaryFile(/tmp/multipartBody4840764780046753574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353907078,"filename":"image_08012025_17_26_02_280591_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488895","file1":"1327488889","file0":"1327488886","file4":"1327488901","file5":"1327488913","file3":"1327488898"},"map_files_photo_id_array":[{"photo_id":"1327488913","filename":"file5"},{"photo_id":"1327488895","filename":"file2"},{"photo_id":"1327488901","filename":"file4"},{"photo_id":"1327488889","filename":"file1"},{"photo_id":"1327488886","filename":"file0"},{"photo_id":"1327488898","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488886":["hashtag1","hashtag2"]},{"1327488895":["hashtag1","hashtag2"]},{"1327488889":["hashtag1","hashtag2"]},{"1327488901":["hashtag1","hashtag2"]},{"1327488913":["hashtag1","hashtag2"]},{"1327488898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488886, 1327488895, 1327488889, 1327488901, 1327488913, 1327488898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.97383093833923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:31:31.973785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0000.jpg', '/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0001.jpg', '/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0002.jpg', '/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0003.jpg', '/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0000.jpg', '/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0000.jpg
/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0001.jpg
/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0002.jpg
/home/pi/Desktop/images/08012025/17/27/image_08012025_17_27_02_413908_0003.jpg
/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0000.jpg
/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_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":["1327488952","1327488946","1327488948","1327488950","1327488944","1327488938"],"photo_ids_order":["1327488938","1327488944","1327488946","1327488948","1327488950","1327488952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0140f1160abc75998feacc51fc4f53c1.jpg","text":"TemporaryFile(/tmp/multipartBody5997178501443336675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_28_02_592854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e76d3f4f153d4e2d272d068a282f4da.jpg","text":"TemporaryFile(/tmp/multipartBody4988366884520466055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_27_02_413908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad63db734537e09f8c8fc72abec04953.jpg","text":"TemporaryFile(/tmp/multipartBody3993622954322526106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_27_02_413908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e355d6716e980caf2a0dc1862f28153.jpg","text":"TemporaryFile(/tmp/multipartBody5930498558005592806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_28_02_592854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a5a83a3f5953911967d79c37107cc75.jpg","text":"TemporaryFile(/tmp/multipartBody396919755799098743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_27_02_413908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31469df1914b6c6e7a269cafcc9105be.jpg","text":"TemporaryFile(/tmp/multipartBody2007688672555411107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736353967145,"filename":"image_08012025_17_27_02_413908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327488946","file1":"1327488944","file0":"1327488938","file4":"1327488950","file5":"1327488952","file3":"1327488948"},"map_files_photo_id_array":[{"photo_id":"1327488952","filename":"file5"},{"photo_id":"1327488946","filename":"file2"},{"photo_id":"1327488950","filename":"file4"},{"photo_id":"1327488944","filename":"file1"},{"photo_id":"1327488938","filename":"file0"},{"photo_id":"1327488948","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327488952":["hashtag1","hashtag2"]},{"1327488946":["hashtag1","hashtag2"]},{"1327488948":["hashtag1","hashtag2"]},{"1327488950":["hashtag1","hashtag2"]},{"1327488944":["hashtag1","hashtag2"]},{"1327488938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327488952, 1327488946, 1327488948, 1327488950, 1327488944, 1327488938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.414533615112305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:32:32.223641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0002.jpg', '/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0003.jpg', '/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0000.jpg', '/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0002.jpg', '/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0003.jpg', '/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0002.jpg
/home/pi/Desktop/images/08012025/17/28/image_08012025_17_28_02_592854_0003.jpg
/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0000.jpg
/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0002.jpg
/home/pi/Desktop/images/08012025/17/29/image_08012025_17_29_02_810863_0003.jpg
/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_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":["1327489030","1327489032","1327489029","1327489034","1327489022","1327489016"],"photo_ids_order":["1327489016","1327489022","1327489029","1327489030","1327489032","1327489034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e395a7a9d515ca638eb2879b84a153d7.jpg","text":"TemporaryFile(/tmp/multipartBody4505768101961389971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_29_02_810863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e1b79da279b992c2e9204ff3a276b80.jpg","text":"TemporaryFile(/tmp/multipartBody4281947524299749108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_29_02_810863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e732ffeb12fdacd6a550df379a9c41d2.jpg","text":"TemporaryFile(/tmp/multipartBody872428494370991694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_29_02_810863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1db6407db51aa6aa56f37b6db527b353.jpg","text":"TemporaryFile(/tmp/multipartBody3463889259547797668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_30_02_977444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ee7bdb8522492a8c1964c0fc0ebee44.jpg","text":"TemporaryFile(/tmp/multipartBody322359517755097747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_28_02_592854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7c560b0a20a06c5580c6c1982c8c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody340359854562685206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354027390,"filename":"image_08012025_17_28_02_592854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489029","file1":"1327489022","file0":"1327489016","file4":"1327489032","file5":"1327489034","file3":"1327489030"},"map_files_photo_id_array":[{"photo_id":"1327489034","filename":"file5"},{"photo_id":"1327489029","filename":"file2"},{"photo_id":"1327489032","filename":"file4"},{"photo_id":"1327489022","filename":"file1"},{"photo_id":"1327489016","filename":"file0"},{"photo_id":"1327489030","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489030":["hashtag1","hashtag2"]},{"1327489032":["hashtag1","hashtag2"]},{"1327489029":["hashtag1","hashtag2"]},{"1327489034":["hashtag1","hashtag2"]},{"1327489022":["hashtag1","hashtag2"]},{"1327489016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489030, 1327489032, 1327489029, 1327489034, 1327489022, 1327489016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42158007621765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:33:32.422396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0001.jpg', '/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0002.jpg', '/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0003.jpg', '/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0000.jpg', '/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0001.jpg', '/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0001.jpg
/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0002.jpg
/home/pi/Desktop/images/08012025/17/30/image_08012025_17_30_02_977444_0003.jpg
/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0000.jpg
/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0001.jpg
/home/pi/Desktop/images/08012025/17/31/image_08012025_17_31_02_154624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489075","1327489057","1327489065","1327489059","1327489053","1327489055"],"photo_ids_order":["1327489053","1327489055","1327489057","1327489059","1327489065","1327489075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31d32e9a1e5407979ec37246751386b9.jpg","text":"TemporaryFile(/tmp/multipartBody807998891182811113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_31_02_154624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ffa7be8c4e39c8ac7ff1c45a0c0ad7d.jpg","text":"TemporaryFile(/tmp/multipartBody2432075958379853749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_30_02_977444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/574719df660b6e9982b46af58f63d94d.jpg","text":"TemporaryFile(/tmp/multipartBody5307332231308448265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_31_02_154624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d744d303affdf7678ee216114f6e8745.jpg","text":"TemporaryFile(/tmp/multipartBody7974329753920634780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_31_02_154624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f01560f32946dfeaebf5ab84f092d10.jpg","text":"TemporaryFile(/tmp/multipartBody2371285690888048670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_30_02_977444_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fffbad491a89960f44956d86901626a2.jpg","text":"TemporaryFile(/tmp/multipartBody6674065416803464120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354087614,"filename":"image_08012025_17_30_02_977444_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489057","file1":"1327489055","file0":"1327489053","file4":"1327489065","file5":"1327489075","file3":"1327489059"},"map_files_photo_id_array":[{"photo_id":"1327489075","filename":"file5"},{"photo_id":"1327489057","filename":"file2"},{"photo_id":"1327489065","filename":"file4"},{"photo_id":"1327489055","filename":"file1"},{"photo_id":"1327489053","filename":"file0"},{"photo_id":"1327489059","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489075":["hashtag1","hashtag2"]},{"1327489057":["hashtag1","hashtag2"]},{"1327489065":["hashtag1","hashtag2"]},{"1327489059":["hashtag1","hashtag2"]},{"1327489053":["hashtag1","hashtag2"]},{"1327489055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489075, 1327489057, 1327489065, 1327489059, 1327489053, 1327489055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.245218992233276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:34:32.601645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0000.jpg', '/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0001.jpg', '/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0002.jpg', '/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0003.jpg', '/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0000.jpg', '/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0000.jpg
/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0001.jpg
/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0002.jpg
/home/pi/Desktop/images/08012025/17/32/image_08012025_17_32_02_341617_0003.jpg
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0000.jpg
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_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":["1327489089","1327489098","1327489083","1327489091","1327489085","1327489088"],"photo_ids_order":["1327489083","1327489085","1327489088","1327489089","1327489091","1327489098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a42f76ae82c2f3d21d976213ce4cb7d8.jpg","text":"TemporaryFile(/tmp/multipartBody5510390403672620505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_32_02_341617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f5c3b2f8587e3e73457d460365b3f26.jpg","text":"TemporaryFile(/tmp/multipartBody3924382205481866350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_33_02_632869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68e1114f4b3631e258c18cec3dcbae6d.jpg","text":"TemporaryFile(/tmp/multipartBody8166733123140800059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_32_02_341617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/458c3b37052a358eb54b21e32a4dddc3.jpg","text":"TemporaryFile(/tmp/multipartBody6973815131356311709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_33_02_632869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8eead86cbfdaaa4541c4ce5b025de40.jpg","text":"TemporaryFile(/tmp/multipartBody1596237432649978077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_32_02_341617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/641a0278a6c0380a6c2b6ab5dc4573e1.jpg","text":"TemporaryFile(/tmp/multipartBody5863535119690019502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354147820,"filename":"image_08012025_17_32_02_341617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489088","file1":"1327489085","file0":"1327489083","file4":"1327489091","file5":"1327489098","file3":"1327489089"},"map_files_photo_id_array":[{"photo_id":"1327489098","filename":"file5"},{"photo_id":"1327489088","filename":"file2"},{"photo_id":"1327489091","filename":"file4"},{"photo_id":"1327489085","filename":"file1"},{"photo_id":"1327489083","filename":"file0"},{"photo_id":"1327489089","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489089":["hashtag1","hashtag2"]},{"1327489098":["hashtag1","hashtag2"]},{"1327489083":["hashtag1","hashtag2"]},{"1327489091":["hashtag1","hashtag2"]},{"1327489085":["hashtag1","hashtag2"]},{"1327489088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489089, 1327489098, 1327489083, 1327489091, 1327489085, 1327489088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85387706756592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:35:32.750664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0002.jpg', '/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0003.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0000.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0001.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0002.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0002.jpg
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0003.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0000.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0001.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0002.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_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.717904090881348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:35:52.752608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0002.jpg', '/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0003.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0000.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0001.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0002.jpg', '/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0002.jpg
/home/pi/Desktop/images/08012025/17/33/image_08012025_17_33_02_632869_0003.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0000.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0001.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_0002.jpg
/home/pi/Desktop/images/08012025/17/34/image_08012025_17_34_02_742104_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":["1327489141","1327489135","1327489138","1327489125","1327489121","1327489124"],"photo_ids_order":["1327489121","1327489124","1327489125","1327489135","1327489138","1327489141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/250e2de23ddb1fd8284ea202d76c6e28.jpg","text":"TemporaryFile(/tmp/multipartBody5007221413733031236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_34_02_742104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc34b0dc5d1681a5d0a09edf5314a2b7.jpg","text":"TemporaryFile(/tmp/multipartBody1967361709165846997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_34_02_742104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59b0e10b93713353f061925980e11ad4.jpg","text":"TemporaryFile(/tmp/multipartBody187797500881689240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_34_02_742104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88362e30288f57bd98cbfb81f900c180.jpg","text":"TemporaryFile(/tmp/multipartBody243493979636752095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_34_02_742104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9dbba5d1fc39b3fa156e1f77b967ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody7086209247797106296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_33_02_632869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f3b149de15cc80d31bb3219e016b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1620065578240090685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354227872,"filename":"image_08012025_17_33_02_632869_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489125","file1":"1327489124","file0":"1327489121","file4":"1327489138","file5":"1327489141","file3":"1327489135"},"map_files_photo_id_array":[{"photo_id":"1327489141","filename":"file5"},{"photo_id":"1327489125","filename":"file2"},{"photo_id":"1327489138","filename":"file4"},{"photo_id":"1327489124","filename":"file1"},{"photo_id":"1327489121","filename":"file0"},{"photo_id":"1327489135","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489141":["hashtag1","hashtag2"]},{"1327489135":["hashtag1","hashtag2"]},{"1327489138":["hashtag1","hashtag2"]},{"1327489125":["hashtag1","hashtag2"]},{"1327489121":["hashtag1","hashtag2"]},{"1327489124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489141, 1327489135, 1327489138, 1327489125, 1327489121, 1327489124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.367286920547485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:36:51.926536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0000.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0001.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0002.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0003.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0000.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0000.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0001.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0002.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0003.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0000.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_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.628294944763184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:37:22.154480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0000.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0001.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0002.jpg', '/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0003.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0000.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0000.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0001.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0002.jpg
/home/pi/Desktop/images/08012025/17/35/image_08012025_17_35_02_942031_0003.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0000.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_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":["1327489194","1327489188","1327489173","1327489190","1327489192","1327489171"],"photo_ids_order":["1327489171","1327489173","1327489188","1327489190","1327489192","1327489194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77d7db276180c9016d4fbfe30d66875e.jpg","text":"TemporaryFile(/tmp/multipartBody8851730934886361117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_36_03_079708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0885b5c951a93ef44c78d38a2ef706d.jpg","text":"TemporaryFile(/tmp/multipartBody4275890397932569522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_35_02_942031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1cd22ca624d5cc42b1e21aef0db4dd25.jpg","text":"TemporaryFile(/tmp/multipartBody1306141762486529637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_35_02_942031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04c29944c9bdd0d8435209b3c73aa5a1.jpg","text":"TemporaryFile(/tmp/multipartBody953027623939909813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_35_02_942031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52385f582388aef52f3d0279fdfa173f.jpg","text":"TemporaryFile(/tmp/multipartBody7813994724768959922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_36_03_079708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cb11f7caeaad65d60ffe82b108bb537.jpg","text":"TemporaryFile(/tmp/multipartBody3173864311966239664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354317167,"filename":"image_08012025_17_35_02_942031_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489188","file1":"1327489173","file0":"1327489171","file4":"1327489192","file5":"1327489194","file3":"1327489190"},"map_files_photo_id_array":[{"photo_id":"1327489194","filename":"file5"},{"photo_id":"1327489188","filename":"file2"},{"photo_id":"1327489192","filename":"file4"},{"photo_id":"1327489173","filename":"file1"},{"photo_id":"1327489171","filename":"file0"},{"photo_id":"1327489190","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489194":["hashtag1","hashtag2"]},{"1327489188":["hashtag1","hashtag2"]},{"1327489173":["hashtag1","hashtag2"]},{"1327489190":["hashtag1","hashtag2"]},{"1327489192":["hashtag1","hashtag2"]},{"1327489171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489194, 1327489188, 1327489173, 1327489190, 1327489192, 1327489171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21096444129944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:38:22.388803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0002.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0003.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0000.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0001.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0002.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0002.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0003.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0000.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0001.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0002.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_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.794191122055054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:38:42.331078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0002.jpg', '/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0003.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0000.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0001.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0002.jpg', '/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0002.jpg
/home/pi/Desktop/images/08012025/17/36/image_08012025_17_36_03_079708_0003.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0000.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0001.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_0002.jpg
/home/pi/Desktop/images/08012025/17/37/image_08012025_17_37_02_346860_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":["1327489252","1327489260","1327489254","1327489259","1327489262","1327489229"],"photo_ids_order":["1327489229","1327489252","1327489254","1327489259","1327489260","1327489262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10f9f53577b11e748ee6efa7b4f6b011.jpg","text":"TemporaryFile(/tmp/multipartBody1994796559500562922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_36_03_079708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/259e1963df6b25d04089cfe04cecb44e.jpg","text":"TemporaryFile(/tmp/multipartBody6851683003768561600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_37_02_346860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/895d78a07e00f48922201a6f21473847.jpg","text":"TemporaryFile(/tmp/multipartBody7724074244713563210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_37_02_346860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca0893a8089bc74ebcc8451836eeb8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5287151059699043393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_37_02_346860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/648b4283b30787366b427b81041188c5.jpg","text":"TemporaryFile(/tmp/multipartBody6415193501071877736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_37_02_346860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c2ed7f02c66f4ad64ae13bb96f188e6.jpg","text":"TemporaryFile(/tmp/multipartBody1795625982791759744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354397531,"filename":"image_08012025_17_36_03_079708_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489254","file1":"1327489252","file0":"1327489229","file4":"1327489260","file5":"1327489262","file3":"1327489259"},"map_files_photo_id_array":[{"photo_id":"1327489262","filename":"file5"},{"photo_id":"1327489254","filename":"file2"},{"photo_id":"1327489260","filename":"file4"},{"photo_id":"1327489252","filename":"file1"},{"photo_id":"1327489229","filename":"file0"},{"photo_id":"1327489259","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489252":["hashtag1","hashtag2"]},{"1327489260":["hashtag1","hashtag2"]},{"1327489254":["hashtag1","hashtag2"]},{"1327489259":["hashtag1","hashtag2"]},{"1327489262":["hashtag1","hashtag2"]},{"1327489229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489252, 1327489260, 1327489254, 1327489259, 1327489262, 1327489229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11962699890137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:39:42.520491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0000.jpg', '/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0001.jpg', '/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0002.jpg', '/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0003.jpg', '/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0000.jpg', '/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0000.jpg
/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0001.jpg
/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0002.jpg
/home/pi/Desktop/images/08012025/17/38/image_08012025_17_38_02_492755_0003.jpg
/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0000.jpg
/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_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":["1327489306","1327489290","1327489303","1327489308","1327489313","1327489310"],"photo_ids_order":["1327489290","1327489303","1327489306","1327489308","1327489310","1327489313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b024285ee6fc205a3526c4a6a72ea97c.jpg","text":"TemporaryFile(/tmp/multipartBody991634936059610470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_38_02_492755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e21835621d1e82789e61e3a0708e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody9034331420073788371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_38_02_492755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c91d661a57ff0888dae808991cf2ba63.jpg","text":"TemporaryFile(/tmp/multipartBody7825446501004238775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_38_02_492755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a6a63839f0e0071fbf789cc46da6e529.jpg","text":"TemporaryFile(/tmp/multipartBody1414849242344409932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_38_02_492755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/051807ea86e1be3ec566e76976dabcdd.jpg","text":"TemporaryFile(/tmp/multipartBody1119904019905205944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_39_02_651368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7386fb2427cd2f08698915d79375ac39.jpg","text":"TemporaryFile(/tmp/multipartBody6633030245467761019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354457585,"filename":"image_08012025_17_39_02_651368_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489306","file1":"1327489303","file0":"1327489290","file4":"1327489310","file5":"1327489313","file3":"1327489308"},"map_files_photo_id_array":[{"photo_id":"1327489313","filename":"file5"},{"photo_id":"1327489306","filename":"file2"},{"photo_id":"1327489310","filename":"file4"},{"photo_id":"1327489303","filename":"file1"},{"photo_id":"1327489290","filename":"file0"},{"photo_id":"1327489308","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489306":["hashtag1","hashtag2"]},{"1327489290":["hashtag1","hashtag2"]},{"1327489303":["hashtag1","hashtag2"]},{"1327489308":["hashtag1","hashtag2"]},{"1327489313":["hashtag1","hashtag2"]},{"1327489310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489306, 1327489290, 1327489303, 1327489308, 1327489313, 1327489310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.822275161743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:40:42.684249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0002.jpg', '/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0003.jpg', '/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0000.jpg', '/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0001.jpg', '/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0002.jpg
/home/pi/Desktop/images/08012025/17/39/image_08012025_17_39_02_651368_0003.jpg
/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0000.jpg
/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0001.jpg
/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489416","1327489413","1327489397","1327489399","1327489396"],"photo_ids_order":["1327489396","1327489397","1327489399","1327489413","1327489416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36e36403975953d238714ae37c250bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2716790259349422151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354515497,"filename":"image_08012025_17_40_02_894911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/717b5852c3d84f29a57070a955275cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6481876799956806726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354515497,"filename":"image_08012025_17_40_02_894911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b2cfeaa3591c38505f0639cdb2860b2.jpg","text":"TemporaryFile(/tmp/multipartBody8201291437706137916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354515497,"filename":"image_08012025_17_39_02_651368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da739a80338e8d99a80482f7fd3197e5.jpg","text":"TemporaryFile(/tmp/multipartBody5859289375991563401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354515497,"filename":"image_08012025_17_40_02_894911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3261c61d05324d7f4c2f820661693927.jpg","text":"TemporaryFile(/tmp/multipartBody9031460940868753151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354515497,"filename":"image_08012025_17_39_02_651368_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489399","file1":"1327489397","file0":"1327489396","file4":"1327489416","file3":"1327489413"},"map_files_photo_id_array":[{"photo_id":"1327489399","filename":"file2"},{"photo_id":"1327489416","filename":"file4"},{"photo_id":"1327489397","filename":"file1"},{"photo_id":"1327489396","filename":"file0"},{"photo_id":"1327489413","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489416":["hashtag1","hashtag2"]},{"1327489413":["hashtag1","hashtag2"]},{"1327489397":["hashtag1","hashtag2"]},{"1327489399":["hashtag1","hashtag2"]},{"1327489396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489416, 1327489413, 1327489397, 1327489399, 1327489396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 55.23878026008606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:41:41.888439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0003.jpg', '/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0000.jpg', '/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/40/image_08012025_17_40_02_894911_0003.jpg
/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0000.jpg
/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_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":["1327489438","1327489440","1327489439"],"photo_ids_order":["1327489438","1327489439","1327489440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/766b0c6d3a6f35d09a898496657aca61.jpg","text":"TemporaryFile(/tmp/multipartBody851372637454977850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354569845,"filename":"image_08012025_17_40_02_894911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eeee88cd345792f3b03f3ca478ed9619.jpg","text":"TemporaryFile(/tmp/multipartBody1654618647931130186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354569845,"filename":"image_08012025_17_41_03_035207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b180e833f6493fc3b70f56f135caa78.jpg","text":"TemporaryFile(/tmp/multipartBody3390048425126058860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354569845,"filename":"image_08012025_17_41_03_035207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489440","file1":"1327489439","file0":"1327489438"},"map_files_photo_id_array":[{"photo_id":"1327489440","filename":"file2"},{"photo_id":"1327489439","filename":"file1"},{"photo_id":"1327489438","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489438":["hashtag1","hashtag2"]},{"1327489440":["hashtag1","hashtag2"]},{"1327489439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489438, 1327489440, 1327489439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.997450351715088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:42:22.119242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0002.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0000.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0001.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0002.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0000.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0001.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.051745414733887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:42:42.059336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0002.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0000.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0001.jpg', '/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/41/image_08012025_17_41_03_035207_0002.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0000.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0001.jpg
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489509","1327489524","1327489526","1327489508"],"photo_ids_order":["1327489508","1327489509","1327489524","1327489526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3400d42595a08de469108e9fe214b16.jpg","text":"TemporaryFile(/tmp/multipartBody1976028598681081454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354632636,"filename":"image_08012025_17_42_02_222268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d445810574eaa9063d18f06ccc5f37d1.jpg","text":"TemporaryFile(/tmp/multipartBody7957060236663191849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354632636,"filename":"image_08012025_17_42_02_222268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3faea155b16c8ef2596825d366c0eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5606826783662447974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354632636,"filename":"image_08012025_17_42_02_222268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc27dde4bd96c6ba1b88d5fe5d331f07.jpg","text":"TemporaryFile(/tmp/multipartBody7728281459977596953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354632636,"filename":"image_08012025_17_41_03_035207_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489524","file1":"1327489509","file0":"1327489508","file3":"1327489526"},"map_files_photo_id_array":[{"photo_id":"1327489524","filename":"file2"},{"photo_id":"1327489509","filename":"file1"},{"photo_id":"1327489508","filename":"file0"},{"photo_id":"1327489526","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489509":["hashtag1","hashtag2"]},{"1327489524":["hashtag1","hashtag2"]},{"1327489526":["hashtag1","hashtag2"]},{"1327489508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489509, 1327489524, 1327489526, 1327489508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32078146934509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:43:22.342965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0003.jpg', '/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0000.jpg', '/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0001.jpg', '/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/42/image_08012025_17_42_02_222268_0003.jpg
/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0000.jpg
/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0001.jpg
/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489600","1327489598","1327489583","1327489573"],"photo_ids_order":["1327489573","1327489583","1327489598","1327489600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efed5a04ee1ed586485f51d4e37cf76e.jpg","text":"TemporaryFile(/tmp/multipartBody6858755186329513075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354672615,"filename":"image_08012025_17_43_02_416646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d4a736a0cd7aff136fa1ed37047211d.jpg","text":"TemporaryFile(/tmp/multipartBody486872157070193093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354672615,"filename":"image_08012025_17_43_02_416646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4983421fcdfe386cf0a1014c9e512ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2386720917406614187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354672615,"filename":"image_08012025_17_43_02_416646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47517e54c02c9cb59c48f2005b39143a.jpg","text":"TemporaryFile(/tmp/multipartBody420019997069009809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354672615,"filename":"image_08012025_17_42_02_222268_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489598","file1":"1327489583","file0":"1327489573","file3":"1327489600"},"map_files_photo_id_array":[{"photo_id":"1327489598","filename":"file2"},{"photo_id":"1327489583","filename":"file1"},{"photo_id":"1327489573","filename":"file0"},{"photo_id":"1327489600","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489600":["hashtag1","hashtag2"]},{"1327489598":["hashtag1","hashtag2"]},{"1327489583":["hashtag1","hashtag2"]},{"1327489573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489600, 1327489598, 1327489583, 1327489573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.953463315963745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:44:22.448986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0003.jpg', '/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0000.jpg', '/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0001.jpg', '/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/43/image_08012025_17_43_02_416646_0003.jpg
/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0000.jpg
/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0001.jpg
/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489674","1327489707","1327489685","1327489678"],"photo_ids_order":["1327489674","1327489678","1327489685","1327489707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06b4431a17c2d38aca54d0050d242d20.jpg","text":"TemporaryFile(/tmp/multipartBody9156211551197250847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354732712,"filename":"image_08012025_17_43_02_416646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/351b4f2a5eff57239a3a5a73af43883b.jpg","text":"TemporaryFile(/tmp/multipartBody2240288986833786276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354732712,"filename":"image_08012025_17_44_02_614229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3016be9447615f7d15a384cd648e02fd.jpg","text":"TemporaryFile(/tmp/multipartBody2033303155773222435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354732712,"filename":"image_08012025_17_44_02_614229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db0882080a6e57630b402151da55f886.jpg","text":"TemporaryFile(/tmp/multipartBody7509309095406480688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354732712,"filename":"image_08012025_17_44_02_614229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489685","file1":"1327489678","file0":"1327489674","file3":"1327489707"},"map_files_photo_id_array":[{"photo_id":"1327489685","filename":"file2"},{"photo_id":"1327489678","filename":"file1"},{"photo_id":"1327489674","filename":"file0"},{"photo_id":"1327489707","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489674":["hashtag1","hashtag2"]},{"1327489707":["hashtag1","hashtag2"]},{"1327489685":["hashtag1","hashtag2"]},{"1327489678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489674, 1327489707, 1327489685, 1327489678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43883967399597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:45:03.416981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:45:22.713852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0003.jpg', '/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0000.jpg', '/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0001.jpg', '/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/44/image_08012025_17_44_02_614229_0003.jpg
/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0000.jpg
/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0001.jpg
/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489756","1327489760","1327489751","1327489747"],"photo_ids_order":["1327489747","1327489751","1327489756","1327489760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfeac4a3feb578a04979e1ec22eaa493.jpg","text":"TemporaryFile(/tmp/multipartBody3962267081484294169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354793041,"filename":"image_08012025_17_45_02_856665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/812c6997e1fd44d9c4e7e4848762262d.jpg","text":"TemporaryFile(/tmp/multipartBody5303288093438205947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354793041,"filename":"image_08012025_17_45_02_856665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ea658ae4e9e2a8a1895a6220e9556ff.jpg","text":"TemporaryFile(/tmp/multipartBody4078149240641476451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354793041,"filename":"image_08012025_17_45_02_856665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4e2f6bb9fa327f70d8ee6138870ba45.jpg","text":"TemporaryFile(/tmp/multipartBody251313528433844306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354793041,"filename":"image_08012025_17_44_02_614229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489756","file1":"1327489751","file0":"1327489747","file3":"1327489760"},"map_files_photo_id_array":[{"photo_id":"1327489756","filename":"file2"},{"photo_id":"1327489751","filename":"file1"},{"photo_id":"1327489747","filename":"file0"},{"photo_id":"1327489760","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489756":["hashtag1","hashtag2"]},{"1327489760":["hashtag1","hashtag2"]},{"1327489751":["hashtag1","hashtag2"]},{"1327489747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489756, 1327489760, 1327489751, 1327489747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.591010332107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:46:21.816581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0003.jpg', '/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0000.jpg', '/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0001.jpg', '/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/45/image_08012025_17_45_02_856665_0003.jpg
/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0000.jpg
/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0001.jpg
/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489804","1327489812","1327489809","1327489814"],"photo_ids_order":["1327489804","1327489809","1327489812","1327489814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d88afda3813ab061efe44bf0b920b94f.jpg","text":"TemporaryFile(/tmp/multipartBody6054462248482369045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354852154,"filename":"image_08012025_17_45_02_856665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e640da6f7aa7d0fbfa5c2ef7f885c199.jpg","text":"TemporaryFile(/tmp/multipartBody3883084404202369113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354852154,"filename":"image_08012025_17_46_03_086712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/736e28e3abdbed4c9a5739afbb7679f7.jpg","text":"TemporaryFile(/tmp/multipartBody9024558441084011555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354852154,"filename":"image_08012025_17_46_03_086712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73ff336294f6a7a996d8cdcc31ad75cc.jpg","text":"TemporaryFile(/tmp/multipartBody8816911287933748557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354852154,"filename":"image_08012025_17_46_03_086712_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489812","file1":"1327489809","file0":"1327489804","file3":"1327489814"},"map_files_photo_id_array":[{"photo_id":"1327489812","filename":"file2"},{"photo_id":"1327489809","filename":"file1"},{"photo_id":"1327489804","filename":"file0"},{"photo_id":"1327489814","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489804":["hashtag1","hashtag2"]},{"1327489812":["hashtag1","hashtag2"]},{"1327489809":["hashtag1","hashtag2"]},{"1327489814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489804, 1327489812, 1327489809, 1327489814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.88721704483032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:47:22.088517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0003.jpg', '/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0000.jpg', '/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0001.jpg', '/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/46/image_08012025_17_46_03_086712_0003.jpg
/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0000.jpg
/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0001.jpg
/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489854","1327489842","1327489850","1327489852"],"photo_ids_order":["1327489842","1327489850","1327489852","1327489854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e2d41120177eadaa19a0d7abb601e19.jpg","text":"TemporaryFile(/tmp/multipartBody5175015853615621183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354912523,"filename":"image_08012025_17_47_02_178324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f3dbb910db773f2075c6dcac2e11a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1631956884599581100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354912523,"filename":"image_08012025_17_46_03_086712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e42947e0f48db3d5e3839adabf972914.jpg","text":"TemporaryFile(/tmp/multipartBody1935806741938652829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354912523,"filename":"image_08012025_17_47_02_178324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3564f2456c8466aee3ee43a23c0be373.jpg","text":"TemporaryFile(/tmp/multipartBody1524581705855939394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354912523,"filename":"image_08012025_17_47_02_178324_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489852","file1":"1327489850","file0":"1327489842","file3":"1327489854"},"map_files_photo_id_array":[{"photo_id":"1327489852","filename":"file2"},{"photo_id":"1327489850","filename":"file1"},{"photo_id":"1327489842","filename":"file0"},{"photo_id":"1327489854","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489854":["hashtag1","hashtag2"]},{"1327489842":["hashtag1","hashtag2"]},{"1327489850":["hashtag1","hashtag2"]},{"1327489852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489854, 1327489842, 1327489850, 1327489852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.282678842544556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:48:02.571650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:48:22.160278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0003.jpg', '/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0000.jpg', '/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0001.jpg', '/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/47/image_08012025_17_47_02_178324_0003.jpg
/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0000.jpg
/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0001.jpg
/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327489916","1327489919","1327489910","1327489913"],"photo_ids_order":["1327489910","1327489913","1327489916","1327489919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/446e82c2c85ecd215863b0095e88f61b.jpg","text":"TemporaryFile(/tmp/multipartBody7811041307525303837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354972546,"filename":"image_08012025_17_48_02_392158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/083a8ae104bfee5418ce714fe2b5995f.jpg","text":"TemporaryFile(/tmp/multipartBody1671412111431323774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354972546,"filename":"image_08012025_17_48_02_392158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74d80a695d8a7793eeb6ff844240dd45.jpg","text":"TemporaryFile(/tmp/multipartBody3705645672030656993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354972546,"filename":"image_08012025_17_47_02_178324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe47b2dfaf4e4275b538f8cba4de9f3c.jpg","text":"TemporaryFile(/tmp/multipartBody5832781570236121587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736354972546,"filename":"image_08012025_17_48_02_392158_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327489916","file1":"1327489913","file0":"1327489910","file3":"1327489919"},"map_files_photo_id_array":[{"photo_id":"1327489916","filename":"file2"},{"photo_id":"1327489913","filename":"file1"},{"photo_id":"1327489910","filename":"file0"},{"photo_id":"1327489919","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327489916":["hashtag1","hashtag2"]},{"1327489919":["hashtag1","hashtag2"]},{"1327489910":["hashtag1","hashtag2"]},{"1327489913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327489916, 1327489919, 1327489910, 1327489913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.775696754455566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:49:02.963386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:49:22.372757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0003.jpg', '/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0000.jpg', '/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0001.jpg', '/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/48/image_08012025_17_48_02_392158_0003.jpg
/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0000.jpg
/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0001.jpg
/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490014","1327490021","1327490024","1327490018"],"photo_ids_order":["1327490014","1327490018","1327490021","1327490024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f4233d73e6b442480681e7f5c046984.jpg","text":"TemporaryFile(/tmp/multipartBody3540401676695306180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355032789,"filename":"image_08012025_17_48_02_392158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d8ff91319a70fda82a0216a82c9742c.jpg","text":"TemporaryFile(/tmp/multipartBody7857439118761428718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355032789,"filename":"image_08012025_17_49_02_517402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/30be15b2e703921f7ced963d40bd33bf.jpg","text":"TemporaryFile(/tmp/multipartBody8541101848993463430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355032789,"filename":"image_08012025_17_49_02_517402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbb4137e33ee7e925987ca4152c3f77d.jpg","text":"TemporaryFile(/tmp/multipartBody7281202473288318477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355032789,"filename":"image_08012025_17_49_02_517402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490021","file1":"1327490018","file0":"1327490014","file3":"1327490024"},"map_files_photo_id_array":[{"photo_id":"1327490021","filename":"file2"},{"photo_id":"1327490018","filename":"file1"},{"photo_id":"1327490014","filename":"file0"},{"photo_id":"1327490024","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490014":["hashtag1","hashtag2"]},{"1327490021":["hashtag1","hashtag2"]},{"1327490024":["hashtag1","hashtag2"]},{"1327490018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490014, 1327490021, 1327490024, 1327490018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74369168281555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:50:03.010618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:50:22.631040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0003.jpg', '/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0000.jpg', '/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0001.jpg', '/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/49/image_08012025_17_49_02_517402_0003.jpg
/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0000.jpg
/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0001.jpg
/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490094","1327490097","1327490082","1327490092"],"photo_ids_order":["1327490082","1327490092","1327490094","1327490097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5e6f114a58e4158f2b19ebaee4d8c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2985870136828194109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355093056,"filename":"image_08012025_17_50_02_675106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/afd8638850f71d65d3faea92610c3e58.jpg","text":"TemporaryFile(/tmp/multipartBody1745024299021771502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355093056,"filename":"image_08012025_17_50_02_675106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/341a65e249cfe752b0213492ba1d9dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1234231492223677104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355093056,"filename":"image_08012025_17_49_02_517402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd0bfbc2044d3ddaf276d8af6d27c362.jpg","text":"TemporaryFile(/tmp/multipartBody3712998755295244587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355093056,"filename":"image_08012025_17_50_02_675106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490094","file1":"1327490092","file0":"1327490082","file3":"1327490097"},"map_files_photo_id_array":[{"photo_id":"1327490094","filename":"file2"},{"photo_id":"1327490092","filename":"file1"},{"photo_id":"1327490082","filename":"file0"},{"photo_id":"1327490097","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490094":["hashtag1","hashtag2"]},{"1327490097":["hashtag1","hashtag2"]},{"1327490082":["hashtag1","hashtag2"]},{"1327490092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490094, 1327490097, 1327490082, 1327490092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.351500272750854 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-08 17:51:22.733396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0003.jpg', '/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0000.jpg', '/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0001.jpg', '/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/50/image_08012025_17_50_02_675106_0003.jpg
/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0000.jpg
/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0001.jpg
/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490111","1327490165","1327490162","1327490156"],"photo_ids_order":["1327490111","1327490156","1327490162","1327490165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ced02aee166a973471fa6053170bf048.jpg","text":"TemporaryFile(/tmp/multipartBody8283342884985935475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355153004,"filename":"image_08012025_17_50_02_675106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05c89446ea7c4592f3c99acdbe87270f.jpg","text":"TemporaryFile(/tmp/multipartBody7555755355543303220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355153004,"filename":"image_08012025_17_51_02_913267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f07846aac008484da5cd171cc555702f.jpg","text":"TemporaryFile(/tmp/multipartBody8348485159858895983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355153004,"filename":"image_08012025_17_51_02_913267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/305ed5c475ad6535ea5dbf0339b6089c.jpg","text":"TemporaryFile(/tmp/multipartBody8837286693910055184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355153004,"filename":"image_08012025_17_51_02_913267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490162","file1":"1327490156","file0":"1327490111","file3":"1327490165"},"map_files_photo_id_array":[{"photo_id":"1327490162","filename":"file2"},{"photo_id":"1327490156","filename":"file1"},{"photo_id":"1327490111","filename":"file0"},{"photo_id":"1327490165","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490111":["hashtag1","hashtag2"]},{"1327490165":["hashtag1","hashtag2"]},{"1327490162":["hashtag1","hashtag2"]},{"1327490156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490111, 1327490165, 1327490162, 1327490156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41021132469177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:52:21.781106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0003.jpg', '/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0000.jpg', '/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0001.jpg', '/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/51/image_08012025_17_51_02_913267_0003.jpg
/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0000.jpg
/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0001.jpg
/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490176","1327490179","1327490181","1327490192"],"photo_ids_order":["1327490176","1327490179","1327490181","1327490192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c163d0932f6c3132bb1d86853841511.jpg","text":"TemporaryFile(/tmp/multipartBody1869254055883755756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355212098,"filename":"image_08012025_17_51_02_913267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b031db5f9ce04f6c061defb09fc0cf77.jpg","text":"TemporaryFile(/tmp/multipartBody4882170478073655319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355212098,"filename":"image_08012025_17_52_03_023757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3035c33727a78c5653b2369223e7a350.jpg","text":"TemporaryFile(/tmp/multipartBody4443691177607789278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355212098,"filename":"image_08012025_17_52_03_023757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c068e2df3320432acebfafa3abaf190.jpg","text":"TemporaryFile(/tmp/multipartBody1918983008864830498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355212098,"filename":"image_08012025_17_52_03_023757_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490181","file1":"1327490179","file0":"1327490176","file3":"1327490192"},"map_files_photo_id_array":[{"photo_id":"1327490181","filename":"file2"},{"photo_id":"1327490179","filename":"file1"},{"photo_id":"1327490176","filename":"file0"},{"photo_id":"1327490192","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490176":["hashtag1","hashtag2"]},{"1327490179":["hashtag1","hashtag2"]},{"1327490181":["hashtag1","hashtag2"]},{"1327490192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490176, 1327490179, 1327490181, 1327490192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0926878452301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:53:02.714282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:53:21.940666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:53:31.953260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 17:53:42.100188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 17:53:51.987266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 17:54:02.505726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:54:22.222033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0003.jpg', '/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0001.jpg', '/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0002.jpg', '/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0003.jpg', '/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0000.jpg', '/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/52/image_08012025_17_52_03_023757_0003.jpg
/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0001.jpg
/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0002.jpg
/home/pi/Desktop/images/08012025/17/53/image_08012025_17_53_02_156233_0003.jpg
/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0000.jpg
/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_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":["1327490303","1327490293","1327490317","1327490319","1327490321","1327490315"],"photo_ids_order":["1327490293","1327490303","1327490315","1327490317","1327490319","1327490321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a40b615ec844fd65dd8fd5a21aed75c2.jpg","text":"TemporaryFile(/tmp/multipartBody4476693635581146770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_53_02_156233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05880de32496792bdd4047ebc39cb114.jpg","text":"TemporaryFile(/tmp/multipartBody5688447290975977978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_52_03_023757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da61a84e39b75f0e3dd70a5606fa9a48.jpg","text":"TemporaryFile(/tmp/multipartBody961394240012924146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_53_02_156233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13cdb6be973305010e4042debde6e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1076424470739626067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_54_02_399896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03aa888931c3690c4956c3752d99a377.jpg","text":"TemporaryFile(/tmp/multipartBody8597180753864936027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_54_02_399896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a7f756b58b19806dbea6877a8317d01.jpg","text":"TemporaryFile(/tmp/multipartBody8061846409147008361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355337431,"filename":"image_08012025_17_53_02_156233_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490315","file1":"1327490303","file0":"1327490293","file4":"1327490319","file5":"1327490321","file3":"1327490317"},"map_files_photo_id_array":[{"photo_id":"1327490321","filename":"file5"},{"photo_id":"1327490315","filename":"file2"},{"photo_id":"1327490319","filename":"file4"},{"photo_id":"1327490303","filename":"file1"},{"photo_id":"1327490293","filename":"file0"},{"photo_id":"1327490317","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490303":["hashtag1","hashtag2"]},{"1327490293":["hashtag1","hashtag2"]},{"1327490317":["hashtag1","hashtag2"]},{"1327490319":["hashtag1","hashtag2"]},{"1327490321":["hashtag1","hashtag2"]},{"1327490315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490303, 1327490293, 1327490317, 1327490319, 1327490321, 1327490315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91114282608032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:55:22.327189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0002.jpg', '/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0003.jpg', '/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0000.jpg', '/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0001.jpg', '/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0002.jpg
/home/pi/Desktop/images/08012025/17/54/image_08012025_17_54_02_399896_0003.jpg
/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0000.jpg
/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0001.jpg
/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490467","1327490457","1327490466","1327490418","1327490450"],"photo_ids_order":["1327490418","1327490450","1327490457","1327490466","1327490467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0091b30e81d53e5e96a12c7d2ded412.jpg","text":"TemporaryFile(/tmp/multipartBody6329466328306117775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355395217,"filename":"image_08012025_17_55_02_528551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7a7e705b851902fd1de5b715f55ebd0.jpg","text":"TemporaryFile(/tmp/multipartBody5502222049950715004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355395217,"filename":"image_08012025_17_55_02_528551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b339e6c108e0a9590635bd4968b2c512.jpg","text":"TemporaryFile(/tmp/multipartBody1613575352937070274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355395217,"filename":"image_08012025_17_55_02_528551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb0d7573a228f3b373676febaf57d94f.jpg","text":"TemporaryFile(/tmp/multipartBody8375330622161201366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355395217,"filename":"image_08012025_17_54_02_399896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcf6a2ff7427ec194547a016dab31e96.jpg","text":"TemporaryFile(/tmp/multipartBody5689107664209209803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355395217,"filename":"image_08012025_17_54_02_399896_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490457","file1":"1327490450","file0":"1327490418","file4":"1327490467","file3":"1327490466"},"map_files_photo_id_array":[{"photo_id":"1327490457","filename":"file2"},{"photo_id":"1327490467","filename":"file4"},{"photo_id":"1327490450","filename":"file1"},{"photo_id":"1327490418","filename":"file0"},{"photo_id":"1327490466","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490467":["hashtag1","hashtag2"]},{"1327490457":["hashtag1","hashtag2"]},{"1327490466":["hashtag1","hashtag2"]},{"1327490418":["hashtag1","hashtag2"]},{"1327490450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490467, 1327490457, 1327490466, 1327490418, 1327490450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.96971392631531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:56:22.497885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0003.jpg', '/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0000.jpg', '/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0001.jpg', '/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/55/image_08012025_17_55_02_528551_0003.jpg
/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0000.jpg
/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0001.jpg
/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490512","1327490538","1327490532","1327490523"],"photo_ids_order":["1327490512","1327490523","1327490532","1327490538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/118d86774faa194cafa3d1727f17c824.jpg","text":"TemporaryFile(/tmp/multipartBody6670683127269586284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355452852,"filename":"image_08012025_17_55_02_528551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab8e088d64f45e4dab6ef5f8dd1a7ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5487023594604642962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355452852,"filename":"image_08012025_17_56_02_661207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d244832b8ef017ff26774249681ed28.jpg","text":"TemporaryFile(/tmp/multipartBody8315200566571539086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355452852,"filename":"image_08012025_17_56_02_661207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dec96799ea12646a185bc65abbb18fa.jpg","text":"TemporaryFile(/tmp/multipartBody6353552725852117340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355452852,"filename":"image_08012025_17_56_02_661207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490532","file1":"1327490523","file0":"1327490512","file3":"1327490538"},"map_files_photo_id_array":[{"photo_id":"1327490532","filename":"file2"},{"photo_id":"1327490523","filename":"file1"},{"photo_id":"1327490512","filename":"file0"},{"photo_id":"1327490538","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490512":["hashtag1","hashtag2"]},{"1327490538":["hashtag1","hashtag2"]},{"1327490532":["hashtag1","hashtag2"]},{"1327490523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490512, 1327490538, 1327490532, 1327490523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70871424674988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 17:57:22.767703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0003.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0000.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0001.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0003.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0000.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0001.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_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-08 17:59:02.770166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0003.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0000.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0001.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0002.jpg', '/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0003.jpg', '/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/56/image_08012025_17_56_02_661207_0003.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0000.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0001.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0002.jpg
/home/pi/Desktop/images/08012025/17/57/image_08012025_17_57_02_896154_0003.jpg
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_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":["1327490629","1327490623","1327490640","1327490634","1327490642","1327490639"],"photo_ids_order":["1327490623","1327490629","1327490634","1327490639","1327490640","1327490642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f07f915f78e4cc9d80e190efe22e6a11.jpg","text":"TemporaryFile(/tmp/multipartBody3737021583911796014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_57_02_896154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a194882400d4c85df37d924f627b825.jpg","text":"TemporaryFile(/tmp/multipartBody1765749265034698113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_56_02_661207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e64f36deaafc4d370bf9d380a0c28e5.jpg","text":"TemporaryFile(/tmp/multipartBody8047338147370331607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_57_02_896154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c865a0e44291738ace53bfe5600da689.jpg","text":"TemporaryFile(/tmp/multipartBody1754527310985686240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_57_02_896154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87c5ecb447e69668c9181917ff6faa62.jpg","text":"TemporaryFile(/tmp/multipartBody283383786503765013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_58_03_104991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fe2c03af806f796b815b57c2a4b86695.jpg","text":"TemporaryFile(/tmp/multipartBody3680482029320101253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355618063,"filename":"image_08012025_17_57_02_896154_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490634","file1":"1327490629","file0":"1327490623","file4":"1327490640","file5":"1327490642","file3":"1327490639"},"map_files_photo_id_array":[{"photo_id":"1327490642","filename":"file5"},{"photo_id":"1327490634","filename":"file2"},{"photo_id":"1327490640","filename":"file4"},{"photo_id":"1327490629","filename":"file1"},{"photo_id":"1327490623","filename":"file0"},{"photo_id":"1327490639","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490629":["hashtag1","hashtag2"]},{"1327490623":["hashtag1","hashtag2"]},{"1327490640":["hashtag1","hashtag2"]},{"1327490634":["hashtag1","hashtag2"]},{"1327490642":["hashtag1","hashtag2"]},{"1327490639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490629, 1327490623, 1327490640, 1327490634, 1327490642, 1327490639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.6376256942749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:00:02.761742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0001.jpg', '/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0002.jpg', '/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0003.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0000.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0001.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0001.jpg
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0002.jpg
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0003.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0000.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0001.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.77986216545105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:00:22.463385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0001.jpg', '/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0002.jpg', '/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0003.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0000.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0001.jpg', '/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0001.jpg
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0002.jpg
/home/pi/Desktop/images/08012025/17/58/image_08012025_17_58_03_104991_0003.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0000.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0001.jpg
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327490714","1327490707","1327490710","1327490712","1327490715","1327490717"],"photo_ids_order":["1327490707","1327490710","1327490712","1327490714","1327490715","1327490717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbebcb20bf50d22cbe6702e169d5a689.jpg","text":"TemporaryFile(/tmp/multipartBody5152845774086240801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_59_02_206046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c39856dc977f6142b8a4fe15ad82947.jpg","text":"TemporaryFile(/tmp/multipartBody1360953497889552018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_58_03_104991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cf5592a0d13d380b5f84a019d9ae9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5297522653995299743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_58_03_104991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/439d064d810b132a219e7d883d932b26.jpg","text":"TemporaryFile(/tmp/multipartBody6317227143873324305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_58_03_104991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95468d13a258d593169ea0a31b658d70.jpg","text":"TemporaryFile(/tmp/multipartBody3312850799942243250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_59_02_206046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d76101128d19c228a8542bad4788bd50.jpg","text":"TemporaryFile(/tmp/multipartBody567254131747548478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355697608,"filename":"image_08012025_17_59_02_206046_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490712","file1":"1327490710","file0":"1327490707","file4":"1327490715","file5":"1327490717","file3":"1327490714"},"map_files_photo_id_array":[{"photo_id":"1327490717","filename":"file5"},{"photo_id":"1327490712","filename":"file2"},{"photo_id":"1327490715","filename":"file4"},{"photo_id":"1327490710","filename":"file1"},{"photo_id":"1327490707","filename":"file0"},{"photo_id":"1327490714","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490714":["hashtag1","hashtag2"]},{"1327490707":["hashtag1","hashtag2"]},{"1327490710":["hashtag1","hashtag2"]},{"1327490712":["hashtag1","hashtag2"]},{"1327490715":["hashtag1","hashtag2"]},{"1327490717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490714, 1327490707, 1327490710, 1327490712, 1327490715, 1327490717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11049842834473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:01:22.556752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0003.jpg', '/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0000.jpg', '/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0001.jpg', '/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0002.jpg', '/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0003.jpg', '/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/17/59/image_08012025_17_59_02_206046_0003.jpg
/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0000.jpg
/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0001.jpg
/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0002.jpg
/home/pi/Desktop/images/08012025/18/00/image_08012025_18_00_02_361000_0003.jpg
/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_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":["1327490731","1327490730","1327490733","1327490727","1327490735","1327490732"],"photo_ids_order":["1327490727","1327490730","1327490731","1327490732","1327490733","1327490735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0728954c8cf5feb67effe960e56d672.jpg","text":"TemporaryFile(/tmp/multipartBody5399633151213226822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_18_00_02_361000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93fa34b1a28717a46c80ae34232674bb.jpg","text":"TemporaryFile(/tmp/multipartBody4379091537733529167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_18_00_02_361000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4106810de78f3014f37d03f2bb52bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1020334564760741219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_18_00_02_361000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fdd65b002c9dbb1999aa7d42aaa39b77.jpg","text":"TemporaryFile(/tmp/multipartBody4283819481692223104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_17_59_02_206046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50c9366ef098f8cb1e81804f6511e044.jpg","text":"TemporaryFile(/tmp/multipartBody4898021192320268015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_18_01_02_756249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d0e70cfc204854aa4be339f5cc4eabe.jpg","text":"TemporaryFile(/tmp/multipartBody6328462892697899566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355757930,"filename":"image_08012025_18_00_02_361000_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327490731","file1":"1327490730","file0":"1327490727","file4":"1327490733","file5":"1327490735","file3":"1327490732"},"map_files_photo_id_array":[{"photo_id":"1327490735","filename":"file5"},{"photo_id":"1327490731","filename":"file2"},{"photo_id":"1327490733","filename":"file4"},{"photo_id":"1327490730","filename":"file1"},{"photo_id":"1327490727","filename":"file0"},{"photo_id":"1327490732","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327490731":["hashtag1","hashtag2"]},{"1327490730":["hashtag1","hashtag2"]},{"1327490733":["hashtag1","hashtag2"]},{"1327490727":["hashtag1","hashtag2"]},{"1327490735":["hashtag1","hashtag2"]},{"1327490732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327490731, 1327490730, 1327490733, 1327490727, 1327490735, 1327490732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.9598503112793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:02:22.684153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0001.jpg', '/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0002.jpg', '/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0003.jpg', '/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0000.jpg', '/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0001.jpg', '/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0001.jpg
/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0002.jpg
/home/pi/Desktop/images/08012025/18/01/image_08012025_18_01_02_756249_0003.jpg
/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0000.jpg
/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0001.jpg
/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491022","1327491223","1327491145","1327491138","1327490940","1327490841"],"photo_ids_order":["1327490841","1327490940","1327491022","1327491138","1327491145","1327491223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd49c3c01f0865891f0a3c053e610401.jpg","text":"TemporaryFile(/tmp/multipartBody5650685572489886902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_01_02_756249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c37908dec855bdc624fa86165be665b.jpg","text":"TemporaryFile(/tmp/multipartBody6317317653840553701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_02_02_912431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d36fc381be4a1b3046943650ec01c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody6060893680071389812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_02_02_912431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a172fe47112d71989e3c264770735fdf.jpg","text":"TemporaryFile(/tmp/multipartBody7512544195487310600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_02_02_912431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5af8c997e0e01ffeb9046422b10bef5f.jpg","text":"TemporaryFile(/tmp/multipartBody7742076384517608743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_01_02_756249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de63ca1b64be5f8d1ccdf37609782176.jpg","text":"TemporaryFile(/tmp/multipartBody2028198952234117579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355818045,"filename":"image_08012025_18_01_02_756249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491022","file1":"1327490940","file0":"1327490841","file4":"1327491145","file5":"1327491223","file3":"1327491138"},"map_files_photo_id_array":[{"photo_id":"1327491223","filename":"file5"},{"photo_id":"1327491022","filename":"file2"},{"photo_id":"1327491145","filename":"file4"},{"photo_id":"1327490940","filename":"file1"},{"photo_id":"1327490841","filename":"file0"},{"photo_id":"1327491138","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491022":["hashtag1","hashtag2"]},{"1327491223":["hashtag1","hashtag2"]},{"1327491145":["hashtag1","hashtag2"]},{"1327491138":["hashtag1","hashtag2"]},{"1327490940":["hashtag1","hashtag2"]},{"1327490841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491022, 1327491223, 1327491145, 1327491138, 1327490940, 1327490841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79909133911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:03:21.953301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0003.jpg', '/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0000.jpg', '/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0001.jpg', '/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/02/image_08012025_18_02_02_912431_0003.jpg
/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0000.jpg
/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0001.jpg
/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491433","1327491428","1327491431","1327491425"],"photo_ids_order":["1327491425","1327491428","1327491431","1327491433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6022806b7ca3f3ff13a5cfd3a3f39f31.jpg","text":"TemporaryFile(/tmp/multipartBody3405770074430948533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355872418,"filename":"image_08012025_18_03_03_052537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79c2a2edad4a91fb5e07b774281563fe.jpg","text":"TemporaryFile(/tmp/multipartBody8885054986834203254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355872418,"filename":"image_08012025_18_03_03_052537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70d1cb5bb0e0314ce415209f91709a64.jpg","text":"TemporaryFile(/tmp/multipartBody1427156744483168957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355872418,"filename":"image_08012025_18_03_03_052537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea0c4da046badc3d32d14755250d4559.jpg","text":"TemporaryFile(/tmp/multipartBody71285173034386843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355872418,"filename":"image_08012025_18_02_02_912431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491431","file1":"1327491428","file0":"1327491425","file3":"1327491433"},"map_files_photo_id_array":[{"photo_id":"1327491431","filename":"file2"},{"photo_id":"1327491428","filename":"file1"},{"photo_id":"1327491425","filename":"file0"},{"photo_id":"1327491433","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491433":["hashtag1","hashtag2"]},{"1327491428":["hashtag1","hashtag2"]},{"1327491431":["hashtag1","hashtag2"]},{"1327491425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491433, 1327491428, 1327491431, 1327491425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4217312335968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:04:22.005012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0003.jpg', '/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0000.jpg', '/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0001.jpg', '/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/03/image_08012025_18_03_03_052537_0003.jpg
/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0000.jpg
/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0001.jpg
/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491442","1327491444","1327491446","1327491449"],"photo_ids_order":["1327491442","1327491444","1327491446","1327491449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dffd75999bd7badeec8430e1ad64ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8207231703139074818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355932401,"filename":"image_08012025_18_03_03_052537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/405419c8c9d60e7fbd916d5320ee648d.jpg","text":"TemporaryFile(/tmp/multipartBody204511839329903283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355932401,"filename":"image_08012025_18_04_02_232650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17a6473d896fba09fc64b4648ea9975b.jpg","text":"TemporaryFile(/tmp/multipartBody1725403674981645552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355932401,"filename":"image_08012025_18_04_02_232650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/535bfaae2ea796750a8b7cecd88a00eb.jpg","text":"TemporaryFile(/tmp/multipartBody3586022695681055009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355932401,"filename":"image_08012025_18_04_02_232650_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491446","file1":"1327491444","file0":"1327491442","file3":"1327491449"},"map_files_photo_id_array":[{"photo_id":"1327491446","filename":"file2"},{"photo_id":"1327491444","filename":"file1"},{"photo_id":"1327491442","filename":"file0"},{"photo_id":"1327491449","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491442":["hashtag1","hashtag2"]},{"1327491444":["hashtag1","hashtag2"]},{"1327491446":["hashtag1","hashtag2"]},{"1327491449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491442, 1327491444, 1327491446, 1327491449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46078181266785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:05:02.816134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:05:22.099358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0003.jpg', '/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0000.jpg', '/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0001.jpg', '/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/04/image_08012025_18_04_02_232650_0003.jpg
/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0000.jpg
/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0001.jpg
/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491480","1327491477","1327491465","1327491475"],"photo_ids_order":["1327491465","1327491475","1327491477","1327491480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3cc18621d4a5eb1264f7b9206256843f.jpg","text":"TemporaryFile(/tmp/multipartBody615166769571477958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355992499,"filename":"image_08012025_18_05_02_418252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25cadce81d8ede3d7df896915805f9a2.jpg","text":"TemporaryFile(/tmp/multipartBody2538805359744949605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355992499,"filename":"image_08012025_18_05_02_418252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05d98eb43783c1ac5254c5a52b3eca11.jpg","text":"TemporaryFile(/tmp/multipartBody5962898000534494633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355992499,"filename":"image_08012025_18_04_02_232650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03c6971fba75138a67afee062b1d7df5.jpg","text":"TemporaryFile(/tmp/multipartBody7159511478297334911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736355992499,"filename":"image_08012025_18_05_02_418252_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491477","file1":"1327491475","file0":"1327491465","file3":"1327491480"},"map_files_photo_id_array":[{"photo_id":"1327491477","filename":"file2"},{"photo_id":"1327491475","filename":"file1"},{"photo_id":"1327491465","filename":"file0"},{"photo_id":"1327491480","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491480":["hashtag1","hashtag2"]},{"1327491477":["hashtag1","hashtag2"]},{"1327491465":["hashtag1","hashtag2"]},{"1327491475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491480, 1327491477, 1327491465, 1327491475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.588478326797485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:06:02.868862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:06:22.373679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0003.jpg', '/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0000.jpg', '/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0001.jpg', '/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/05/image_08012025_18_05_02_418252_0003.jpg
/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0000.jpg
/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0001.jpg
/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491543","1327491534","1327491494","1327491539"],"photo_ids_order":["1327491494","1327491534","1327491539","1327491543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c64fc8003dbb6f72bcf056bda9d6d434.jpg","text":"TemporaryFile(/tmp/multipartBody439711533485336759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356052636,"filename":"image_08012025_18_06_02_552081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec7ebb6fa1fe028d62d7f53f4b14be16.jpg","text":"TemporaryFile(/tmp/multipartBody5564103241543765103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356052636,"filename":"image_08012025_18_06_02_552081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4b0473400f9727c1ab899636840fc2d.jpg","text":"TemporaryFile(/tmp/multipartBody4793414688603693329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356052636,"filename":"image_08012025_18_05_02_418252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b035272b47e28a66495a641bbb33c39.jpg","text":"TemporaryFile(/tmp/multipartBody8749331138383885709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356052636,"filename":"image_08012025_18_06_02_552081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491539","file1":"1327491534","file0":"1327491494","file3":"1327491543"},"map_files_photo_id_array":[{"photo_id":"1327491539","filename":"file2"},{"photo_id":"1327491534","filename":"file1"},{"photo_id":"1327491494","filename":"file0"},{"photo_id":"1327491543","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491543":["hashtag1","hashtag2"]},{"1327491534":["hashtag1","hashtag2"]},{"1327491494":["hashtag1","hashtag2"]},{"1327491539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491543, 1327491534, 1327491494, 1327491539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12816596031189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:07:03.127053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:07:22.568421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0003.jpg', '/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0000.jpg', '/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0001.jpg', '/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/06/image_08012025_18_06_02_552081_0003.jpg
/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0000.jpg
/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0001.jpg
/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327491601","1327491604","1327491599","1327491605"],"photo_ids_order":["1327491599","1327491601","1327491604","1327491605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ccad324adaa550670bce2a5f3f6652a.jpg","text":"TemporaryFile(/tmp/multipartBody578090661333267234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356112900,"filename":"image_08012025_18_07_02_736191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba2c431d49bd6b07569411c3da24473f.jpg","text":"TemporaryFile(/tmp/multipartBody6288830498697052536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356112900,"filename":"image_08012025_18_07_02_736191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa401e3fb86a1addb4755e088113de4a.jpg","text":"TemporaryFile(/tmp/multipartBody770056137493924727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356112900,"filename":"image_08012025_18_06_02_552081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b5266aa9023f2531be3b14f3662bc1aa.jpg","text":"TemporaryFile(/tmp/multipartBody8680897832520568093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356112900,"filename":"image_08012025_18_07_02_736191_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327491604","file1":"1327491601","file0":"1327491599","file3":"1327491605"},"map_files_photo_id_array":[{"photo_id":"1327491604","filename":"file2"},{"photo_id":"1327491601","filename":"file1"},{"photo_id":"1327491599","filename":"file0"},{"photo_id":"1327491605","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327491601":["hashtag1","hashtag2"]},{"1327491604":["hashtag1","hashtag2"]},{"1327491599":["hashtag1","hashtag2"]},{"1327491605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327491601, 1327491604, 1327491599, 1327491605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29663968086243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:08:21.878139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0003.jpg', '/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0000.jpg', '/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0001.jpg', '/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/07/image_08012025_18_07_02_736191_0003.jpg
/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0000.jpg
/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0001.jpg
/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492047","1327492049","1327492031","1327492025"],"photo_ids_order":["1327492025","1327492031","1327492047","1327492049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6be622e4d76a262185dd92aa8b9e63a6.jpg","text":"TemporaryFile(/tmp/multipartBody6767954844111656592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356172235,"filename":"image_08012025_18_08_02_921830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6c04fd56080494bc24d0371f537bf331.jpg","text":"TemporaryFile(/tmp/multipartBody938753545089948420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356172235,"filename":"image_08012025_18_08_02_921830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00590db0b1b66bd35b1c3a456a306ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1581862911232485030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356172235,"filename":"image_08012025_18_08_02_921830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fdf59c7419487d6b594d111937de60a.jpg","text":"TemporaryFile(/tmp/multipartBody56942417481189078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356172235,"filename":"image_08012025_18_07_02_736191_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492047","file1":"1327492031","file0":"1327492025","file3":"1327492049"},"map_files_photo_id_array":[{"photo_id":"1327492047","filename":"file2"},{"photo_id":"1327492031","filename":"file1"},{"photo_id":"1327492025","filename":"file0"},{"photo_id":"1327492049","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492047":["hashtag1","hashtag2"]},{"1327492049":["hashtag1","hashtag2"]},{"1327492031":["hashtag1","hashtag2"]},{"1327492025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492047, 1327492049, 1327492031, 1327492025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.972851037979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:09:22.036292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0003.jpg', '/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0000.jpg', '/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0001.jpg', '/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/08/image_08012025_18_08_02_921830_0003.jpg
/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0000.jpg
/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0001.jpg
/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492166","1327492171","1327492174","1327492168"],"photo_ids_order":["1327492166","1327492168","1327492171","1327492174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af52062f177b523b9b7d11fc0733e04f.jpg","text":"TemporaryFile(/tmp/multipartBody2087449747246780554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356232251,"filename":"image_08012025_18_08_02_921830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8013645ec0443829a1bcba441493811.jpg","text":"TemporaryFile(/tmp/multipartBody7413694906073287225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356232251,"filename":"image_08012025_18_09_02_155088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07d1f724a1ddf98430aa130b9821917a.jpg","text":"TemporaryFile(/tmp/multipartBody6235731992466583173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356232251,"filename":"image_08012025_18_09_02_155088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b21e2fc1822f20586e20109d4b921841.jpg","text":"TemporaryFile(/tmp/multipartBody7623398547320883780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356232251,"filename":"image_08012025_18_09_02_155088_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492171","file1":"1327492168","file0":"1327492166","file3":"1327492174"},"map_files_photo_id_array":[{"photo_id":"1327492171","filename":"file2"},{"photo_id":"1327492168","filename":"file1"},{"photo_id":"1327492166","filename":"file0"},{"photo_id":"1327492174","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492166":["hashtag1","hashtag2"]},{"1327492171":["hashtag1","hashtag2"]},{"1327492174":["hashtag1","hashtag2"]},{"1327492168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492166, 1327492171, 1327492174, 1327492168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.723368406295776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:10:22.213952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0003.jpg', '/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0000.jpg', '/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/09/image_08012025_18_09_02_155088_0003.jpg
/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0000.jpg
/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492185","1327492180","1327492183"],"photo_ids_order":["1327492180","1327492183","1327492185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b87f7f192be2e4a839eb856b096b2b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1699523723305469964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356290072,"filename":"image_08012025_18_10_02_409258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e46d4cf5101f086cd30e99cb8d1e78d2.jpg","text":"TemporaryFile(/tmp/multipartBody3144118437844382166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356290072,"filename":"image_08012025_18_09_02_155088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fd117bda4800c1f17a8bd09319d0704.jpg","text":"TemporaryFile(/tmp/multipartBody2033252363134976588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356290072,"filename":"image_08012025_18_10_02_409258_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492185","file1":"1327492183","file0":"1327492180"},"map_files_photo_id_array":[{"photo_id":"1327492185","filename":"file2"},{"photo_id":"1327492183","filename":"file1"},{"photo_id":"1327492180","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492185":["hashtag1","hashtag2"]},{"1327492180":["hashtag1","hashtag2"]},{"1327492183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492185, 1327492180, 1327492183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.435471534729004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:11:02.905258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:11:22.393022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0003.jpg', '/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0000.jpg', '/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0001.jpg', '/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/10/image_08012025_18_10_02_409258_0003.jpg
/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0000.jpg
/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0001.jpg
/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492230","1327492227","1327492285","1327492351"],"photo_ids_order":["1327492227","1327492230","1327492285","1327492351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c0574fdeb315dac892cb4b3586c019e.jpg","text":"TemporaryFile(/tmp/multipartBody1539541186559583619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356352844,"filename":"image_08012025_18_11_02_567717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c986b9dcf4890cf64cd219d74bdf058.jpg","text":"TemporaryFile(/tmp/multipartBody7168072500624305689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356352844,"filename":"image_08012025_18_10_02_409258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26d1f46966459565f9579857e75646fc.jpg","text":"TemporaryFile(/tmp/multipartBody8973881304355950208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356352844,"filename":"image_08012025_18_11_02_567717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8ea0d689845d4b3d0ec76b363354d25.jpg","text":"TemporaryFile(/tmp/multipartBody5292656919952979085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356352844,"filename":"image_08012025_18_11_02_567717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492285","file1":"1327492230","file0":"1327492227","file3":"1327492351"},"map_files_photo_id_array":[{"photo_id":"1327492285","filename":"file2"},{"photo_id":"1327492230","filename":"file1"},{"photo_id":"1327492227","filename":"file0"},{"photo_id":"1327492351","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492230":["hashtag1","hashtag2"]},{"1327492227":["hashtag1","hashtag2"]},{"1327492285":["hashtag1","hashtag2"]},{"1327492351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492230, 1327492227, 1327492285, 1327492351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18830919265747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:12:02.925774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:12:22.462596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0003.jpg', '/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0000.jpg', '/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0001.jpg', '/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/11/image_08012025_18_11_02_567717_0003.jpg
/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0000.jpg
/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0001.jpg
/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492392","1327492395","1327492389","1327492387"],"photo_ids_order":["1327492387","1327492389","1327492392","1327492395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c0e2f3905001002fd906fd121c63036.jpg","text":"TemporaryFile(/tmp/multipartBody7586445538167206149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356412811,"filename":"image_08012025_18_12_02_680518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68b7032a9782eba5e2233f79b332e7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4272347121900143081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356412811,"filename":"image_08012025_18_12_02_680518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6663bb11a4ce0852a59aece5d1dca7e4.jpg","text":"TemporaryFile(/tmp/multipartBody7035668730069792893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356412811,"filename":"image_08012025_18_12_02_680518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4493b34a7471ef65b9c1c76a1c4c3e35.jpg","text":"TemporaryFile(/tmp/multipartBody1292772702360521395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356412811,"filename":"image_08012025_18_11_02_567717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492392","file1":"1327492389","file0":"1327492387","file3":"1327492395"},"map_files_photo_id_array":[{"photo_id":"1327492392","filename":"file2"},{"photo_id":"1327492389","filename":"file1"},{"photo_id":"1327492387","filename":"file0"},{"photo_id":"1327492395","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492392":["hashtag1","hashtag2"]},{"1327492395":["hashtag1","hashtag2"]},{"1327492389":["hashtag1","hashtag2"]},{"1327492387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492392, 1327492395, 1327492389, 1327492387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14462924003601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:13:03.154148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:13:22.589902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0003.jpg', '/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0000.jpg', '/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0001.jpg', '/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/12/image_08012025_18_12_02_680518_0003.jpg
/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0000.jpg
/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0001.jpg
/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492451","1327492448","1327492442","1327492444"],"photo_ids_order":["1327492442","1327492444","1327492448","1327492451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1c8247754b1849df5b5a0a8dd1184d5.jpg","text":"TemporaryFile(/tmp/multipartBody8292418255167206784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356472969,"filename":"image_08012025_18_13_02_840413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a6d5927b66e5d7b4a6bd990ee32d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody3927898973311362513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356472969,"filename":"image_08012025_18_13_02_840413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6eb3028a1187c1a4413cf63402b89ef.jpg","text":"TemporaryFile(/tmp/multipartBody6215168810171762776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356472969,"filename":"image_08012025_18_12_02_680518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc027c2e82b91d32f03e273a4d954b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5268672044391635658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356472969,"filename":"image_08012025_18_13_02_840413_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492448","file1":"1327492444","file0":"1327492442","file3":"1327492451"},"map_files_photo_id_array":[{"photo_id":"1327492448","filename":"file2"},{"photo_id":"1327492444","filename":"file1"},{"photo_id":"1327492442","filename":"file0"},{"photo_id":"1327492451","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492451":["hashtag1","hashtag2"]},{"1327492448":["hashtag1","hashtag2"]},{"1327492442":["hashtag1","hashtag2"]},{"1327492444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492451, 1327492448, 1327492442, 1327492444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53009295463562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:14:21.946834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0003.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0000.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0001.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0003.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0000.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0001.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.981067419052124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 18:14:41.902915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0003.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0000.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0001.jpg', '/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/13/image_08012025_18_13_02_840413_0003.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0000.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0001.jpg
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492488","1327492492","1327492483","1327492497"],"photo_ids_order":["1327492483","1327492488","1327492492","1327492497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5217d36e31af8572e8a9bd80f13ea2a.jpg","text":"TemporaryFile(/tmp/multipartBody8914198853125631848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356552275,"filename":"image_08012025_18_14_02_960277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31f7ece4fba8aa9ddb2d88a28414f5c4.jpg","text":"TemporaryFile(/tmp/multipartBody2525581205019296049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356552275,"filename":"image_08012025_18_14_02_960277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adea004a7194c87ef56a410c1dbf4b37.jpg","text":"TemporaryFile(/tmp/multipartBody9106408902618231606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356552275,"filename":"image_08012025_18_13_02_840413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a3de7506f733ee9f0fda5ae731b9ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3578343492217422204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356552275,"filename":"image_08012025_18_14_02_960277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492492","file1":"1327492488","file0":"1327492483","file3":"1327492497"},"map_files_photo_id_array":[{"photo_id":"1327492492","filename":"file2"},{"photo_id":"1327492488","filename":"file1"},{"photo_id":"1327492483","filename":"file0"},{"photo_id":"1327492497","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492488":["hashtag1","hashtag2"]},{"1327492492":["hashtag1","hashtag2"]},{"1327492483":["hashtag1","hashtag2"]},{"1327492497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492488, 1327492492, 1327492483, 1327492497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56052851676941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 18:15:32.013166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0003.jpg', '/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0000.jpg', '/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0001.jpg', '/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/14/image_08012025_18_14_02_960277_0003.jpg
/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0000.jpg
/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0001.jpg
/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492515","1327492524","1327492518","1327492510"],"photo_ids_order":["1327492510","1327492515","1327492518","1327492524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de4230df9621084ffe00483da53dd998.jpg","text":"TemporaryFile(/tmp/multipartBody927228665738760968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356602315,"filename":"image_08012025_18_15_02_233657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95720b6b2f29216c7f07d3efa0b84093.jpg","text":"TemporaryFile(/tmp/multipartBody4961986059691366924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356602315,"filename":"image_08012025_18_15_02_233657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5c26a23ffbed4919da67144a1bd7756.jpg","text":"TemporaryFile(/tmp/multipartBody2037584988827162698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356602315,"filename":"image_08012025_18_15_02_233657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df15a5d70f5b0d73dc3948e2723ec0f2.jpg","text":"TemporaryFile(/tmp/multipartBody313997376976955128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356602315,"filename":"image_08012025_18_14_02_960277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492518","file1":"1327492515","file0":"1327492510","file3":"1327492524"},"map_files_photo_id_array":[{"photo_id":"1327492518","filename":"file2"},{"photo_id":"1327492515","filename":"file1"},{"photo_id":"1327492510","filename":"file0"},{"photo_id":"1327492524","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492515":["hashtag1","hashtag2"]},{"1327492524":["hashtag1","hashtag2"]},{"1327492518":["hashtag1","hashtag2"]},{"1327492510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492515, 1327492524, 1327492518, 1327492510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.78507924079895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:16:22.250012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0003.jpg', '/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0000.jpg', '/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0001.jpg', '/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/15/image_08012025_18_15_02_233657_0003.jpg
/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0000.jpg
/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0001.jpg
/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492580","1327492574","1327492577","1327492570"],"photo_ids_order":["1327492570","1327492574","1327492577","1327492580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b941b23ba81f6ce0a7d946e1252251f3.jpg","text":"TemporaryFile(/tmp/multipartBody3669119677619950078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356652586,"filename":"image_08012025_18_16_02_407031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/659dc4004ff03a7f52f3043726812c74.jpg","text":"TemporaryFile(/tmp/multipartBody5378140096899284129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356652586,"filename":"image_08012025_18_16_02_407031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de80820eaab60a948088281d811e646e.jpg","text":"TemporaryFile(/tmp/multipartBody8825353061683764048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356652586,"filename":"image_08012025_18_16_02_407031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf05d5422faa5e1727d81558e1c43a76.jpg","text":"TemporaryFile(/tmp/multipartBody7604213408716457131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356652586,"filename":"image_08012025_18_15_02_233657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492577","file1":"1327492574","file0":"1327492570","file3":"1327492580"},"map_files_photo_id_array":[{"photo_id":"1327492577","filename":"file2"},{"photo_id":"1327492574","filename":"file1"},{"photo_id":"1327492570","filename":"file0"},{"photo_id":"1327492580","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492580":["hashtag1","hashtag2"]},{"1327492574":["hashtag1","hashtag2"]},{"1327492577":["hashtag1","hashtag2"]},{"1327492570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492580, 1327492574, 1327492577, 1327492570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.330987215042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:17:02.875534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:17:22.360393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0003.jpg', '/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0000.jpg', '/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0001.jpg', '/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/16/image_08012025_18_16_02_407031_0003.jpg
/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0000.jpg
/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0001.jpg
/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492670","1327492634","1327492681","1327492606"],"photo_ids_order":["1327492606","1327492634","1327492670","1327492681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f365858993e3e5d30b804598aae5baa.jpg","text":"TemporaryFile(/tmp/multipartBody6212353771130128649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356712780,"filename":"image_08012025_18_17_02_554695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5dc20ea46c991e87ddea380f69a44ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4554434686129912593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356712780,"filename":"image_08012025_18_17_02_554695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fced3cecfc39f1d11d31c7ba8c211661.jpg","text":"TemporaryFile(/tmp/multipartBody5967982499729889221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356712780,"filename":"image_08012025_18_17_02_554695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8412ca637c2428e5578950339668f764.jpg","text":"TemporaryFile(/tmp/multipartBody50016369510912163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356712780,"filename":"image_08012025_18_16_02_407031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492670","file1":"1327492634","file0":"1327492606","file3":"1327492681"},"map_files_photo_id_array":[{"photo_id":"1327492670","filename":"file2"},{"photo_id":"1327492634","filename":"file1"},{"photo_id":"1327492606","filename":"file0"},{"photo_id":"1327492681","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492670":["hashtag1","hashtag2"]},{"1327492634":["hashtag1","hashtag2"]},{"1327492681":["hashtag1","hashtag2"]},{"1327492606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492670, 1327492634, 1327492681, 1327492606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72009253501892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:18:22.638079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0003.jpg', '/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0000.jpg', '/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0003.jpg
/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0000.jpg
/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_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.4752209186553955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 18:18:32.594426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0003.jpg', '/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0000.jpg', '/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/17/image_08012025_18_17_02_554695_0003.jpg
/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0000.jpg
/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_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":["1327492757","1327492808","1327492783"],"photo_ids_order":["1327492757","1327492783","1327492808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fe29e779fd69f65d8b84f4459ec8da3.jpg","text":"TemporaryFile(/tmp/multipartBody3186978392794784588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356780485,"filename":"image_08012025_18_17_02_554695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9664b5597508a408396f4e46446ad143.jpg","text":"TemporaryFile(/tmp/multipartBody1299888940821715409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356780485,"filename":"image_08012025_18_18_02_790607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90afb671f1c950b699d444c6b0009ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7884154219493083585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356780485,"filename":"image_08012025_18_18_02_790607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492808","file1":"1327492783","file0":"1327492757"},"map_files_photo_id_array":[{"photo_id":"1327492808","filename":"file2"},{"photo_id":"1327492783","filename":"file1"},{"photo_id":"1327492757","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492757":["hashtag1","hashtag2"]},{"1327492808":["hashtag1","hashtag2"]},{"1327492783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492757, 1327492808, 1327492783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.14254379272461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:19:21.877130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0002.jpg', '/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0000.jpg', '/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0001.jpg', '/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/18/image_08012025_18_18_02_790607_0002.jpg
/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0000.jpg
/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0001.jpg
/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492863","1327492871","1327492874","1327492868"],"photo_ids_order":["1327492863","1327492868","1327492871","1327492874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7219f1ed1e3c2441631d9cb7e9aafce8.jpg","text":"TemporaryFile(/tmp/multipartBody5395830305128557527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356832096,"filename":"image_08012025_18_18_02_790607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25510f2a91ac2fbffb99346bdf6915cc.jpg","text":"TemporaryFile(/tmp/multipartBody5487947166212088900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356832096,"filename":"image_08012025_18_19_02_976253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7d4b765123bfea92e8ce1b6d69120d2.jpg","text":"TemporaryFile(/tmp/multipartBody2615073537621132641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356832096,"filename":"image_08012025_18_19_02_976253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad5baf4bff7f07166b81218b7e9fe96f.jpg","text":"TemporaryFile(/tmp/multipartBody6479027138733791276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356832096,"filename":"image_08012025_18_19_02_976253_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492871","file1":"1327492868","file0":"1327492863","file3":"1327492874"},"map_files_photo_id_array":[{"photo_id":"1327492871","filename":"file2"},{"photo_id":"1327492868","filename":"file1"},{"photo_id":"1327492863","filename":"file0"},{"photo_id":"1327492874","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492863":["hashtag1","hashtag2"]},{"1327492871":["hashtag1","hashtag2"]},{"1327492874":["hashtag1","hashtag2"]},{"1327492868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492863, 1327492871, 1327492874, 1327492868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.856101274490356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:20:02.213530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:20:21.874584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0003.jpg', '/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0000.jpg', '/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0001.jpg', '/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/19/image_08012025_18_19_02_976253_0003.jpg
/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0000.jpg
/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0001.jpg
/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492886","1327492894","1327492882","1327492891"],"photo_ids_order":["1327492882","1327492886","1327492891","1327492894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c3028dee4cae853ef3ce0e37c1c6de3.jpg","text":"TemporaryFile(/tmp/multipartBody9186773774415378731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356892237,"filename":"image_08012025_18_20_02_253588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c38b5a5f02efc89797e8ac301f36601.jpg","text":"TemporaryFile(/tmp/multipartBody9012733557789970105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356892237,"filename":"image_08012025_18_20_02_253588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aedb180d35b8192e8cf6428bfa6a04e6.jpg","text":"TemporaryFile(/tmp/multipartBody751012008293098470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356892237,"filename":"image_08012025_18_19_02_976253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f07e463be8da8fa5c145ad8c2dc3824e.jpg","text":"TemporaryFile(/tmp/multipartBody2304912573143534293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356892237,"filename":"image_08012025_18_20_02_253588_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492891","file1":"1327492886","file0":"1327492882","file3":"1327492894"},"map_files_photo_id_array":[{"photo_id":"1327492891","filename":"file2"},{"photo_id":"1327492886","filename":"file1"},{"photo_id":"1327492882","filename":"file0"},{"photo_id":"1327492894","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492886":["hashtag1","hashtag2"]},{"1327492894":["hashtag1","hashtag2"]},{"1327492882":["hashtag1","hashtag2"]},{"1327492891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492886, 1327492894, 1327492882, 1327492891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00717878341675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:21:22.067420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0003.jpg', '/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0000.jpg', '/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0001.jpg', '/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/20/image_08012025_18_20_02_253588_0003.jpg
/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0000.jpg
/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0001.jpg
/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492917","1327492914","1327492908","1327492921"],"photo_ids_order":["1327492908","1327492914","1327492917","1327492921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f494d7ebe1fae72d2c03e64771a49098.jpg","text":"TemporaryFile(/tmp/multipartBody689589269279468033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356952363,"filename":"image_08012025_18_21_02_292920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93fdc460503e7603601644d0ba326a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5667978397243650331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356952363,"filename":"image_08012025_18_21_02_292920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1897a033fe52fc041829c06d5307961.jpg","text":"TemporaryFile(/tmp/multipartBody3968467402127289959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356952363,"filename":"image_08012025_18_20_02_253588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/984aa4d8900eca9e4833f98df776ce9a.jpg","text":"TemporaryFile(/tmp/multipartBody2041803297440129915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736356952363,"filename":"image_08012025_18_21_02_292920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492917","file1":"1327492914","file0":"1327492908","file3":"1327492921"},"map_files_photo_id_array":[{"photo_id":"1327492917","filename":"file2"},{"photo_id":"1327492914","filename":"file1"},{"photo_id":"1327492908","filename":"file0"},{"photo_id":"1327492921","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492917":["hashtag1","hashtag2"]},{"1327492914":["hashtag1","hashtag2"]},{"1327492908":["hashtag1","hashtag2"]},{"1327492921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492917, 1327492914, 1327492908, 1327492921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.138330698013306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:22:02.594213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:22:22.211267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0003.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0000.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0001.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0003.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0000.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0001.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.835929870605469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 18:22:42.232955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0003.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0000.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0001.jpg', '/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/21/image_08012025_18_21_02_292920_0003.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0000.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0001.jpg
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492957","1327492951","1327492960","1327492954"],"photo_ids_order":["1327492951","1327492954","1327492957","1327492960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48893f5ffafedab155d85fbae07b9329.jpg","text":"TemporaryFile(/tmp/multipartBody3269670911469693562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357032468,"filename":"image_08012025_18_22_02_520074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4464511341f091590459386be10a9d56.jpg","text":"TemporaryFile(/tmp/multipartBody1374276195096403321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357032468,"filename":"image_08012025_18_21_02_292920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de9474d58bf61f2f7c34c0d197380ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1430035509524670962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357032468,"filename":"image_08012025_18_22_02_520074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e223f4fdea3aa3a5bd6858c0dc453033.jpg","text":"TemporaryFile(/tmp/multipartBody182573703414260541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357032468,"filename":"image_08012025_18_22_02_520074_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492957","file1":"1327492954","file0":"1327492951","file3":"1327492960"},"map_files_photo_id_array":[{"photo_id":"1327492957","filename":"file2"},{"photo_id":"1327492954","filename":"file1"},{"photo_id":"1327492951","filename":"file0"},{"photo_id":"1327492960","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492957":["hashtag1","hashtag2"]},{"1327492951":["hashtag1","hashtag2"]},{"1327492960":["hashtag1","hashtag2"]},{"1327492954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492957, 1327492951, 1327492960, 1327492954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91994833946228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:23:22.432278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0003.jpg', '/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0000.jpg', '/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0001.jpg', '/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/22/image_08012025_18_22_02_520074_0003.jpg
/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0000.jpg
/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0001.jpg
/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327492983","1327492970","1327492973","1327492976"],"photo_ids_order":["1327492970","1327492973","1327492976","1327492983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfdd7dbfe0dddad3da202af1d0982d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2440797644823254549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357072698,"filename":"image_08012025_18_23_02_664791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9a944643b849d298934b30c0af5581c.jpg","text":"TemporaryFile(/tmp/multipartBody2398385804820287918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357072698,"filename":"image_08012025_18_22_02_520074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fa6e8ac7f4d5a51acb8fadc42968fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7893127497782000971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357072698,"filename":"image_08012025_18_23_02_664791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f2eb9b2b440b0d007d02896a517a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody3531129881604892850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357072698,"filename":"image_08012025_18_23_02_664791_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327492976","file1":"1327492973","file0":"1327492970","file3":"1327492983"},"map_files_photo_id_array":[{"photo_id":"1327492976","filename":"file2"},{"photo_id":"1327492973","filename":"file1"},{"photo_id":"1327492970","filename":"file0"},{"photo_id":"1327492983","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327492983":["hashtag1","hashtag2"]},{"1327492970":["hashtag1","hashtag2"]},{"1327492973":["hashtag1","hashtag2"]},{"1327492976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327492983, 1327492970, 1327492973, 1327492976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19386124610901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:24:02.905081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:24:22.492271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0003.jpg', '/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0000.jpg', '/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0001.jpg', '/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/23/image_08012025_18_23_02_664791_0003.jpg
/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0000.jpg
/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0001.jpg
/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493010","1327493001","1327493012","1327493005"],"photo_ids_order":["1327493001","1327493005","1327493010","1327493012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0dd2017c8f0c5d72ad8dded1c441da62.jpg","text":"TemporaryFile(/tmp/multipartBody2974401972001741460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357132819,"filename":"image_08012025_18_24_02_770392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3ea1f6f950c915f3b64bc1b085a3ed25.jpg","text":"TemporaryFile(/tmp/multipartBody3654223032904454862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357132819,"filename":"image_08012025_18_23_02_664791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0a99bff5fd38a78f5cade6816195e09.jpg","text":"TemporaryFile(/tmp/multipartBody1866003507414559621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357132819,"filename":"image_08012025_18_24_02_770392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b81384e93b9c3fec905a3cfbc7286655.jpg","text":"TemporaryFile(/tmp/multipartBody6308212484410124167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357132819,"filename":"image_08012025_18_24_02_770392_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493010","file1":"1327493005","file0":"1327493001","file3":"1327493012"},"map_files_photo_id_array":[{"photo_id":"1327493010","filename":"file2"},{"photo_id":"1327493005","filename":"file1"},{"photo_id":"1327493001","filename":"file0"},{"photo_id":"1327493012","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493010":["hashtag1","hashtag2"]},{"1327493001":["hashtag1","hashtag2"]},{"1327493012":["hashtag1","hashtag2"]},{"1327493005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493010, 1327493001, 1327493012, 1327493005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.223129987716675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:25:22.831413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0003.jpg', '/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0000.jpg', '/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0001.jpg', '/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/24/image_08012025_18_24_02_770392_0003.jpg
/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0000.jpg
/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0001.jpg
/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493025","1327493030","1327493032","1327493020"],"photo_ids_order":["1327493020","1327493025","1327493030","1327493032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcdd2582264ff44ceee4d3c41c3e7092.jpg","text":"TemporaryFile(/tmp/multipartBody5946120133969426809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357193125,"filename":"image_08012025_18_25_02_910355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ff1776d7a04947218d4afa6a71caf30.jpg","text":"TemporaryFile(/tmp/multipartBody3691562146709827210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357193125,"filename":"image_08012025_18_25_02_910355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c482de5ac04bcfd11ae0ddc78c5fea7.jpg","text":"TemporaryFile(/tmp/multipartBody8368339429631223299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357193125,"filename":"image_08012025_18_25_02_910355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45c2e3b6aa652a08bf832fefa2dd556d.jpg","text":"TemporaryFile(/tmp/multipartBody6719635239662223543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357193125,"filename":"image_08012025_18_24_02_770392_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493030","file1":"1327493025","file0":"1327493020","file3":"1327493032"},"map_files_photo_id_array":[{"photo_id":"1327493030","filename":"file2"},{"photo_id":"1327493025","filename":"file1"},{"photo_id":"1327493020","filename":"file0"},{"photo_id":"1327493032","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493025":["hashtag1","hashtag2"]},{"1327493030":["hashtag1","hashtag2"]},{"1327493032":["hashtag1","hashtag2"]},{"1327493020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493025, 1327493030, 1327493032, 1327493020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.937278270721436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:26:02.401794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:26:21.906260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0003.jpg', '/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0000.jpg', '/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0001.jpg', '/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/25/image_08012025_18_25_02_910355_0003.jpg
/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0000.jpg
/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0001.jpg
/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493063","1327493066","1327493059","1327493055"],"photo_ids_order":["1327493055","1327493059","1327493063","1327493066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03e2a9d04c30cc90fa1f5fe093f939d6.jpg","text":"TemporaryFile(/tmp/multipartBody3821377990273504323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357252275,"filename":"image_08012025_18_26_03_061609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43617ca8b7f7481fa9da446b0259f9ce.jpg","text":"TemporaryFile(/tmp/multipartBody4191167056376513439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357252275,"filename":"image_08012025_18_26_03_061609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b57afe680f79f05d2ed3eec9725b885.jpg","text":"TemporaryFile(/tmp/multipartBody4713237096488726059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357252275,"filename":"image_08012025_18_26_03_061609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d305dd48bdbaacd2814a678644a62fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6122529912200088740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357252275,"filename":"image_08012025_18_25_02_910355_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493063","file1":"1327493059","file0":"1327493055","file3":"1327493066"},"map_files_photo_id_array":[{"photo_id":"1327493063","filename":"file2"},{"photo_id":"1327493059","filename":"file1"},{"photo_id":"1327493055","filename":"file0"},{"photo_id":"1327493066","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493063":["hashtag1","hashtag2"]},{"1327493066":["hashtag1","hashtag2"]},{"1327493059":["hashtag1","hashtag2"]},{"1327493055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493063, 1327493066, 1327493059, 1327493055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03359413146973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:27:02.706595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:27:22.082767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0003.jpg', '/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0000.jpg', '/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0001.jpg', '/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/26/image_08012025_18_26_03_061609_0003.jpg
/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0000.jpg
/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0001.jpg
/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493084","1327493075","1327493080","1327493082"],"photo_ids_order":["1327493075","1327493080","1327493082","1327493084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ac160e67f8c274a3de813436fbd5c73.jpg","text":"TemporaryFile(/tmp/multipartBody5428036454889643456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357312306,"filename":"image_08012025_18_27_02_280605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c45254c5c06f99fb99517c40eee47215.jpg","text":"TemporaryFile(/tmp/multipartBody3132382994465547651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357312306,"filename":"image_08012025_18_26_03_061609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85c4699cd9b2acf3794fbec4e8939046.jpg","text":"TemporaryFile(/tmp/multipartBody1167619293032745377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357312306,"filename":"image_08012025_18_27_02_280605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f471132f315a7cd80c650bce3669d155.jpg","text":"TemporaryFile(/tmp/multipartBody3935005487345563997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357312306,"filename":"image_08012025_18_27_02_280605_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493082","file1":"1327493080","file0":"1327493075","file3":"1327493084"},"map_files_photo_id_array":[{"photo_id":"1327493082","filename":"file2"},{"photo_id":"1327493080","filename":"file1"},{"photo_id":"1327493075","filename":"file0"},{"photo_id":"1327493084","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493084":["hashtag1","hashtag2"]},{"1327493075":["hashtag1","hashtag2"]},{"1327493080":["hashtag1","hashtag2"]},{"1327493082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493084, 1327493075, 1327493080, 1327493082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62584614753723 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-08 18:28:22.230871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0003.jpg', '/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0000.jpg', '/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0001.jpg', '/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/27/image_08012025_18_27_02_280605_0003.jpg
/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0000.jpg
/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0001.jpg
/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493132","1327493141","1327493135","1327493137"],"photo_ids_order":["1327493132","1327493135","1327493137","1327493141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c26850ccf831090d7035e815b8425c4.jpg","text":"TemporaryFile(/tmp/multipartBody2989584145107505698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357372561,"filename":"image_08012025_18_27_02_280605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e984ba5bae0d5aae6eba2a321344727e.jpg","text":"TemporaryFile(/tmp/multipartBody7630507150775125234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357372561,"filename":"image_08012025_18_28_02_496185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/212adf86bce873a525b628987b6f53af.jpg","text":"TemporaryFile(/tmp/multipartBody7841258196925226763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357372561,"filename":"image_08012025_18_28_02_496185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/345a06a731d9de4e823385f973307ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2757735649906815491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357372561,"filename":"image_08012025_18_28_02_496185_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493137","file1":"1327493135","file0":"1327493132","file3":"1327493141"},"map_files_photo_id_array":[{"photo_id":"1327493137","filename":"file2"},{"photo_id":"1327493135","filename":"file1"},{"photo_id":"1327493132","filename":"file0"},{"photo_id":"1327493141","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493132":["hashtag1","hashtag2"]},{"1327493141":["hashtag1","hashtag2"]},{"1327493135":["hashtag1","hashtag2"]},{"1327493137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493132, 1327493141, 1327493135, 1327493137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.202720642089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:29:03.148458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:29:22.284924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0003.jpg', '/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0000.jpg', '/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0001.jpg', '/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/28/image_08012025_18_28_02_496185_0003.jpg
/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0000.jpg
/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0001.jpg
/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493273","1327493266","1327493281","1327493286"],"photo_ids_order":["1327493266","1327493273","1327493281","1327493286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48abaae63f851b5196b25b5b4def8656.jpg","text":"TemporaryFile(/tmp/multipartBody1138794459853363140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357432568,"filename":"image_08012025_18_29_02_626845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faec4cc098361b405135d83201b38e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5139579980483684489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357432568,"filename":"image_08012025_18_28_02_496185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b5effb841ec855235dfbeadf9c0f47d.jpg","text":"TemporaryFile(/tmp/multipartBody2163003242372420496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357432568,"filename":"image_08012025_18_29_02_626845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a34ebb22960f8386153517eac8ca1d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7309762387635040065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357432568,"filename":"image_08012025_18_29_02_626845_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493281","file1":"1327493273","file0":"1327493266","file3":"1327493286"},"map_files_photo_id_array":[{"photo_id":"1327493281","filename":"file2"},{"photo_id":"1327493273","filename":"file1"},{"photo_id":"1327493266","filename":"file0"},{"photo_id":"1327493286","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493273":["hashtag1","hashtag2"]},{"1327493266":["hashtag1","hashtag2"]},{"1327493281":["hashtag1","hashtag2"]},{"1327493286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493273, 1327493266, 1327493281, 1327493286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90921878814697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:30:02.881699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:30:22.482973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0003.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0000.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0001.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0003.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0000.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0001.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.99519157409668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 18:30:42.579865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0003.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0000.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0001.jpg', '/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/29/image_08012025_18_29_02_626845_0003.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0000.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0001.jpg
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493313","1327493315","1327493317","1327493311"],"photo_ids_order":["1327493311","1327493313","1327493315","1327493317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2263a24afcb1d2c84cf6f3b03dae3b40.jpg","text":"TemporaryFile(/tmp/multipartBody3003558562513437872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357513004,"filename":"image_08012025_18_30_02_825729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a00dcdbdf6661794a9d2f85546cc1150.jpg","text":"TemporaryFile(/tmp/multipartBody3789797738525822773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357513004,"filename":"image_08012025_18_30_02_825729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e71d266b4262f695a84c4a6b7f84d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5731437333138756302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357513004,"filename":"image_08012025_18_30_02_825729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa35ba7b278300dc64dc3f8a65e243e1.jpg","text":"TemporaryFile(/tmp/multipartBody4649526533024149356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357513004,"filename":"image_08012025_18_29_02_626845_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327493315","file1":"1327493313","file0":"1327493311","file3":"1327493317"},"map_files_photo_id_array":[{"photo_id":"1327493315","filename":"file2"},{"photo_id":"1327493313","filename":"file1"},{"photo_id":"1327493311","filename":"file0"},{"photo_id":"1327493317","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493313":["hashtag1","hashtag2"]},{"1327493315":["hashtag1","hashtag2"]},{"1327493317":["hashtag1","hashtag2"]},{"1327493311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493313, 1327493315, 1327493317, 1327493311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.659565925598145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:31:22.786929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0003.jpg', '/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0000.jpg', '/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0001.jpg', '/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/30/image_08012025_18_30_02_825729_0003.jpg
/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0000.jpg
/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0001.jpg
/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327493337","1327493729","1327494078","1327494414"],"photo_ids_order":["1327493337","1327493729","1327494078","1327494414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f61c27da7464802ad792838a123ac42.jpg","text":"TemporaryFile(/tmp/multipartBody4154526215077004378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357553143,"filename":"image_08012025_18_30_02_825729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9151baf3b7bb9220cce124ed3a0ce4e.jpg","text":"TemporaryFile(/tmp/multipartBody1726534515018535533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357553143,"filename":"image_08012025_18_31_02_820274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c47a1a5ca13d318ea538b71d63a3fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody1861571717432870392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357553143,"filename":"image_08012025_18_31_02_820274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2975d50db35af8099b16b07664d70cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3446210877183846302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357553143,"filename":"image_08012025_18_31_02_820274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327494078","file1":"1327493729","file0":"1327493337","file3":"1327494414"},"map_files_photo_id_array":[{"photo_id":"1327494078","filename":"file2"},{"photo_id":"1327493729","filename":"file1"},{"photo_id":"1327493337","filename":"file0"},{"photo_id":"1327494414","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327493337":["hashtag1","hashtag2"]},{"1327493729":["hashtag1","hashtag2"]},{"1327494078":["hashtag1","hashtag2"]},{"1327494414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327493337, 1327493729, 1327494078, 1327494414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92439103126526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:32:21.955315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0003.jpg', '/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0000.jpg', '/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0001.jpg', '/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/31/image_08012025_18_31_02_820274_0003.jpg
/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0000.jpg
/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0001.jpg
/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327494698","1327494703","1327494628","1327494723"],"photo_ids_order":["1327494628","1327494698","1327494703","1327494723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fee96c97fd7638ed2f71c29e9bce9a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4068980882530169229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357612324,"filename":"image_08012025_18_32_03_088470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0135a2c81ba143a83b3afad7d464d49.jpg","text":"TemporaryFile(/tmp/multipartBody2747861650242363498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357612324,"filename":"image_08012025_18_32_03_088470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fc2bfe6320b70e2ba121c0c5b02f916.jpg","text":"TemporaryFile(/tmp/multipartBody5988739664645851887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357612324,"filename":"image_08012025_18_31_02_820274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f5e5a8a4f5557dea87ad5431cf47b242.jpg","text":"TemporaryFile(/tmp/multipartBody2948144044075504316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357612324,"filename":"image_08012025_18_32_03_088470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327494703","file1":"1327494698","file0":"1327494628","file3":"1327494723"},"map_files_photo_id_array":[{"photo_id":"1327494703","filename":"file2"},{"photo_id":"1327494698","filename":"file1"},{"photo_id":"1327494628","filename":"file0"},{"photo_id":"1327494723","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327494698":["hashtag1","hashtag2"]},{"1327494703":["hashtag1","hashtag2"]},{"1327494628":["hashtag1","hashtag2"]},{"1327494723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327494698, 1327494703, 1327494628, 1327494723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.34792876243591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:33:22.049463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0003.jpg', '/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0000.jpg', '/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0001.jpg', '/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/32/image_08012025_18_32_03_088470_0003.jpg
/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0000.jpg
/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0001.jpg
/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495163","1327495150","1327495204","1327495097"],"photo_ids_order":["1327495097","1327495150","1327495163","1327495204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62a2e3c6ac7968960f4f406fe7cfbfd8.jpg","text":"TemporaryFile(/tmp/multipartBody7315129651237917826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357672411,"filename":"image_08012025_18_33_02_250371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53429c509bc85ce7eaf897909f6de82a.jpg","text":"TemporaryFile(/tmp/multipartBody4709254700354148420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357672411,"filename":"image_08012025_18_33_02_250371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd7f852df3b124ae173f58b35a158003.jpg","text":"TemporaryFile(/tmp/multipartBody9209232790486978436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357672411,"filename":"image_08012025_18_33_02_250371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4689158ab32d595964ea3f654ebac3e3.jpg","text":"TemporaryFile(/tmp/multipartBody2934182924224944790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357672411,"filename":"image_08012025_18_32_03_088470_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495163","file1":"1327495150","file0":"1327495097","file3":"1327495204"},"map_files_photo_id_array":[{"photo_id":"1327495163","filename":"file2"},{"photo_id":"1327495150","filename":"file1"},{"photo_id":"1327495097","filename":"file0"},{"photo_id":"1327495204","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495163":["hashtag1","hashtag2"]},{"1327495150":["hashtag1","hashtag2"]},{"1327495204":["hashtag1","hashtag2"]},{"1327495097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495163, 1327495150, 1327495204, 1327495097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09860897064209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:34:22.322363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0003.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0000.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0001.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0003.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0000.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0001.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.867375373840332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 18:34:42.323705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0003.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0000.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0001.jpg', '/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/33/image_08012025_18_33_02_250371_0003.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0000.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0001.jpg
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495378","1327495374","1327495376","1327495373"],"photo_ids_order":["1327495373","1327495374","1327495376","1327495378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd44cb5f88264a95199a1866acb01c35.jpg","text":"TemporaryFile(/tmp/multipartBody2151466886445550371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357752612,"filename":"image_08012025_18_34_02_422515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4dcdd574776b47530731025e32fd8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1771193924954334355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357752612,"filename":"image_08012025_18_34_02_422515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07b8ad552b41642efd68a4f7412be898.jpg","text":"TemporaryFile(/tmp/multipartBody1473737084166391197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357752612,"filename":"image_08012025_18_34_02_422515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2cbfb90e43ba0cd97d1b044791e7a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7034360031330933162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357752612,"filename":"image_08012025_18_33_02_250371_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495376","file1":"1327495374","file0":"1327495373","file3":"1327495378"},"map_files_photo_id_array":[{"photo_id":"1327495376","filename":"file2"},{"photo_id":"1327495374","filename":"file1"},{"photo_id":"1327495373","filename":"file0"},{"photo_id":"1327495378","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495378":["hashtag1","hashtag2"]},{"1327495374":["hashtag1","hashtag2"]},{"1327495376":["hashtag1","hashtag2"]},{"1327495373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495378, 1327495374, 1327495376, 1327495373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.662370443344116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 18:35:32.441656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0003.jpg', '/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0000.jpg', '/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0001.jpg', '/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/34/image_08012025_18_34_02_422515_0003.jpg
/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0000.jpg
/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0001.jpg
/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495393","1327495395","1327495389","1327495391"],"photo_ids_order":["1327495389","1327495391","1327495393","1327495395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/854b85228dff4d28ec74b753b531e059.jpg","text":"TemporaryFile(/tmp/multipartBody2700402649747312935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357802738,"filename":"image_08012025_18_35_02_610022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51c96dd2fd347a2da5d5ec40a73038bb.jpg","text":"TemporaryFile(/tmp/multipartBody703490512185784512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357802738,"filename":"image_08012025_18_35_02_610022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90c3af5a1f8c5c1bddadbaf18f2b83e4.jpg","text":"TemporaryFile(/tmp/multipartBody1233785385721347691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357802738,"filename":"image_08012025_18_34_02_422515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f413342332a8b7092fe2081be4975dd6.jpg","text":"TemporaryFile(/tmp/multipartBody5267717351802907298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357802738,"filename":"image_08012025_18_35_02_610022_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495393","file1":"1327495391","file0":"1327495389","file3":"1327495395"},"map_files_photo_id_array":[{"photo_id":"1327495393","filename":"file2"},{"photo_id":"1327495391","filename":"file1"},{"photo_id":"1327495389","filename":"file0"},{"photo_id":"1327495395","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495393":["hashtag1","hashtag2"]},{"1327495395":["hashtag1","hashtag2"]},{"1327495389":["hashtag1","hashtag2"]},{"1327495391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495393, 1327495395, 1327495389, 1327495391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.616737604141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:36:22.641856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0003.jpg', '/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0000.jpg', '/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0001.jpg', '/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/35/image_08012025_18_35_02_610022_0003.jpg
/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0000.jpg
/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0001.jpg
/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495434","1327495416","1327495431","1327495439"],"photo_ids_order":["1327495416","1327495431","1327495434","1327495439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/101447fa56465e5d41bb219168143276.jpg","text":"TemporaryFile(/tmp/multipartBody130790234480909578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357852811,"filename":"image_08012025_18_36_02_796081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8193231096445fb7b568435e334f333.jpg","text":"TemporaryFile(/tmp/multipartBody2928460118251708751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357852811,"filename":"image_08012025_18_35_02_610022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0528ea4652a77910ec2f8c0b8dd91697.jpg","text":"TemporaryFile(/tmp/multipartBody3776048920197031704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357852811,"filename":"image_08012025_18_36_02_796081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ec7b3cee561ff4b456cb4c9229cb410.jpg","text":"TemporaryFile(/tmp/multipartBody5306738356217741179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357852811,"filename":"image_08012025_18_36_02_796081_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495434","file1":"1327495431","file0":"1327495416","file3":"1327495439"},"map_files_photo_id_array":[{"photo_id":"1327495434","filename":"file2"},{"photo_id":"1327495431","filename":"file1"},{"photo_id":"1327495416","filename":"file0"},{"photo_id":"1327495439","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495434":["hashtag1","hashtag2"]},{"1327495416":["hashtag1","hashtag2"]},{"1327495431":["hashtag1","hashtag2"]},{"1327495439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495434, 1327495416, 1327495431, 1327495439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80015778541565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:37:21.942733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0003.jpg', '/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0000.jpg', '/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0001.jpg', '/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/36/image_08012025_18_36_02_796081_0003.jpg
/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0000.jpg
/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0001.jpg
/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495516","1327495551","1327495548","1327495533"],"photo_ids_order":["1327495516","1327495533","1327495548","1327495551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f572e3d0dd62785515e5682a4cbbf3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1102104456739381413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357912034,"filename":"image_08012025_18_36_02_796081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92760cbea74d1e05181976813764cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody2754422424490947053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357912034,"filename":"image_08012025_18_37_03_058776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0c1e30916b16d7a6e977c9691639978.jpg","text":"TemporaryFile(/tmp/multipartBody7014866878916549857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357912034,"filename":"image_08012025_18_37_03_058776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/683ccb31ec22822747a05f1e235ccb42.jpg","text":"TemporaryFile(/tmp/multipartBody6030113350806958188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357912034,"filename":"image_08012025_18_37_03_058776_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495548","file1":"1327495533","file0":"1327495516","file3":"1327495551"},"map_files_photo_id_array":[{"photo_id":"1327495548","filename":"file2"},{"photo_id":"1327495533","filename":"file1"},{"photo_id":"1327495516","filename":"file0"},{"photo_id":"1327495551","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495516":["hashtag1","hashtag2"]},{"1327495551":["hashtag1","hashtag2"]},{"1327495548":["hashtag1","hashtag2"]},{"1327495533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495516, 1327495551, 1327495548, 1327495533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4563775062561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:38:02.393552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:38:21.996499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0003.jpg', '/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0000.jpg', '/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0003.jpg
/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0000.jpg
/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_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.303255558013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 18:38:31.992527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0003.jpg', '/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0000.jpg', '/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/37/image_08012025_18_37_03_058776_0003.jpg
/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0000.jpg
/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_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":["1327495681","1327495690","1327495670"],"photo_ids_order":["1327495670","1327495681","1327495690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c654676103ca51608b871dde2aa0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7787089830312643512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357979728,"filename":"image_08012025_18_38_02_169309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e98c584c01ae1f8aa05662cef3ed5717.jpg","text":"TemporaryFile(/tmp/multipartBody4297339406300594815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357979728,"filename":"image_08012025_18_38_02_169309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16b8f304dea41062273d3f5bf7f9b6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6150542269120975490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736357979728,"filename":"image_08012025_18_37_03_058776_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495690","file1":"1327495681","file0":"1327495670"},"map_files_photo_id_array":[{"photo_id":"1327495690","filename":"file2"},{"photo_id":"1327495681","filename":"file1"},{"photo_id":"1327495670","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495681":["hashtag1","hashtag2"]},{"1327495690":["hashtag1","hashtag2"]},{"1327495670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495681, 1327495690, 1327495670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.90909743309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:39:22.267284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0003.jpg', '/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0000.jpg', '/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0001.jpg', '/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/38/image_08012025_18_38_02_169309_0003.jpg
/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0000.jpg
/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0001.jpg
/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495753","1327495743","1327495748","1327495736"],"photo_ids_order":["1327495736","1327495743","1327495748","1327495753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e501b455c99bf91fb5d2d8277b593479.jpg","text":"TemporaryFile(/tmp/multipartBody7572512184086543356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358032351,"filename":"image_08012025_18_39_02_466028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/518e7818a248b800be416d70a09470b1.jpg","text":"TemporaryFile(/tmp/multipartBody2604002870112369069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358032351,"filename":"image_08012025_18_39_02_466028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c5187d968316006a79a08a5788e3de3.jpg","text":"TemporaryFile(/tmp/multipartBody5750073605815532114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358032351,"filename":"image_08012025_18_39_02_466028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb1d6d7e7da7fa253cfc33fe7ae1e86d.jpg","text":"TemporaryFile(/tmp/multipartBody1394636053051268824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358032351,"filename":"image_08012025_18_38_02_169309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495748","file1":"1327495743","file0":"1327495736","file3":"1327495753"},"map_files_photo_id_array":[{"photo_id":"1327495748","filename":"file2"},{"photo_id":"1327495743","filename":"file1"},{"photo_id":"1327495736","filename":"file0"},{"photo_id":"1327495753","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495753":["hashtag1","hashtag2"]},{"1327495743":["hashtag1","hashtag2"]},{"1327495748":["hashtag1","hashtag2"]},{"1327495736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495753, 1327495743, 1327495748, 1327495736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.056241273880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:40:02.912233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:40:22.431736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0003.jpg', '/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0000.jpg', '/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0001.jpg', '/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/39/image_08012025_18_39_02_466028_0003.jpg
/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0000.jpg
/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0001.jpg
/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495798","1327495807","1327495812","1327495803"],"photo_ids_order":["1327495798","1327495803","1327495807","1327495812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4acd90ce86d6274561c23e4f6167d28.jpg","text":"TemporaryFile(/tmp/multipartBody2683815687923720274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358092714,"filename":"image_08012025_18_39_02_466028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/245a9165eec4a759c6cea4815e215b33.jpg","text":"TemporaryFile(/tmp/multipartBody9172478405285857529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358092714,"filename":"image_08012025_18_40_02_617039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53acebbbfdfdf5e800595364f85a3a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6270146586386592799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358092714,"filename":"image_08012025_18_40_02_617039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7751ccb1777ef979950c6e60501f349.jpg","text":"TemporaryFile(/tmp/multipartBody887517514169513926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358092714,"filename":"image_08012025_18_40_02_617039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495807","file1":"1327495803","file0":"1327495798","file3":"1327495812"},"map_files_photo_id_array":[{"photo_id":"1327495807","filename":"file2"},{"photo_id":"1327495803","filename":"file1"},{"photo_id":"1327495798","filename":"file0"},{"photo_id":"1327495812","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495798":["hashtag1","hashtag2"]},{"1327495807":["hashtag1","hashtag2"]},{"1327495812":["hashtag1","hashtag2"]},{"1327495803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495798, 1327495807, 1327495812, 1327495803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.841753005981445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:41:03.187604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:41:22.635423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0003.jpg', '/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0000.jpg', '/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0001.jpg', '/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/40/image_08012025_18_40_02_617039_0003.jpg
/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0000.jpg
/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0001.jpg
/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495838","1327495847","1327495832","1327495841"],"photo_ids_order":["1327495832","1327495838","1327495841","1327495847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6bfac4a1e1b2595ae54bae394d5b8da.jpg","text":"TemporaryFile(/tmp/multipartBody7230720495688987864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358153010,"filename":"image_08012025_18_41_02_870225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b9f6e97ccd86bfcdf50b5f93b57e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2871478761195655164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358153010,"filename":"image_08012025_18_41_02_870225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b50dd4301f72dc1c1b0052e2643396b5.jpg","text":"TemporaryFile(/tmp/multipartBody274506567417142783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358153010,"filename":"image_08012025_18_40_02_617039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63a53fbdc8ea3c761ec3f33da40940e9.jpg","text":"TemporaryFile(/tmp/multipartBody8800599079494744934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358153010,"filename":"image_08012025_18_41_02_870225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495841","file1":"1327495838","file0":"1327495832","file3":"1327495847"},"map_files_photo_id_array":[{"photo_id":"1327495841","filename":"file2"},{"photo_id":"1327495838","filename":"file1"},{"photo_id":"1327495832","filename":"file0"},{"photo_id":"1327495847","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495838":["hashtag1","hashtag2"]},{"1327495847":["hashtag1","hashtag2"]},{"1327495832":["hashtag1","hashtag2"]},{"1327495841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495838, 1327495847, 1327495832, 1327495841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.765363454818726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:42:21.835692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0003.jpg', '/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0000.jpg', '/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0001.jpg', '/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/41/image_08012025_18_41_02_870225_0003.jpg
/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0000.jpg
/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0001.jpg
/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495876","1327495867","1327495871","1327495862"],"photo_ids_order":["1327495862","1327495867","1327495871","1327495876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90a14671015d2308e4d5fe0bed1dcfe3.jpg","text":"TemporaryFile(/tmp/multipartBody2544361455430979548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358212214,"filename":"image_08012025_18_42_02_983377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e17b330d3b6f82cc998edcae265f8041.jpg","text":"TemporaryFile(/tmp/multipartBody2093944894403398784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358212214,"filename":"image_08012025_18_42_02_983377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb2432101d2f44cfa500e05bf7352d80.jpg","text":"TemporaryFile(/tmp/multipartBody7299488120165845157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358212214,"filename":"image_08012025_18_42_02_983377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71520107a812e15aea714711afbb407f.jpg","text":"TemporaryFile(/tmp/multipartBody1549565051142276402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358212214,"filename":"image_08012025_18_41_02_870225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495871","file1":"1327495867","file0":"1327495862","file3":"1327495876"},"map_files_photo_id_array":[{"photo_id":"1327495871","filename":"file2"},{"photo_id":"1327495867","filename":"file1"},{"photo_id":"1327495862","filename":"file0"},{"photo_id":"1327495876","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495876":["hashtag1","hashtag2"]},{"1327495867":["hashtag1","hashtag2"]},{"1327495871":["hashtag1","hashtag2"]},{"1327495862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495876, 1327495867, 1327495871, 1327495862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51215887069702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:43:02.705739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:43:22.026978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0003.jpg', '/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0000.jpg', '/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0001.jpg', '/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/42/image_08012025_18_42_02_983377_0003.jpg
/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0000.jpg
/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0001.jpg
/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495901","1327495906","1327495909","1327495896"],"photo_ids_order":["1327495896","1327495901","1327495906","1327495909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74c3a7d27ffc08a30206aa923836fb65.jpg","text":"TemporaryFile(/tmp/multipartBody4722255122929659877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358272384,"filename":"image_08012025_18_43_02_137357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea8b6fce74707602a9928d267218f12a.jpg","text":"TemporaryFile(/tmp/multipartBody2325251024526205884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358272384,"filename":"image_08012025_18_43_02_137357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf0d1a9f9722a6b87fbf2229d395a80c.jpg","text":"TemporaryFile(/tmp/multipartBody6985789844816012455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358272384,"filename":"image_08012025_18_43_02_137357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8085b384afce1c533417f2f71090e90a.jpg","text":"TemporaryFile(/tmp/multipartBody229102717489745673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358272384,"filename":"image_08012025_18_42_02_983377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495906","file1":"1327495901","file0":"1327495896","file3":"1327495909"},"map_files_photo_id_array":[{"photo_id":"1327495906","filename":"file2"},{"photo_id":"1327495901","filename":"file1"},{"photo_id":"1327495896","filename":"file0"},{"photo_id":"1327495909","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495901":["hashtag1","hashtag2"]},{"1327495906":["hashtag1","hashtag2"]},{"1327495909":["hashtag1","hashtag2"]},{"1327495896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495901, 1327495906, 1327495909, 1327495896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09870481491089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:44:02.659259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:44:22.276554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0003.jpg', '/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0000.jpg', '/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0001.jpg', '/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/43/image_08012025_18_43_02_137357_0003.jpg
/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0000.jpg
/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0001.jpg
/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495965","1327495962","1327495970","1327495967"],"photo_ids_order":["1327495962","1327495965","1327495967","1327495970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/670b3e6d181aefbff9e813b7dbd943cd.jpg","text":"TemporaryFile(/tmp/multipartBody3626608082710006320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358332567,"filename":"image_08012025_18_44_02_358365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7d09f74a3ab1e5a18c3db7b72d80fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6534544515400393746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358332567,"filename":"image_08012025_18_43_02_137357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f6b91059607aadf20efab57d8750e36.jpg","text":"TemporaryFile(/tmp/multipartBody5941961060783257391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358332567,"filename":"image_08012025_18_44_02_358365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88c699086453845f6461d3c999174175.jpg","text":"TemporaryFile(/tmp/multipartBody6296643360663815663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358332567,"filename":"image_08012025_18_44_02_358365_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495967","file1":"1327495965","file0":"1327495962","file3":"1327495970"},"map_files_photo_id_array":[{"photo_id":"1327495967","filename":"file2"},{"photo_id":"1327495965","filename":"file1"},{"photo_id":"1327495962","filename":"file0"},{"photo_id":"1327495970","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495965":["hashtag1","hashtag2"]},{"1327495962":["hashtag1","hashtag2"]},{"1327495970":["hashtag1","hashtag2"]},{"1327495967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495965, 1327495962, 1327495970, 1327495967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21492958068848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:45:03.006458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:45:22.420217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0003.jpg', '/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0000.jpg', '/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0001.jpg', '/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/44/image_08012025_18_44_02_358365_0003.jpg
/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0000.jpg
/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0001.jpg
/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327495990","1327495994","1327495997","1327496000"],"photo_ids_order":["1327495990","1327495994","1327495997","1327496000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7efa52245112cc9f4a288663527012c6.jpg","text":"TemporaryFile(/tmp/multipartBody1573521234841143360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358392758,"filename":"image_08012025_18_44_02_358365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6739ff207814ffce7ec781ff7b0c2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8604098186087488133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358392758,"filename":"image_08012025_18_45_02_612014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f404223246ad7f8b83eb1b20397575b.jpg","text":"TemporaryFile(/tmp/multipartBody4890076324716422464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358392758,"filename":"image_08012025_18_45_02_612014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80d2e8ba7e8d3a3b2c8f277d9804aeec.jpg","text":"TemporaryFile(/tmp/multipartBody7633602583041850091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358392758,"filename":"image_08012025_18_45_02_612014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327495997","file1":"1327495994","file0":"1327495990","file3":"1327496000"},"map_files_photo_id_array":[{"photo_id":"1327495997","filename":"file2"},{"photo_id":"1327495994","filename":"file1"},{"photo_id":"1327495990","filename":"file0"},{"photo_id":"1327496000","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327495990":["hashtag1","hashtag2"]},{"1327495994":["hashtag1","hashtag2"]},{"1327495997":["hashtag1","hashtag2"]},{"1327496000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327495990, 1327495994, 1327495997, 1327496000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.522382974624634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:46:03.146878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:46:22.732467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0003.jpg', '/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0000.jpg', '/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0001.jpg', '/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/45/image_08012025_18_45_02_612014_0003.jpg
/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0000.jpg
/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0001.jpg
/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496023","1327496026","1327496020","1327496039"],"photo_ids_order":["1327496020","1327496023","1327496026","1327496039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efe4e2fa0cf605459417a9aa38b172ed.jpg","text":"TemporaryFile(/tmp/multipartBody3736540496513702109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358453106,"filename":"image_08012025_18_46_02_790757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a000e433fdafd33540f769827d5f6669.jpg","text":"TemporaryFile(/tmp/multipartBody3713510532483219830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358453106,"filename":"image_08012025_18_46_02_790757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cc0f03fcb8a260ccd22bb012ce4e68e.jpg","text":"TemporaryFile(/tmp/multipartBody5673799197823787955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358453106,"filename":"image_08012025_18_45_02_612014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/567b25cd2e027a015d89735ae4ed0897.jpg","text":"TemporaryFile(/tmp/multipartBody4878122441748952421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358453106,"filename":"image_08012025_18_46_02_790757_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496026","file1":"1327496023","file0":"1327496020","file3":"1327496039"},"map_files_photo_id_array":[{"photo_id":"1327496026","filename":"file2"},{"photo_id":"1327496023","filename":"file1"},{"photo_id":"1327496020","filename":"file0"},{"photo_id":"1327496039","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496023":["hashtag1","hashtag2"]},{"1327496026":["hashtag1","hashtag2"]},{"1327496020":["hashtag1","hashtag2"]},{"1327496039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496023, 1327496026, 1327496020, 1327496039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63391137123108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:47:21.862681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0003.jpg', '/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0000.jpg', '/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0001.jpg', '/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/46/image_08012025_18_46_02_790757_0003.jpg
/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0000.jpg
/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0001.jpg
/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496065","1327496059","1327496090","1327496086"],"photo_ids_order":["1327496059","1327496065","1327496086","1327496090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04f3323d35df5dd28ad2b5eb8f5515b5.jpg","text":"TemporaryFile(/tmp/multipartBody1300486869102579833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358512274,"filename":"image_08012025_18_47_03_106913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbb1fec6ad5b85d0e23c2b96dd986426.jpg","text":"TemporaryFile(/tmp/multipartBody4260792590194406284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358512274,"filename":"image_08012025_18_46_02_790757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/efe5a4a3194565510aececedea6d532d.jpg","text":"TemporaryFile(/tmp/multipartBody3354438011010641439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358512274,"filename":"image_08012025_18_47_03_106913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cfdca997a18fcf369326e7efd2fedcd9.jpg","text":"TemporaryFile(/tmp/multipartBody5409733629893958380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358512274,"filename":"image_08012025_18_47_03_106913_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496086","file1":"1327496065","file0":"1327496059","file3":"1327496090"},"map_files_photo_id_array":[{"photo_id":"1327496086","filename":"file2"},{"photo_id":"1327496065","filename":"file1"},{"photo_id":"1327496059","filename":"file0"},{"photo_id":"1327496090","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496065":["hashtag1","hashtag2"]},{"1327496059":["hashtag1","hashtag2"]},{"1327496090":["hashtag1","hashtag2"]},{"1327496086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496065, 1327496059, 1327496090, 1327496086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48366379737854 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-08 18:48:22.012208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0003.jpg', '/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0000.jpg', '/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0001.jpg', '/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/47/image_08012025_18_47_03_106913_0003.jpg
/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0000.jpg
/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0001.jpg
/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496125","1327496130","1327496141","1327496135"],"photo_ids_order":["1327496125","1327496130","1327496135","1327496141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/59d9147001b654a85ee4aa9a558d14ba.jpg","text":"TemporaryFile(/tmp/multipartBody3665172663030229203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358572468,"filename":"image_08012025_18_47_03_106913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1325911626580f5b1849196cbc26614a.jpg","text":"TemporaryFile(/tmp/multipartBody7941805859526558128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358572468,"filename":"image_08012025_18_48_02_317743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0a9fd54a7b2545d188b78b9602f300b.jpg","text":"TemporaryFile(/tmp/multipartBody7043920188965855041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358572468,"filename":"image_08012025_18_48_02_317743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ef7b0c993bf6d60c574c1f80ecb28bc.jpg","text":"TemporaryFile(/tmp/multipartBody4867772034089235007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358572468,"filename":"image_08012025_18_48_02_317743_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496135","file1":"1327496130","file0":"1327496125","file3":"1327496141"},"map_files_photo_id_array":[{"photo_id":"1327496135","filename":"file2"},{"photo_id":"1327496130","filename":"file1"},{"photo_id":"1327496125","filename":"file0"},{"photo_id":"1327496141","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496125":["hashtag1","hashtag2"]},{"1327496130":["hashtag1","hashtag2"]},{"1327496141":["hashtag1","hashtag2"]},{"1327496135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496125, 1327496130, 1327496141, 1327496135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46691846847534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:49:02.845881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:49:22.177020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0003.jpg', '/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0000.jpg', '/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0001.jpg', '/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/48/image_08012025_18_48_02_317743_0003.jpg
/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0000.jpg
/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0001.jpg
/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496166","1327496157","1327496162","1327496171"],"photo_ids_order":["1327496157","1327496162","1327496166","1327496171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55465329bf64be26d96db70d6c31e707.jpg","text":"TemporaryFile(/tmp/multipartBody8784530112403204898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358632434,"filename":"image_08012025_18_49_02_515865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/244729e1f465240240a11473839e91b1.jpg","text":"TemporaryFile(/tmp/multipartBody3392180596517138930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358632434,"filename":"image_08012025_18_48_02_317743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d28c23f921a668294a6e2b5caf9be52.jpg","text":"TemporaryFile(/tmp/multipartBody6524282525537107568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358632434,"filename":"image_08012025_18_49_02_515865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8afb5919d029e13f90e2e603c0262537.jpg","text":"TemporaryFile(/tmp/multipartBody5248793729739886665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358632434,"filename":"image_08012025_18_49_02_515865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496166","file1":"1327496162","file0":"1327496157","file3":"1327496171"},"map_files_photo_id_array":[{"photo_id":"1327496166","filename":"file2"},{"photo_id":"1327496162","filename":"file1"},{"photo_id":"1327496157","filename":"file0"},{"photo_id":"1327496171","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496166":["hashtag1","hashtag2"]},{"1327496157":["hashtag1","hashtag2"]},{"1327496162":["hashtag1","hashtag2"]},{"1327496171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496166, 1327496157, 1327496162, 1327496171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92952036857605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:50:22.410394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0003.jpg', '/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0000.jpg', '/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0001.jpg', '/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/49/image_08012025_18_49_02_515865_0003.jpg
/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0000.jpg
/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0001.jpg
/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496244","1327496274","1327496270","1327496237"],"photo_ids_order":["1327496237","1327496244","1327496270","1327496274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b38431259eb4fd67f54a57a2905317c6.jpg","text":"TemporaryFile(/tmp/multipartBody28045514331323940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358692542,"filename":"image_08012025_18_50_02_656096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e40c6943cddb8d499bfc0ba96cafcec.jpg","text":"TemporaryFile(/tmp/multipartBody7593963835913783304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358692542,"filename":"image_08012025_18_50_02_656096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/160d9ad6e07520197ba42cab42a52291.jpg","text":"TemporaryFile(/tmp/multipartBody7085345054617703675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358692542,"filename":"image_08012025_18_50_02_656096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2076b55b0b68370b9c473bd99e1098b0.jpg","text":"TemporaryFile(/tmp/multipartBody8313668943369606294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358692542,"filename":"image_08012025_18_49_02_515865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496270","file1":"1327496244","file0":"1327496237","file3":"1327496274"},"map_files_photo_id_array":[{"photo_id":"1327496270","filename":"file2"},{"photo_id":"1327496244","filename":"file1"},{"photo_id":"1327496237","filename":"file0"},{"photo_id":"1327496274","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496244":["hashtag1","hashtag2"]},{"1327496274":["hashtag1","hashtag2"]},{"1327496270":["hashtag1","hashtag2"]},{"1327496237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496244, 1327496274, 1327496270, 1327496237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52676439285278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:51:22.605740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0003.jpg', '/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0000.jpg', '/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0001.jpg', '/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/50/image_08012025_18_50_02_656096_0003.jpg
/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0000.jpg
/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0001.jpg
/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496289","1327496298","1327496301","1327496294"],"photo_ids_order":["1327496289","1327496294","1327496298","1327496301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0a09b722158449035f3928e9fa7e731.jpg","text":"TemporaryFile(/tmp/multipartBody1125445360255730187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358752851,"filename":"image_08012025_18_50_02_656096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06cb4bd455aa2b2f5b3a0f9ef59eefc6.jpg","text":"TemporaryFile(/tmp/multipartBody8838982732626597955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358752851,"filename":"image_08012025_18_51_02_779439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/201b9ba1b623b302764463caa1311af7.jpg","text":"TemporaryFile(/tmp/multipartBody4565326163535286282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358752851,"filename":"image_08012025_18_51_02_779439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90f2832efe0fda584655b35bad28392c.jpg","text":"TemporaryFile(/tmp/multipartBody8687159966986140181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358752851,"filename":"image_08012025_18_51_02_779439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496298","file1":"1327496294","file0":"1327496289","file3":"1327496301"},"map_files_photo_id_array":[{"photo_id":"1327496298","filename":"file2"},{"photo_id":"1327496294","filename":"file1"},{"photo_id":"1327496289","filename":"file0"},{"photo_id":"1327496301","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496289":["hashtag1","hashtag2"]},{"1327496298":["hashtag1","hashtag2"]},{"1327496301":["hashtag1","hashtag2"]},{"1327496294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496289, 1327496298, 1327496301, 1327496294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.841193437576294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:52:03.166728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:52:22.720791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0003.jpg', '/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0000.jpg', '/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0001.jpg', '/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/51/image_08012025_18_51_02_779439_0003.jpg
/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0000.jpg
/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0001.jpg
/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496359","1327496344","1327496396","1327496383"],"photo_ids_order":["1327496344","1327496359","1327496383","1327496396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b824b6f3a1d69a0f6791115ff9261a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3815019364561241204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358812901,"filename":"image_08012025_18_52_02_965650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33004a0b1cfecbc75faa052208c49da4.jpg","text":"TemporaryFile(/tmp/multipartBody8972158850379111665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358812901,"filename":"image_08012025_18_51_02_779439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9243b2e82e83c702fe3298998f058425.jpg","text":"TemporaryFile(/tmp/multipartBody4427555867705991783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358812901,"filename":"image_08012025_18_52_02_965650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/792d5d285b41da0af71aa2b1f4cced80.jpg","text":"TemporaryFile(/tmp/multipartBody2695640190863166005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358812901,"filename":"image_08012025_18_52_02_965650_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496383","file1":"1327496359","file0":"1327496344","file3":"1327496396"},"map_files_photo_id_array":[{"photo_id":"1327496383","filename":"file2"},{"photo_id":"1327496359","filename":"file1"},{"photo_id":"1327496344","filename":"file0"},{"photo_id":"1327496396","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496359":["hashtag1","hashtag2"]},{"1327496344":["hashtag1","hashtag2"]},{"1327496396":["hashtag1","hashtag2"]},{"1327496383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496359, 1327496344, 1327496396, 1327496383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.261584520339966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:53:21.925420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0003.jpg', '/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0000.jpg', '/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0001.jpg', '/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/52/image_08012025_18_52_02_965650_0003.jpg
/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0000.jpg
/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0001.jpg
/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496421","1327496415","1327496426","1327496408"],"photo_ids_order":["1327496408","1327496415","1327496421","1327496426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eddc4758b81c805a10adbe6f452de3bf.jpg","text":"TemporaryFile(/tmp/multipartBody8927988156585095161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358871981,"filename":"image_08012025_18_53_03_056065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/78136a0fea876583e48a8628a7e49bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6167390853898394777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358871981,"filename":"image_08012025_18_53_03_056065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b484cc3918f52aeeee2cd54f7a02e993.jpg","text":"TemporaryFile(/tmp/multipartBody6014308049544431282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358871981,"filename":"image_08012025_18_53_03_056065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/377a0ba6099de7996bba6071469ea5fa.jpg","text":"TemporaryFile(/tmp/multipartBody6711936163286363724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358871981,"filename":"image_08012025_18_52_02_965650_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496421","file1":"1327496415","file0":"1327496408","file3":"1327496426"},"map_files_photo_id_array":[{"photo_id":"1327496421","filename":"file2"},{"photo_id":"1327496415","filename":"file1"},{"photo_id":"1327496408","filename":"file0"},{"photo_id":"1327496426","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496421":["hashtag1","hashtag2"]},{"1327496415":["hashtag1","hashtag2"]},{"1327496426":["hashtag1","hashtag2"]},{"1327496408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496421, 1327496415, 1327496426, 1327496408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29829716682434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:54:22.113065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0003.jpg', '/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0000.jpg', '/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0001.jpg', '/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/53/image_08012025_18_53_03_056065_0003.jpg
/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0000.jpg
/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0001.jpg
/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496602","1327496605","1327496597","1327496609"],"photo_ids_order":["1327496597","1327496602","1327496605","1327496609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45a3d2580764e9aec8313e46565259e2.jpg","text":"TemporaryFile(/tmp/multipartBody7880575556095556543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358932271,"filename":"image_08012025_18_54_02_308830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b0edd8d4559e9cd072c13e88a736097.jpg","text":"TemporaryFile(/tmp/multipartBody7596044193422333369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358932271,"filename":"image_08012025_18_54_02_308830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ea41705cab57564bfa77d0c657ff0710.jpg","text":"TemporaryFile(/tmp/multipartBody9011059017324101339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358932271,"filename":"image_08012025_18_53_03_056065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46c6420972dd1fb10586892090ade02a.jpg","text":"TemporaryFile(/tmp/multipartBody4367905112450983933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358932271,"filename":"image_08012025_18_54_02_308830_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496605","file1":"1327496602","file0":"1327496597","file3":"1327496609"},"map_files_photo_id_array":[{"photo_id":"1327496605","filename":"file2"},{"photo_id":"1327496602","filename":"file1"},{"photo_id":"1327496597","filename":"file0"},{"photo_id":"1327496609","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496602":["hashtag1","hashtag2"]},{"1327496605":["hashtag1","hashtag2"]},{"1327496597":["hashtag1","hashtag2"]},{"1327496609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496602, 1327496605, 1327496597, 1327496609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95841193199158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:55:02.948344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:55:22.220243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0003.jpg', '/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0000.jpg', '/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0001.jpg', '/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/54/image_08012025_18_54_02_308830_0003.jpg
/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0000.jpg
/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0001.jpg
/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327496632","1327496627","1327496639","1327496630"],"photo_ids_order":["1327496627","1327496630","1327496632","1327496639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/257171763d429620e715c0f5347ea256.jpg","text":"TemporaryFile(/tmp/multipartBody5482537146347699694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358992611,"filename":"image_08012025_18_55_02_465879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b37b8829f84adc61deb5c8c7a6646c63.jpg","text":"TemporaryFile(/tmp/multipartBody6900775043414493849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358992611,"filename":"image_08012025_18_54_02_308830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65cc092f5664561ccfea1ef080e63b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2319584038800552850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358992611,"filename":"image_08012025_18_55_02_465879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22545f5152e5ede0ed62f4cd9b38abcc.jpg","text":"TemporaryFile(/tmp/multipartBody5374184865538006055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736358992611,"filename":"image_08012025_18_55_02_465879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327496632","file1":"1327496630","file0":"1327496627","file3":"1327496639"},"map_files_photo_id_array":[{"photo_id":"1327496632","filename":"file2"},{"photo_id":"1327496630","filename":"file1"},{"photo_id":"1327496627","filename":"file0"},{"photo_id":"1327496639","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327496632":["hashtag1","hashtag2"]},{"1327496627":["hashtag1","hashtag2"]},{"1327496639":["hashtag1","hashtag2"]},{"1327496630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327496632, 1327496627, 1327496639, 1327496630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.90559673309326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:56:22.446637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0003.jpg', '/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0000.jpg', '/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0001.jpg', '/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/55/image_08012025_18_55_02_465879_0003.jpg
/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0000.jpg
/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0001.jpg
/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327497951","1327497312","1327497947","1327497652"],"photo_ids_order":["1327497312","1327497652","1327497947","1327497951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5866c6ebd722512d2db2839afd43a66f.jpg","text":"TemporaryFile(/tmp/multipartBody3263052289406445410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359052940,"filename":"image_08012025_18_56_02_693767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a506e6fb63c1a0ed1282cd016bbb0605.jpg","text":"TemporaryFile(/tmp/multipartBody3251955260717340290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359052940,"filename":"image_08012025_18_55_02_465879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2696124e3bffcf7a624804bbb982adb7.jpg","text":"TemporaryFile(/tmp/multipartBody826970859872374364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359052940,"filename":"image_08012025_18_56_02_693767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/689a0024087a65344c6ab58dd3d45eed.jpg","text":"TemporaryFile(/tmp/multipartBody3459445744675114298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359052940,"filename":"image_08012025_18_56_02_693767_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327497947","file1":"1327497652","file0":"1327497312","file3":"1327497951"},"map_files_photo_id_array":[{"photo_id":"1327497947","filename":"file2"},{"photo_id":"1327497652","filename":"file1"},{"photo_id":"1327497312","filename":"file0"},{"photo_id":"1327497951","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327497951":["hashtag1","hashtag2"]},{"1327497312":["hashtag1","hashtag2"]},{"1327497947":["hashtag1","hashtag2"]},{"1327497652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327497951, 1327497312, 1327497947, 1327497652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86750650405884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:57:03.288505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:57:22.588472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0003.jpg', '/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0000.jpg', '/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0001.jpg', '/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/56/image_08012025_18_56_02_693767_0003.jpg
/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0000.jpg
/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0001.jpg
/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327498882","1327498870","1327498893","1327498773"],"photo_ids_order":["1327498773","1327498870","1327498882","1327498893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fee9541ddb197b059088c2536f742176.jpg","text":"TemporaryFile(/tmp/multipartBody975515426985021895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359113028,"filename":"image_08012025_18_57_02_784398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/240a4c5f2110fe453bf7532849882963.jpg","text":"TemporaryFile(/tmp/multipartBody5711602359342867292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359113028,"filename":"image_08012025_18_57_02_784398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8298b931dfc1d93326cb6aabbea74ce7.jpg","text":"TemporaryFile(/tmp/multipartBody5780051718255471364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359113028,"filename":"image_08012025_18_57_02_784398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f9b6fa98fd7e636f076cc926d139137.jpg","text":"TemporaryFile(/tmp/multipartBody2861012731448687160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359113028,"filename":"image_08012025_18_56_02_693767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327498882","file1":"1327498870","file0":"1327498773","file3":"1327498893"},"map_files_photo_id_array":[{"photo_id":"1327498882","filename":"file2"},{"photo_id":"1327498870","filename":"file1"},{"photo_id":"1327498773","filename":"file0"},{"photo_id":"1327498893","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327498882":["hashtag1","hashtag2"]},{"1327498870":["hashtag1","hashtag2"]},{"1327498893":["hashtag1","hashtag2"]},{"1327498773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327498882, 1327498870, 1327498893, 1327498773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2299485206604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 18:59:02.561154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 18:59:21.957064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0003.jpg', '/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0000.jpg', '/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0001.jpg', '/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0002.jpg', '/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0003.jpg', '/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/57/image_08012025_18_57_02_784398_0003.jpg
/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0000.jpg
/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0001.jpg
/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0002.jpg
/home/pi/Desktop/images/08012025/18/58/image_08012025_18_58_02_917934_0003.jpg
/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_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":["1327499838","1327499747","1327499903","1327499893","1327499641","1327499751"],"photo_ids_order":["1327499641","1327499747","1327499751","1327499838","1327499893","1327499903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/205b5c514cd3c333a7053d0b26a0f6da.jpg","text":"TemporaryFile(/tmp/multipartBody9106843754277417671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_58_02_917934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb3940f32fe4fa7f0d24545b1cefd96c.jpg","text":"TemporaryFile(/tmp/multipartBody2684829211139869847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_58_02_917934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca61348b36c3f4b0a9c7b8e58661696a.jpg","text":"TemporaryFile(/tmp/multipartBody5156535948598208064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_59_03_124047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f72e87834d952d55b3792f46029806c.jpg","text":"TemporaryFile(/tmp/multipartBody3690781883487728066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_58_02_917934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc322e118832b772659e6d00ab33faa0.jpg","text":"TemporaryFile(/tmp/multipartBody4424591040225655454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_57_02_784398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6db3c77a01bc77a257aa200b5330e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody5762717943212410232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359237150,"filename":"image_08012025_18_58_02_917934_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327499751","file1":"1327499747","file0":"1327499641","file4":"1327499893","file5":"1327499903","file3":"1327499838"},"map_files_photo_id_array":[{"photo_id":"1327499903","filename":"file5"},{"photo_id":"1327499751","filename":"file2"},{"photo_id":"1327499893","filename":"file4"},{"photo_id":"1327499747","filename":"file1"},{"photo_id":"1327499641","filename":"file0"},{"photo_id":"1327499838","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327499838":["hashtag1","hashtag2"]},{"1327499747":["hashtag1","hashtag2"]},{"1327499903":["hashtag1","hashtag2"]},{"1327499893":["hashtag1","hashtag2"]},{"1327499641":["hashtag1","hashtag2"]},{"1327499751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327499838, 1327499747, 1327499903, 1327499893, 1327499641, 1327499751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44104814529419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:00:22.231411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0001.jpg', '/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0002.jpg', '/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0003.jpg', '/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0000.jpg', '/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0001.jpg', '/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0001.jpg
/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0002.jpg
/home/pi/Desktop/images/08012025/18/59/image_08012025_18_59_03_124047_0003.jpg
/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0000.jpg
/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0001.jpg
/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327499937","1327499942","1327499947","1327499950","1327499931","1327499934"],"photo_ids_order":["1327499931","1327499934","1327499937","1327499942","1327499947","1327499950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb91c4b78e9a1e0180714b97c7db954a.jpg","text":"TemporaryFile(/tmp/multipartBody7855595254531924465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_18_59_03_124047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6cb4906938de3785384f0865726e3c98.jpg","text":"TemporaryFile(/tmp/multipartBody1425833824892963436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_19_00_02_339906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bf1d5c053789d729eec4f791aa008742.jpg","text":"TemporaryFile(/tmp/multipartBody8890956443285037192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_19_00_02_339906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/34a34cb6337349e1f604735a92dee0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5836472543417446579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_19_00_02_339906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/150b2163b8bc2f0eac9adfba5fea07a6.jpg","text":"TemporaryFile(/tmp/multipartBody4244908727103613341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_18_59_03_124047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c66afca5a01cb6347093f2daa2015aea.jpg","text":"TemporaryFile(/tmp/multipartBody7033461556721024312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359297379,"filename":"image_08012025_18_59_03_124047_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327499937","file1":"1327499934","file0":"1327499931","file4":"1327499947","file5":"1327499950","file3":"1327499942"},"map_files_photo_id_array":[{"photo_id":"1327499950","filename":"file5"},{"photo_id":"1327499937","filename":"file2"},{"photo_id":"1327499947","filename":"file4"},{"photo_id":"1327499934","filename":"file1"},{"photo_id":"1327499931","filename":"file0"},{"photo_id":"1327499942","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327499937":["hashtag1","hashtag2"]},{"1327499942":["hashtag1","hashtag2"]},{"1327499947":["hashtag1","hashtag2"]},{"1327499950":["hashtag1","hashtag2"]},{"1327499931":["hashtag1","hashtag2"]},{"1327499934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327499937, 1327499942, 1327499947, 1327499950, 1327499931, 1327499934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70348906517029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:01:22.350636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0003.jpg', '/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0000.jpg', '/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0001.jpg', '/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/00/image_08012025_19_00_02_339906_0003.jpg
/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0000.jpg
/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0001.jpg
/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327499978","1327499986","1327499974","1327499982"],"photo_ids_order":["1327499974","1327499978","1327499982","1327499986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/acf161b4ff5e7bb9d2eeb2c597dd5907.jpg","text":"TemporaryFile(/tmp/multipartBody5469693055698024537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359352756,"filename":"image_08012025_19_01_02_522946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c27d42a3699c00c8a1e105ad84184f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3987775745052031298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359352756,"filename":"image_08012025_19_01_02_522946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7608e5db389245f1702db1aca078a61e.jpg","text":"TemporaryFile(/tmp/multipartBody3025974117118949613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359352756,"filename":"image_08012025_19_00_02_339906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/64656a93162700a3fe6a3894f8fe33a2.jpg","text":"TemporaryFile(/tmp/multipartBody5099971489801389286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359352756,"filename":"image_08012025_19_01_02_522946_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327499982","file1":"1327499978","file0":"1327499974","file3":"1327499986"},"map_files_photo_id_array":[{"photo_id":"1327499982","filename":"file2"},{"photo_id":"1327499978","filename":"file1"},{"photo_id":"1327499974","filename":"file0"},{"photo_id":"1327499986","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327499978":["hashtag1","hashtag2"]},{"1327499986":["hashtag1","hashtag2"]},{"1327499974":["hashtag1","hashtag2"]},{"1327499982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327499978, 1327499986, 1327499974, 1327499982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.733659505844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:02:02.809493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:02:22.535662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0003.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0000.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0001.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0003.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0000.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0001.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.978029727935791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:02:42.457577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0003.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0000.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0001.jpg', '/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/01/image_08012025_19_01_02_522946_0003.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0000.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0001.jpg
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327500743","1327500737","1327500746","1327500740"],"photo_ids_order":["1327500737","1327500740","1327500743","1327500746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef3c1ccc1c07cbae82626df73d3ed724.jpg","text":"TemporaryFile(/tmp/multipartBody9053296859604414629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359432835,"filename":"image_08012025_19_02_02_678824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af9d2d17db38dd85ff8f33ccc91dbaac.jpg","text":"TemporaryFile(/tmp/multipartBody1008711417677125376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359432835,"filename":"image_08012025_19_01_02_522946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e2d0c8749b6a764d84ca25afdc7835c1.jpg","text":"TemporaryFile(/tmp/multipartBody779391333804950446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359432835,"filename":"image_08012025_19_02_02_678824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b8e51401c8f69e0f3c0dad4b2e113ee.jpg","text":"TemporaryFile(/tmp/multipartBody3794150117710331428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359432835,"filename":"image_08012025_19_02_02_678824_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327500743","file1":"1327500740","file0":"1327500737","file3":"1327500746"},"map_files_photo_id_array":[{"photo_id":"1327500743","filename":"file2"},{"photo_id":"1327500740","filename":"file1"},{"photo_id":"1327500737","filename":"file0"},{"photo_id":"1327500746","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327500743":["hashtag1","hashtag2"]},{"1327500737":["hashtag1","hashtag2"]},{"1327500746":["hashtag1","hashtag2"]},{"1327500740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327500743, 1327500737, 1327500746, 1327500740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90972590446472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:03:22.663331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0003.jpg', '/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0000.jpg', '/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0001.jpg', '/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/02/image_08012025_19_02_02_678824_0003.jpg
/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0000.jpg
/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0001.jpg
/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327501077","1327501131","1327501068","1327501100"],"photo_ids_order":["1327501068","1327501077","1327501100","1327501131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31f3e949817f8774eb4deba504c46b50.jpg","text":"TemporaryFile(/tmp/multipartBody8990096319961822934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359473091,"filename":"image_08012025_19_03_02_770318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c68369aebe0bada559bb09af038f8e87.jpg","text":"TemporaryFile(/tmp/multipartBody4804209244757806590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359473091,"filename":"image_08012025_19_03_02_770318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69243dc8261483b8868501fdc558331c.jpg","text":"TemporaryFile(/tmp/multipartBody889031977120634009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359473091,"filename":"image_08012025_19_02_02_678824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/74f0d1419c531617ef46de9a17b0beb9.jpg","text":"TemporaryFile(/tmp/multipartBody4931085236798439525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359473091,"filename":"image_08012025_19_03_02_770318_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327501100","file1":"1327501077","file0":"1327501068","file3":"1327501131"},"map_files_photo_id_array":[{"photo_id":"1327501100","filename":"file2"},{"photo_id":"1327501077","filename":"file1"},{"photo_id":"1327501068","filename":"file0"},{"photo_id":"1327501131","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327501077":["hashtag1","hashtag2"]},{"1327501131":["hashtag1","hashtag2"]},{"1327501068":["hashtag1","hashtag2"]},{"1327501100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327501077, 1327501131, 1327501068, 1327501100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.989368200302124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:04:21.884249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0003.jpg', '/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0000.jpg', '/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0001.jpg', '/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/03/image_08012025_19_03_02_770318_0003.jpg
/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0000.jpg
/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0001.jpg
/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327501168","1327501162","1327501156","1327501470"],"photo_ids_order":["1327501156","1327501162","1327501168","1327501470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/015d9a776e5e8f52074f16dd61608366.jpg","text":"TemporaryFile(/tmp/multipartBody6429243291177831607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359532181,"filename":"image_08012025_19_04_03_024842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/561147d3d43da9b6e1696718c2b1d061.jpg","text":"TemporaryFile(/tmp/multipartBody2987971635526750043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359532181,"filename":"image_08012025_19_04_03_024842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e34e4a3f19a9c25c3f92cb7f149ef52c.jpg","text":"TemporaryFile(/tmp/multipartBody2797783239375059099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359532181,"filename":"image_08012025_19_03_02_770318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ae93014f72f00c030ad9c56f2f399ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8613888166565841283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359532181,"filename":"image_08012025_19_04_03_024842_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327501168","file1":"1327501162","file0":"1327501156","file3":"1327501470"},"map_files_photo_id_array":[{"photo_id":"1327501168","filename":"file2"},{"photo_id":"1327501162","filename":"file1"},{"photo_id":"1327501156","filename":"file0"},{"photo_id":"1327501470","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327501168":["hashtag1","hashtag2"]},{"1327501162":["hashtag1","hashtag2"]},{"1327501156":["hashtag1","hashtag2"]},{"1327501470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327501168, 1327501162, 1327501156, 1327501470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63959336280823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:05:02.602805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:05:21.961898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0003.jpg', '/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0000.jpg', '/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0001.jpg', '/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/04/image_08012025_19_04_03_024842_0003.jpg
/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0000.jpg
/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0001.jpg
/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327503584","1327503518","1327503580","1327503214"],"photo_ids_order":["1327503214","1327503518","1327503580","1327503584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/386fdb6c37e6dda48748f41b08318205.jpg","text":"TemporaryFile(/tmp/multipartBody1349559116378207126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359592393,"filename":"image_08012025_19_05_02_196521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38dc1f72af1eca4e99c347b40ac8fb53.jpg","text":"TemporaryFile(/tmp/multipartBody8509481524410170423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359592393,"filename":"image_08012025_19_05_02_196521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa7e0405f2ae47e7a85f83e6efcf6152.jpg","text":"TemporaryFile(/tmp/multipartBody6295248652947384310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359592393,"filename":"image_08012025_19_05_02_196521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/12ad3a9bd95e00d21efc67dfc6903593.jpg","text":"TemporaryFile(/tmp/multipartBody3990287531905701675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359592393,"filename":"image_08012025_19_04_03_024842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327503580","file1":"1327503518","file0":"1327503214","file3":"1327503584"},"map_files_photo_id_array":[{"photo_id":"1327503580","filename":"file2"},{"photo_id":"1327503518","filename":"file1"},{"photo_id":"1327503214","filename":"file0"},{"photo_id":"1327503584","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327503584":["hashtag1","hashtag2"]},{"1327503518":["hashtag1","hashtag2"]},{"1327503580":["hashtag1","hashtag2"]},{"1327503214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327503584, 1327503518, 1327503580, 1327503214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67495560646057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:06:02.529691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:06:22.091910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0003.jpg', '/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0000.jpg', '/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0001.jpg', '/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/05/image_08012025_19_05_02_196521_0003.jpg
/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0000.jpg
/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0001.jpg
/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327503636","1327503647","1327503662","1327503655"],"photo_ids_order":["1327503636","1327503647","1327503655","1327503662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a80e536c811f3e8dbf3a05a9c41ea60.jpg","text":"TemporaryFile(/tmp/multipartBody3835298105333702618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359652437,"filename":"image_08012025_19_05_02_196521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1e6bb70494501d8ac137389c63fcc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8556721573881171756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359652437,"filename":"image_08012025_19_06_02_283175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/057529a5e679d2d211e97c95bee3c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6875648396289214627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359652437,"filename":"image_08012025_19_06_02_283175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/668a52c59eee4e2f2f85564ffb211d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8667158593872725026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359652437,"filename":"image_08012025_19_06_02_283175_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327503655","file1":"1327503647","file0":"1327503636","file3":"1327503662"},"map_files_photo_id_array":[{"photo_id":"1327503655","filename":"file2"},{"photo_id":"1327503647","filename":"file1"},{"photo_id":"1327503636","filename":"file0"},{"photo_id":"1327503662","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327503636":["hashtag1","hashtag2"]},{"1327503647":["hashtag1","hashtag2"]},{"1327503662":["hashtag1","hashtag2"]},{"1327503655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327503636, 1327503647, 1327503662, 1327503655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.732545137405396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:07:22.303898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0003.jpg', '/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0000.jpg', '/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0001.jpg', '/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/06/image_08012025_19_06_02_283175_0003.jpg
/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0000.jpg
/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0001.jpg
/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327504935","1327504979","1327504805","1327504896"],"photo_ids_order":["1327504805","1327504896","1327504935","1327504979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a8c193dd6976010565e2c54b6affb79.jpg","text":"TemporaryFile(/tmp/multipartBody2108981327132498356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359712763,"filename":"image_08012025_19_07_02_408910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb8cd73b8d6213ecf448af43631a57a7.jpg","text":"TemporaryFile(/tmp/multipartBody1286628079327238970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359712763,"filename":"image_08012025_19_07_02_408910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eccb866fd8ebb7c221f38f1a39559d50.jpg","text":"TemporaryFile(/tmp/multipartBody1782700963657365873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359712763,"filename":"image_08012025_19_06_02_283175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ee70b1dd93520e884cb33b596a13f73.jpg","text":"TemporaryFile(/tmp/multipartBody6422192402952608553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359712763,"filename":"image_08012025_19_07_02_408910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327504935","file1":"1327504896","file0":"1327504805","file3":"1327504979"},"map_files_photo_id_array":[{"photo_id":"1327504935","filename":"file2"},{"photo_id":"1327504896","filename":"file1"},{"photo_id":"1327504805","filename":"file0"},{"photo_id":"1327504979","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327504935":["hashtag1","hashtag2"]},{"1327504979":["hashtag1","hashtag2"]},{"1327504805":["hashtag1","hashtag2"]},{"1327504896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327504935, 1327504979, 1327504805, 1327504896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.504831314086914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:08:02.971441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:08:22.496799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0003.jpg', '/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0000.jpg', '/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0001.jpg', '/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/07/image_08012025_19_07_02_408910_0003.jpg
/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0000.jpg
/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0001.jpg
/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505093","1327505105","1327505101","1327505097"],"photo_ids_order":["1327505093","1327505097","1327505101","1327505105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2fcacc91eae59ff02706cb256911e47.jpg","text":"TemporaryFile(/tmp/multipartBody9084156317187994430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359772735,"filename":"image_08012025_19_07_02_408910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/548f969df2040819aa2365acf7fb0a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6191119878386358384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359772735,"filename":"image_08012025_19_08_02_634559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3faac654314243167e96eec5b04c3899.jpg","text":"TemporaryFile(/tmp/multipartBody1374712690135153524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359772735,"filename":"image_08012025_19_08_02_634559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bc07c13b87670f24556e6afa5ebc6474.jpg","text":"TemporaryFile(/tmp/multipartBody3419261535084623472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359772735,"filename":"image_08012025_19_08_02_634559_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505101","file1":"1327505097","file0":"1327505093","file3":"1327505105"},"map_files_photo_id_array":[{"photo_id":"1327505101","filename":"file2"},{"photo_id":"1327505097","filename":"file1"},{"photo_id":"1327505093","filename":"file0"},{"photo_id":"1327505105","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505093":["hashtag1","hashtag2"]},{"1327505105":["hashtag1","hashtag2"]},{"1327505101":["hashtag1","hashtag2"]},{"1327505097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505093, 1327505105, 1327505101, 1327505097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.972742319107056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:09:03.298600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:09:22.645499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0003.jpg', '/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0000.jpg', '/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0001.jpg', '/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/08/image_08012025_19_08_02_634559_0003.jpg
/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0000.jpg
/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0001.jpg
/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505123","1327505131","1327505136","1327505127"],"photo_ids_order":["1327505123","1327505127","1327505131","1327505136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb4b4e075c3662ce96ae9d4b0762c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7389581189019640275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359832949,"filename":"image_08012025_19_08_02_634559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98d020533d69d066bbdc5e4419dece40.jpg","text":"TemporaryFile(/tmp/multipartBody1720950308381771446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359832949,"filename":"image_08012025_19_09_02_812710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d14ebf8eba8b163c97a663aad07e9fd.jpg","text":"TemporaryFile(/tmp/multipartBody6995987057201276725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359832949,"filename":"image_08012025_19_09_02_812710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/768ee3fb0bb41eac700f731327040a01.jpg","text":"TemporaryFile(/tmp/multipartBody8942075540663117974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359832949,"filename":"image_08012025_19_09_02_812710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505131","file1":"1327505127","file0":"1327505123","file3":"1327505136"},"map_files_photo_id_array":[{"photo_id":"1327505131","filename":"file2"},{"photo_id":"1327505127","filename":"file1"},{"photo_id":"1327505123","filename":"file0"},{"photo_id":"1327505136","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505123":["hashtag1","hashtag2"]},{"1327505131":["hashtag1","hashtag2"]},{"1327505136":["hashtag1","hashtag2"]},{"1327505127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505123, 1327505131, 1327505136, 1327505127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7876398563385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:10:21.815693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0003.jpg', '/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0000.jpg', '/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0001.jpg', '/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/09/image_08012025_19_09_02_812710_0003.jpg
/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0000.jpg
/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0001.jpg
/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505180","1327505204","1327505185","1327505175"],"photo_ids_order":["1327505175","1327505180","1327505185","1327505204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/163f8e8640e67a5a7055bc684e008164.jpg","text":"TemporaryFile(/tmp/multipartBody6121883835539623120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359892138,"filename":"image_08012025_19_10_02_985143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/893c8458508561429c5fab778228b54a.jpg","text":"TemporaryFile(/tmp/multipartBody7142202256742064007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359892138,"filename":"image_08012025_19_10_02_985143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dfc3b98034b9d4957f93590084d9bda.jpg","text":"TemporaryFile(/tmp/multipartBody4949119304102656693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359892138,"filename":"image_08012025_19_10_02_985143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9d049bfbf5fa77f07b961c2a224107db.jpg","text":"TemporaryFile(/tmp/multipartBody9194112898399041337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359892138,"filename":"image_08012025_19_09_02_812710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505185","file1":"1327505180","file0":"1327505175","file3":"1327505204"},"map_files_photo_id_array":[{"photo_id":"1327505185","filename":"file2"},{"photo_id":"1327505180","filename":"file1"},{"photo_id":"1327505175","filename":"file0"},{"photo_id":"1327505204","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505180":["hashtag1","hashtag2"]},{"1327505204":["hashtag1","hashtag2"]},{"1327505185":["hashtag1","hashtag2"]},{"1327505175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505180, 1327505204, 1327505185, 1327505175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56737780570984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:11:21.998887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0003.jpg', '/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0000.jpg', '/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0001.jpg', '/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/10/image_08012025_19_10_02_985143_0003.jpg
/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0000.jpg
/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0001.jpg
/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505242","1327505245","1327505265","1327505280"],"photo_ids_order":["1327505242","1327505245","1327505265","1327505280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9323bd1e4226a703644806e539c91a22.jpg","text":"TemporaryFile(/tmp/multipartBody6163490733397710827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359952407,"filename":"image_08012025_19_10_02_985143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f59dea44f9adbbbf0494705daac2577a.jpg","text":"TemporaryFile(/tmp/multipartBody3840338468240127934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359952407,"filename":"image_08012025_19_11_02_155116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f75240cbe48551ee617e455b6451f02c.jpg","text":"TemporaryFile(/tmp/multipartBody1981243132789237103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359952407,"filename":"image_08012025_19_11_02_155116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfbcffb79749a0c49621c154d27d7183.jpg","text":"TemporaryFile(/tmp/multipartBody2938259580778024981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736359952407,"filename":"image_08012025_19_11_02_155116_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505265","file1":"1327505245","file0":"1327505242","file3":"1327505280"},"map_files_photo_id_array":[{"photo_id":"1327505265","filename":"file2"},{"photo_id":"1327505245","filename":"file1"},{"photo_id":"1327505242","filename":"file0"},{"photo_id":"1327505280","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505242":["hashtag1","hashtag2"]},{"1327505245":["hashtag1","hashtag2"]},{"1327505265":["hashtag1","hashtag2"]},{"1327505280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505242, 1327505245, 1327505265, 1327505280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57187867164612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:12:22.144498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0003.jpg', '/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0000.jpg', '/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0001.jpg', '/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/11/image_08012025_19_11_02_155116_0003.jpg
/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0000.jpg
/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0001.jpg
/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505392","1327505397","1327505394","1327505400"],"photo_ids_order":["1327505392","1327505394","1327505397","1327505400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c6cafa630db46301d4f9f4569316649.jpg","text":"TemporaryFile(/tmp/multipartBody8224023362710049564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360012571,"filename":"image_08012025_19_11_02_155116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57269de3553cb824c8e82f6e02363cd7.jpg","text":"TemporaryFile(/tmp/multipartBody4775122688545039489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360012571,"filename":"image_08012025_19_12_02_342131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f013d42d3c47bfee2ed06f710f918a9.jpg","text":"TemporaryFile(/tmp/multipartBody1836988692389062326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360012571,"filename":"image_08012025_19_12_02_342131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbf4804b65d827676df0354c1c671156.jpg","text":"TemporaryFile(/tmp/multipartBody5237528662686369923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360012571,"filename":"image_08012025_19_12_02_342131_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505397","file1":"1327505394","file0":"1327505392","file3":"1327505400"},"map_files_photo_id_array":[{"photo_id":"1327505397","filename":"file2"},{"photo_id":"1327505394","filename":"file1"},{"photo_id":"1327505392","filename":"file0"},{"photo_id":"1327505400","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505392":["hashtag1","hashtag2"]},{"1327505397":["hashtag1","hashtag2"]},{"1327505394":["hashtag1","hashtag2"]},{"1327505400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505392, 1327505397, 1327505394, 1327505400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42815375328064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:13:02.940912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:13:22.433825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0003.jpg', '/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0000.jpg', '/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0001.jpg', '/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/12/image_08012025_19_12_02_342131_0003.jpg
/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0000.jpg
/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0001.jpg
/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505447","1327505431","1327505451","1327505442"],"photo_ids_order":["1327505431","1327505442","1327505447","1327505451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/227efe4b99ea26154d8ccb1160ec3ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2081132786559853231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360072809,"filename":"image_08012025_19_13_02_532394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/82aeab6ef4c4356db2ec0d2ff975767b.jpg","text":"TemporaryFile(/tmp/multipartBody3093832424662016984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360072809,"filename":"image_08012025_19_12_02_342131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/187c694e92a6995caff5fdc27e5c236e.jpg","text":"TemporaryFile(/tmp/multipartBody5389603216329108126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360072809,"filename":"image_08012025_19_13_02_532394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26ed4ddbbbd5adc1873e44e83136bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6112181927326675934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360072809,"filename":"image_08012025_19_13_02_532394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505447","file1":"1327505442","file0":"1327505431","file3":"1327505451"},"map_files_photo_id_array":[{"photo_id":"1327505447","filename":"file2"},{"photo_id":"1327505442","filename":"file1"},{"photo_id":"1327505431","filename":"file0"},{"photo_id":"1327505451","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505447":["hashtag1","hashtag2"]},{"1327505431":["hashtag1","hashtag2"]},{"1327505451":["hashtag1","hashtag2"]},{"1327505442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505447, 1327505431, 1327505451, 1327505442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34064960479736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:14:02.957793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:14:22.561491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0003.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0000.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0001.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0003.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0000.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0001.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.943191051483154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:14:42.590574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0003.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0000.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0001.jpg', '/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/13/image_08012025_19_13_02_532394_0003.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0000.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0001.jpg
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505651","1327505627","1327505656","1327505640"],"photo_ids_order":["1327505627","1327505640","1327505651","1327505656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3bb7d86718bb56e23e679d50742aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody6035864117753975689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360152943,"filename":"image_08012025_19_14_02_723327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2619935d4e20d71b8685bad6fcd0f94d.jpg","text":"TemporaryFile(/tmp/multipartBody7360717999987593879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360152943,"filename":"image_08012025_19_13_02_532394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaf7da158facaacdbe992358d47a21ad.jpg","text":"TemporaryFile(/tmp/multipartBody8608168324595205448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360152943,"filename":"image_08012025_19_14_02_723327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/034f4563ba1f5bd18ca280124c6fcdac.jpg","text":"TemporaryFile(/tmp/multipartBody1857683554787737974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360152943,"filename":"image_08012025_19_14_02_723327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505651","file1":"1327505640","file0":"1327505627","file3":"1327505656"},"map_files_photo_id_array":[{"photo_id":"1327505651","filename":"file2"},{"photo_id":"1327505640","filename":"file1"},{"photo_id":"1327505627","filename":"file0"},{"photo_id":"1327505656","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505651":["hashtag1","hashtag2"]},{"1327505627":["hashtag1","hashtag2"]},{"1327505656":["hashtag1","hashtag2"]},{"1327505640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505651, 1327505627, 1327505656, 1327505640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36080837249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:15:22.653167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0003.jpg', '/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0000.jpg', '/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0001.jpg', '/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/14/image_08012025_19_14_02_723327_0003.jpg
/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0000.jpg
/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0001.jpg
/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505720","1327505671","1327505679","1327505666"],"photo_ids_order":["1327505666","1327505671","1327505679","1327505720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a53aafc9b7b8233b31012f4fb9f3d12a.jpg","text":"TemporaryFile(/tmp/multipartBody5103744018039584744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360192968,"filename":"image_08012025_19_15_02_911272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7bb7fbe837d8fe4f23cffea2c9af583e.jpg","text":"TemporaryFile(/tmp/multipartBody4518285566912832505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360192968,"filename":"image_08012025_19_15_02_911272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/646372629502665b0de11ef8c5688dae.jpg","text":"TemporaryFile(/tmp/multipartBody5753969386840175737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360192968,"filename":"image_08012025_19_15_02_911272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2551cb2e73f6a146e86e7311dbd8f45.jpg","text":"TemporaryFile(/tmp/multipartBody6100338779756109276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360192968,"filename":"image_08012025_19_14_02_723327_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505679","file1":"1327505671","file0":"1327505666","file3":"1327505720"},"map_files_photo_id_array":[{"photo_id":"1327505679","filename":"file2"},{"photo_id":"1327505671","filename":"file1"},{"photo_id":"1327505666","filename":"file0"},{"photo_id":"1327505720","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505720":["hashtag1","hashtag2"]},{"1327505671":["hashtag1","hashtag2"]},{"1327505679":["hashtag1","hashtag2"]},{"1327505666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505720, 1327505671, 1327505679, 1327505666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01322674751282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:16:21.842023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0003.jpg', '/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0000.jpg', '/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0001.jpg', '/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/15/image_08012025_19_15_02_911272_0003.jpg
/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0000.jpg
/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0001.jpg
/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505752","1327505749","1327505740","1327505745"],"photo_ids_order":["1327505740","1327505745","1327505749","1327505752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ddfd0ae63990c34b3cb25649e1ad7a54.jpg","text":"TemporaryFile(/tmp/multipartBody3573215309766335406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360252244,"filename":"image_08012025_19_16_03_090528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ccbadcb83c151caff451d14d33031958.jpg","text":"TemporaryFile(/tmp/multipartBody5651764009726964981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360252244,"filename":"image_08012025_19_16_03_090528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7752fb23e4513e3d0fb3634cb26a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8096272870526232822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360252244,"filename":"image_08012025_19_15_02_911272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f81c7b736621416a4fc693d09d32c2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8940679950074347428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360252244,"filename":"image_08012025_19_16_03_090528_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505749","file1":"1327505745","file0":"1327505740","file3":"1327505752"},"map_files_photo_id_array":[{"photo_id":"1327505749","filename":"file2"},{"photo_id":"1327505745","filename":"file1"},{"photo_id":"1327505740","filename":"file0"},{"photo_id":"1327505752","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505752":["hashtag1","hashtag2"]},{"1327505749":["hashtag1","hashtag2"]},{"1327505740":["hashtag1","hashtag2"]},{"1327505745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505752, 1327505749, 1327505740, 1327505745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96967363357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:17:22.016479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0003.jpg', '/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0000.jpg', '/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0001.jpg', '/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/16/image_08012025_19_16_03_090528_0003.jpg
/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0000.jpg
/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0001.jpg
/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505776","1327505764","1327505772","1327505769"],"photo_ids_order":["1327505764","1327505769","1327505772","1327505776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a6b2c48bff26904d6a1ebd895bd9469.jpg","text":"TemporaryFile(/tmp/multipartBody573874032217163945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360312458,"filename":"image_08012025_19_17_02_302694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80b6831a757fef366641522b236dddf5.jpg","text":"TemporaryFile(/tmp/multipartBody8887298323033867444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360312458,"filename":"image_08012025_19_16_03_090528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04586f39106bcb6dd1f917e916494d15.jpg","text":"TemporaryFile(/tmp/multipartBody3741301040241989934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360312458,"filename":"image_08012025_19_17_02_302694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a9d54b544a797a538c7848d1f1e154b.jpg","text":"TemporaryFile(/tmp/multipartBody7021302225902794086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360312458,"filename":"image_08012025_19_17_02_302694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505772","file1":"1327505769","file0":"1327505764","file3":"1327505776"},"map_files_photo_id_array":[{"photo_id":"1327505772","filename":"file2"},{"photo_id":"1327505769","filename":"file1"},{"photo_id":"1327505764","filename":"file0"},{"photo_id":"1327505776","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505776":["hashtag1","hashtag2"]},{"1327505764":["hashtag1","hashtag2"]},{"1327505772":["hashtag1","hashtag2"]},{"1327505769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505776, 1327505764, 1327505772, 1327505769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.536622285842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:18:02.591918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:18:22.186194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0003.jpg', '/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0000.jpg', '/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0001.jpg', '/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/17/image_08012025_19_17_02_302694_0003.jpg
/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0000.jpg
/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0001.jpg
/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327505855","1327505851","1327505862","1327505859"],"photo_ids_order":["1327505851","1327505855","1327505859","1327505862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10c169817af35fcbd5d3bed59650ed4f.jpg","text":"TemporaryFile(/tmp/multipartBody709568084902238303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360372558,"filename":"image_08012025_19_18_02_425235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/785ca79b16f44efb28d63e7869bd6fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4720292312850999424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360372558,"filename":"image_08012025_19_17_02_302694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c3532a2dc18380b6112f396a3987137a.jpg","text":"TemporaryFile(/tmp/multipartBody2738921210624969664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360372558,"filename":"image_08012025_19_18_02_425235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffeeb77ccc8751d4cbfefc5c873a4e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6470252208010560310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360372558,"filename":"image_08012025_19_18_02_425235_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327505859","file1":"1327505855","file0":"1327505851","file3":"1327505862"},"map_files_photo_id_array":[{"photo_id":"1327505859","filename":"file2"},{"photo_id":"1327505855","filename":"file1"},{"photo_id":"1327505851","filename":"file0"},{"photo_id":"1327505862","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327505855":["hashtag1","hashtag2"]},{"1327505851":["hashtag1","hashtag2"]},{"1327505862":["hashtag1","hashtag2"]},{"1327505859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327505855, 1327505851, 1327505862, 1327505859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13142681121826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:19:22.342734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0003.jpg', '/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0000.jpg', '/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0001.jpg', '/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/18/image_08012025_19_18_02_425235_0003.jpg
/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0000.jpg
/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0001.jpg
/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506007","1327506004","1327505997","1327506000"],"photo_ids_order":["1327505997","1327506000","1327506004","1327506007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7bbf89915ba2a76fdd0b7aa5538d9f19.jpg","text":"TemporaryFile(/tmp/multipartBody4361312273412615244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360432635,"filename":"image_08012025_19_19_02_522265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2eeadfd4db958fdc46b6335ea263a94.jpg","text":"TemporaryFile(/tmp/multipartBody2161024550680319831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360432635,"filename":"image_08012025_19_19_02_522265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d009bd061e4295c52a4a6134c5e127e2.jpg","text":"TemporaryFile(/tmp/multipartBody5538540550868449351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360432635,"filename":"image_08012025_19_18_02_425235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6ec6f5df5dda5ee186c929d9253958a.jpg","text":"TemporaryFile(/tmp/multipartBody4085500255804736945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360432635,"filename":"image_08012025_19_19_02_522265_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506004","file1":"1327506000","file0":"1327505997","file3":"1327506007"},"map_files_photo_id_array":[{"photo_id":"1327506004","filename":"file2"},{"photo_id":"1327506000","filename":"file1"},{"photo_id":"1327505997","filename":"file0"},{"photo_id":"1327506007","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506007":["hashtag1","hashtag2"]},{"1327506004":["hashtag1","hashtag2"]},{"1327505997":["hashtag1","hashtag2"]},{"1327506000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506007, 1327506004, 1327505997, 1327506000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46774458885193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:20:02.939012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:20:22.530159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0003.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0000.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0001.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0003.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0000.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0001.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.940459728240967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:20:42.528677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0003.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0000.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0001.jpg', '/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/19/image_08012025_19_19_02_522265_0003.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0000.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0001.jpg
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506094","1327506088","1327506097","1327506075"],"photo_ids_order":["1327506075","1327506088","1327506094","1327506097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2159decb3739fdbd1afd5dfa8f7f52a7.jpg","text":"TemporaryFile(/tmp/multipartBody5187251048240624298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360512859,"filename":"image_08012025_19_20_02_697536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80ebaac996572ef01ce8cbca4ad04d05.jpg","text":"TemporaryFile(/tmp/multipartBody6864982775329361540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360512859,"filename":"image_08012025_19_20_02_697536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9a2359b108a7f5587a88655c2243ab3.jpg","text":"TemporaryFile(/tmp/multipartBody8866460670932789703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360512859,"filename":"image_08012025_19_20_02_697536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31ad2ef680a50a8fb3d6c15604c90d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8425352800828322844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360512859,"filename":"image_08012025_19_19_02_522265_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506094","file1":"1327506088","file0":"1327506075","file3":"1327506097"},"map_files_photo_id_array":[{"photo_id":"1327506094","filename":"file2"},{"photo_id":"1327506088","filename":"file1"},{"photo_id":"1327506075","filename":"file0"},{"photo_id":"1327506097","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506094":["hashtag1","hashtag2"]},{"1327506088":["hashtag1","hashtag2"]},{"1327506097":["hashtag1","hashtag2"]},{"1327506075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506094, 1327506088, 1327506097, 1327506075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97820806503296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 19:21:32.710946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0003.jpg', '/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0000.jpg', '/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0001.jpg', '/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/20/image_08012025_19_20_02_697536_0003.jpg
/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0000.jpg
/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0001.jpg
/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506206","1327506166","1327506145","1327506197"],"photo_ids_order":["1327506145","1327506166","1327506197","1327506206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f577072f3d919189cb594f9c8c837c4.jpg","text":"TemporaryFile(/tmp/multipartBody529623734376875155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360563103,"filename":"image_08012025_19_21_02_902813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba4e3fc3c251d6d0b21d57fc9197b334.jpg","text":"TemporaryFile(/tmp/multipartBody7890522211955941034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360563103,"filename":"image_08012025_19_21_02_902813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06510885e910c3eea8d81d90b20a04f0.jpg","text":"TemporaryFile(/tmp/multipartBody8665969397615292360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360563103,"filename":"image_08012025_19_20_02_697536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1698ed341350702810f58dbd3f33dd89.jpg","text":"TemporaryFile(/tmp/multipartBody9172612914823471188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360563103,"filename":"image_08012025_19_21_02_902813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506197","file1":"1327506166","file0":"1327506145","file3":"1327506206"},"map_files_photo_id_array":[{"photo_id":"1327506197","filename":"file2"},{"photo_id":"1327506166","filename":"file1"},{"photo_id":"1327506145","filename":"file0"},{"photo_id":"1327506206","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506206":["hashtag1","hashtag2"]},{"1327506166":["hashtag1","hashtag2"]},{"1327506145":["hashtag1","hashtag2"]},{"1327506197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506206, 1327506166, 1327506145, 1327506197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02758431434631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:22:21.899171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0003.jpg', '/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0000.jpg', '/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0001.jpg', '/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/21/image_08012025_19_21_02_902813_0003.jpg
/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0000.jpg
/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0001.jpg
/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506233","1327506229","1327506236","1327506239"],"photo_ids_order":["1327506229","1327506233","1327506236","1327506239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/558a209565cd34964c0be2c3452c0352.jpg","text":"TemporaryFile(/tmp/multipartBody1218877998270916736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360612232,"filename":"image_08012025_19_22_03_093980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4799350467067e45d2f39bdd5b51b829.jpg","text":"TemporaryFile(/tmp/multipartBody3971018358890753431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360612232,"filename":"image_08012025_19_21_02_902813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/355bbeb84474935520c53ad1ab1b603e.jpg","text":"TemporaryFile(/tmp/multipartBody8895412725213857664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360612232,"filename":"image_08012025_19_22_03_093980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99ce70865c493860833793a3632ffa99.jpg","text":"TemporaryFile(/tmp/multipartBody794664744941859961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360612232,"filename":"image_08012025_19_22_03_093980_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506236","file1":"1327506233","file0":"1327506229","file3":"1327506239"},"map_files_photo_id_array":[{"photo_id":"1327506236","filename":"file2"},{"photo_id":"1327506233","filename":"file1"},{"photo_id":"1327506229","filename":"file0"},{"photo_id":"1327506239","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506233":["hashtag1","hashtag2"]},{"1327506229":["hashtag1","hashtag2"]},{"1327506236":["hashtag1","hashtag2"]},{"1327506239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506233, 1327506229, 1327506236, 1327506239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.391557693481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:23:02.571746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:23:22.106780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0003.jpg', '/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0000.jpg', '/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0001.jpg', '/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/22/image_08012025_19_22_03_093980_0003.jpg
/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0000.jpg
/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0001.jpg
/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506688","1327506682","1327506661","1327506641"],"photo_ids_order":["1327506641","1327506661","1327506682","1327506688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e7081eec4833f746e7703baf8fc78bb.jpg","text":"TemporaryFile(/tmp/multipartBody5027036370572966785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360672405,"filename":"image_08012025_19_23_02_297283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc29948d47f5850c7d30cdcdefe409b3.jpg","text":"TemporaryFile(/tmp/multipartBody1265631375669926140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360672405,"filename":"image_08012025_19_23_02_297283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0b0d24b3f4c47c43cee58af7b882c40.jpg","text":"TemporaryFile(/tmp/multipartBody3951143067138215613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360672405,"filename":"image_08012025_19_23_02_297283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9fe64673862cf037051cbf2060eb757a.jpg","text":"TemporaryFile(/tmp/multipartBody2432176945652004126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360672405,"filename":"image_08012025_19_22_03_093980_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506682","file1":"1327506661","file0":"1327506641","file3":"1327506688"},"map_files_photo_id_array":[{"photo_id":"1327506682","filename":"file2"},{"photo_id":"1327506661","filename":"file1"},{"photo_id":"1327506641","filename":"file0"},{"photo_id":"1327506688","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506688":["hashtag1","hashtag2"]},{"1327506682":["hashtag1","hashtag2"]},{"1327506661":["hashtag1","hashtag2"]},{"1327506641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506688, 1327506682, 1327506661, 1327506641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.154558181762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:24:22.283812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0003.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0000.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0001.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0003.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0000.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0001.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.95496153831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:24:42.277602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0003.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0000.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0001.jpg', '/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/23/image_08012025_19_23_02_297283_0003.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0000.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0001.jpg
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506800","1327506796","1327506792","1327506776"],"photo_ids_order":["1327506776","1327506792","1327506796","1327506800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35f1525c96ad0ac695d23dc80f754183.jpg","text":"TemporaryFile(/tmp/multipartBody2238346962923831907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360752618,"filename":"image_08012025_19_24_02_544038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88d19e8582f94902325d81529e63de54.jpg","text":"TemporaryFile(/tmp/multipartBody6765402158508176892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360752618,"filename":"image_08012025_19_24_02_544038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8f58f61f1db27b860c06d62d2a73e21.jpg","text":"TemporaryFile(/tmp/multipartBody4608837745545977910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360752618,"filename":"image_08012025_19_24_02_544038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7718e49251592e903ec07609ad67567.jpg","text":"TemporaryFile(/tmp/multipartBody1881083345360016943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360752618,"filename":"image_08012025_19_23_02_297283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506796","file1":"1327506792","file0":"1327506776","file3":"1327506800"},"map_files_photo_id_array":[{"photo_id":"1327506796","filename":"file2"},{"photo_id":"1327506792","filename":"file1"},{"photo_id":"1327506776","filename":"file0"},{"photo_id":"1327506800","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506800":["hashtag1","hashtag2"]},{"1327506796":["hashtag1","hashtag2"]},{"1327506792":["hashtag1","hashtag2"]},{"1327506776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506800, 1327506796, 1327506792, 1327506776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05825877189636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 19:25:32.496492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0003.jpg', '/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0001.jpg', '/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0003.jpg
/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0001.jpg
/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.491119146347046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:25:42.561072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0003.jpg', '/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0001.jpg', '/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/24/image_08012025_19_24_02_544038_0003.jpg
/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0001.jpg
/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327506897","1327506885","1327506905"],"photo_ids_order":["1327506885","1327506897","1327506905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2e5ddd66bce3406168c24a5680cd805.jpg","text":"TemporaryFile(/tmp/multipartBody3034254440561149170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360810451,"filename":"image_08012025_19_25_02_612745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fa6a61143a76792dd8a583c5702a79aa.jpg","text":"TemporaryFile(/tmp/multipartBody4745348870230741558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360810451,"filename":"image_08012025_19_24_02_544038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7909f83f9738809d9fe91c3ac749eafd.jpg","text":"TemporaryFile(/tmp/multipartBody8747701454740771312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360810451,"filename":"image_08012025_19_25_02_612745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327506905","file1":"1327506897","file0":"1327506885"},"map_files_photo_id_array":[{"photo_id":"1327506905","filename":"file2"},{"photo_id":"1327506897","filename":"file1"},{"photo_id":"1327506885","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327506897":["hashtag1","hashtag2"]},{"1327506885":["hashtag1","hashtag2"]},{"1327506905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327506897, 1327506885, 1327506905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.950939893722534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:26:22.788120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0003.jpg', '/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0000.jpg', '/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0001.jpg', '/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/25/image_08012025_19_25_02_612745_0003.jpg
/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0000.jpg
/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0001.jpg
/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507114","1327506931","1327507121","1327507099"],"photo_ids_order":["1327506931","1327507099","1327507114","1327507121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50ac0ac990d79c9df164ab9144b8d050.jpg","text":"TemporaryFile(/tmp/multipartBody5162121244389761589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360853162,"filename":"image_08012025_19_26_02_852636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cae2af29970fa4c618ffbd5d2ca0333.jpg","text":"TemporaryFile(/tmp/multipartBody5322544817884535900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360853162,"filename":"image_08012025_19_25_02_612745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7be3d455a4bdcd43e7ea510a6bdbc6d6.jpg","text":"TemporaryFile(/tmp/multipartBody1232131669216282819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360853162,"filename":"image_08012025_19_26_02_852636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0701e5e3c212899269f19f6bef22d984.jpg","text":"TemporaryFile(/tmp/multipartBody7699566276006284640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360853162,"filename":"image_08012025_19_26_02_852636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507114","file1":"1327507099","file0":"1327506931","file3":"1327507121"},"map_files_photo_id_array":[{"photo_id":"1327507114","filename":"file2"},{"photo_id":"1327507099","filename":"file1"},{"photo_id":"1327506931","filename":"file0"},{"photo_id":"1327507121","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507114":["hashtag1","hashtag2"]},{"1327506931":["hashtag1","hashtag2"]},{"1327507121":["hashtag1","hashtag2"]},{"1327507099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507114, 1327506931, 1327507121, 1327507099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 55.47252368927002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:27:21.982401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0003.jpg', '/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0000.jpg', '/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0001.jpg', '/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/26/image_08012025_19_26_02_852636_0003.jpg
/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0000.jpg
/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0001.jpg
/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507180","1327507153","1327507158","1327507143"],"photo_ids_order":["1327507143","1327507153","1327507158","1327507180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb6085018555d96a4cd48e99fd49ddb1.jpg","text":"TemporaryFile(/tmp/multipartBody2745124624149097656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360912343,"filename":"image_08012025_19_27_03_113453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2114285f88d66e8a301d057ab296c25c.jpg","text":"TemporaryFile(/tmp/multipartBody7311704625930553391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360912343,"filename":"image_08012025_19_27_03_113453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/873402bf4f1cb00ef22478fe9aa6a053.jpg","text":"TemporaryFile(/tmp/multipartBody1093485874033721197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360912343,"filename":"image_08012025_19_27_03_113453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b637faaec9c2fdb0af7cd6e0ba6cb264.jpg","text":"TemporaryFile(/tmp/multipartBody7393304484027885033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360912343,"filename":"image_08012025_19_26_02_852636_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507158","file1":"1327507153","file0":"1327507143","file3":"1327507180"},"map_files_photo_id_array":[{"photo_id":"1327507158","filename":"file2"},{"photo_id":"1327507153","filename":"file1"},{"photo_id":"1327507143","filename":"file0"},{"photo_id":"1327507180","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507180":["hashtag1","hashtag2"]},{"1327507153":["hashtag1","hashtag2"]},{"1327507158":["hashtag1","hashtag2"]},{"1327507143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507180, 1327507153, 1327507158, 1327507143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4467670917511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:28:02.439833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:28:22.098596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0003.jpg', '/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0001.jpg', '/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0003.jpg
/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0001.jpg
/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5302817821502686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 19:28:32.118178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0003.jpg', '/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0001.jpg', '/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/27/image_08012025_19_27_03_113453_0003.jpg
/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0001.jpg
/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507354","1327507386","1327507430"],"photo_ids_order":["1327507354","1327507386","1327507430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce9a98b9c81153c10e56156c06a1822a.jpg","text":"TemporaryFile(/tmp/multipartBody2218323005352966447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360980073,"filename":"image_08012025_19_27_03_113453_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faad3fde66f2e49aa13af568d028fcc5.jpg","text":"TemporaryFile(/tmp/multipartBody617775732531061816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360980073,"filename":"image_08012025_19_28_02_311148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a46879be3d5cdcabbb0d92b92ce733de.jpg","text":"TemporaryFile(/tmp/multipartBody5181203204470895484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736360980073,"filename":"image_08012025_19_28_02_311148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507430","file1":"1327507386","file0":"1327507354"},"map_files_photo_id_array":[{"photo_id":"1327507430","filename":"file2"},{"photo_id":"1327507386","filename":"file1"},{"photo_id":"1327507354","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507354":["hashtag1","hashtag2"]},{"1327507386":["hashtag1","hashtag2"]},{"1327507430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507354, 1327507386, 1327507430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.51630449295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:29:22.320405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0003.jpg', '/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0000.jpg', '/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0001.jpg', '/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/28/image_08012025_19_28_02_311148_0003.jpg
/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0000.jpg
/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0001.jpg
/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507483","1327507488","1327507506","1327507495"],"photo_ids_order":["1327507483","1327507488","1327507495","1327507506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22160e99304e6f6943c9014a7cbc160f.jpg","text":"TemporaryFile(/tmp/multipartBody265985977022721190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361032671,"filename":"image_08012025_19_28_02_311148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3ae0468d0f762e73c7f5fd6792a5b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5540985725434815919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361032671,"filename":"image_08012025_19_29_02_450569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76d9e93425569ab75b27f5b40a78549e.jpg","text":"TemporaryFile(/tmp/multipartBody8059383388627189354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361032671,"filename":"image_08012025_19_29_02_450569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28998cedab62b84beb69883fad9cb069.jpg","text":"TemporaryFile(/tmp/multipartBody7269845564054753623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361032671,"filename":"image_08012025_19_29_02_450569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507495","file1":"1327507488","file0":"1327507483","file3":"1327507506"},"map_files_photo_id_array":[{"photo_id":"1327507495","filename":"file2"},{"photo_id":"1327507488","filename":"file1"},{"photo_id":"1327507483","filename":"file0"},{"photo_id":"1327507506","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507483":["hashtag1","hashtag2"]},{"1327507488":["hashtag1","hashtag2"]},{"1327507506":["hashtag1","hashtag2"]},{"1327507495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507483, 1327507488, 1327507506, 1327507495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79889225959778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:30:22.412837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0003.jpg', '/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0000.jpg', '/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0001.jpg', '/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/29/image_08012025_19_29_02_450569_0003.jpg
/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0000.jpg
/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0001.jpg
/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507537","1327507525","1327507528","1327507533"],"photo_ids_order":["1327507525","1327507528","1327507533","1327507537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b43d8b9f5ccead63f00226bcb81dffe6.jpg","text":"TemporaryFile(/tmp/multipartBody6786447289650109290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361092758,"filename":"image_08012025_19_30_02_713377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c40263a012633e7a25e4e7d9c61cf986.jpg","text":"TemporaryFile(/tmp/multipartBody82632910335133184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361092758,"filename":"image_08012025_19_29_02_450569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ff51808d7f4f2c20d9be468b036d947.jpg","text":"TemporaryFile(/tmp/multipartBody5863705588877944380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361092758,"filename":"image_08012025_19_30_02_713377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7c4c33a5225afbc97b6a64e01a65d59.jpg","text":"TemporaryFile(/tmp/multipartBody5974442832226536887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361092758,"filename":"image_08012025_19_30_02_713377_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507533","file1":"1327507528","file0":"1327507525","file3":"1327507537"},"map_files_photo_id_array":[{"photo_id":"1327507533","filename":"file2"},{"photo_id":"1327507528","filename":"file1"},{"photo_id":"1327507525","filename":"file0"},{"photo_id":"1327507537","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507537":["hashtag1","hashtag2"]},{"1327507525":["hashtag1","hashtag2"]},{"1327507528":["hashtag1","hashtag2"]},{"1327507533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507537, 1327507525, 1327507528, 1327507533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.309223651885986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:31:22.623424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0003.jpg', '/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0000.jpg', '/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0001.jpg', '/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/30/image_08012025_19_30_02_713377_0003.jpg
/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0000.jpg
/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0001.jpg
/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507618","1327507647","1327507632","1327507595"],"photo_ids_order":["1327507595","1327507618","1327507632","1327507647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3ca434227764db2cdc2944d7f7650a4.jpg","text":"TemporaryFile(/tmp/multipartBody3337022542584236946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361153056,"filename":"image_08012025_19_31_02_855029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0004579c6814b2fc9e7b40a9524f7173.jpg","text":"TemporaryFile(/tmp/multipartBody5697187454840709669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361153056,"filename":"image_08012025_19_31_02_855029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0d7dd897382bf3bed53cc47f1cfd4a1.jpg","text":"TemporaryFile(/tmp/multipartBody6333353003562118911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361153056,"filename":"image_08012025_19_31_02_855029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84fdfea0a503638ff05f67efcceb5d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5666495949411102565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361153056,"filename":"image_08012025_19_30_02_713377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507632","file1":"1327507618","file0":"1327507595","file3":"1327507647"},"map_files_photo_id_array":[{"photo_id":"1327507632","filename":"file2"},{"photo_id":"1327507618","filename":"file1"},{"photo_id":"1327507595","filename":"file0"},{"photo_id":"1327507647","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507618":["hashtag1","hashtag2"]},{"1327507647":["hashtag1","hashtag2"]},{"1327507632":["hashtag1","hashtag2"]},{"1327507595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507618, 1327507647, 1327507632, 1327507595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53501272201538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:32:21.934058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0003.jpg', '/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0000.jpg', '/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0001.jpg', '/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/31/image_08012025_19_31_02_855029_0003.jpg
/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0000.jpg
/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0001.jpg
/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507701","1327507682","1327507690","1327507687"],"photo_ids_order":["1327507682","1327507687","1327507690","1327507701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebd8ab27fa80f449b9a2458b4e7b5828.jpg","text":"TemporaryFile(/tmp/multipartBody524237878079797132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361212239,"filename":"image_08012025_19_32_02_950559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d22edac0fcd24ded3744d8771885cf99.jpg","text":"TemporaryFile(/tmp/multipartBody6588461219896883332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361212239,"filename":"image_08012025_19_31_02_855029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6c1060aef1e66c838ae65d89c8cbc73.jpg","text":"TemporaryFile(/tmp/multipartBody6015243286812595731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361212239,"filename":"image_08012025_19_32_02_950559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f32da8adbee366907f25ab51a4b089f.jpg","text":"TemporaryFile(/tmp/multipartBody5885838146890523198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361212239,"filename":"image_08012025_19_32_02_950559_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507690","file1":"1327507687","file0":"1327507682","file3":"1327507701"},"map_files_photo_id_array":[{"photo_id":"1327507690","filename":"file2"},{"photo_id":"1327507687","filename":"file1"},{"photo_id":"1327507682","filename":"file0"},{"photo_id":"1327507701","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507701":["hashtag1","hashtag2"]},{"1327507682":["hashtag1","hashtag2"]},{"1327507690":["hashtag1","hashtag2"]},{"1327507687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507701, 1327507682, 1327507690, 1327507687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69724082946777 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-08 19:33:22.163762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0003.jpg', '/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0000.jpg', '/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0001.jpg', '/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/32/image_08012025_19_32_02_950559_0003.jpg
/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0000.jpg
/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0001.jpg
/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507762","1327507750","1327507763","1327507757"],"photo_ids_order":["1327507750","1327507757","1327507762","1327507763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa4dad7f7d5ef47b851bffa7a099f0e7.jpg","text":"TemporaryFile(/tmp/multipartBody9115011822102403743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361272532,"filename":"image_08012025_19_33_02_251836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f20557e01be58b81716dfcc5e38b80f9.jpg","text":"TemporaryFile(/tmp/multipartBody5258035522487397449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361272532,"filename":"image_08012025_19_32_02_950559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/93cecaeb0ce48e948c9e8fb4d9086847.jpg","text":"TemporaryFile(/tmp/multipartBody5387318525359834783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361272532,"filename":"image_08012025_19_33_02_251836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffd66fa620866c2f29c4df4d49d92e00.jpg","text":"TemporaryFile(/tmp/multipartBody5391058332343310179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361272532,"filename":"image_08012025_19_33_02_251836_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507762","file1":"1327507757","file0":"1327507750","file3":"1327507763"},"map_files_photo_id_array":[{"photo_id":"1327507762","filename":"file2"},{"photo_id":"1327507757","filename":"file1"},{"photo_id":"1327507750","filename":"file0"},{"photo_id":"1327507763","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507762":["hashtag1","hashtag2"]},{"1327507750":["hashtag1","hashtag2"]},{"1327507763":["hashtag1","hashtag2"]},{"1327507757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507762, 1327507750, 1327507763, 1327507757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56901454925537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:34:22.399778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0003.jpg', '/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0000.jpg', '/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0001.jpg', '/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/33/image_08012025_19_33_02_251836_0003.jpg
/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0000.jpg
/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0001.jpg
/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507918","1327507902","1327507913","1327507891"],"photo_ids_order":["1327507891","1327507902","1327507913","1327507918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c870c80456ea03ab28b112883f3ae005.jpg","text":"TemporaryFile(/tmp/multipartBody4508949533962533745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361332785,"filename":"image_08012025_19_34_02_440752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/217e0ff40de472d5b50ba159985a2d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3535497073840189563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361332785,"filename":"image_08012025_19_34_02_440752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7acf0709fb8626ba0aa389517c9209ae.jpg","text":"TemporaryFile(/tmp/multipartBody8362901620742288477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361332785,"filename":"image_08012025_19_34_02_440752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1d62d5203242ffa7b446ae4f60fddee.jpg","text":"TemporaryFile(/tmp/multipartBody4504275365863507184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361332785,"filename":"image_08012025_19_33_02_251836_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507913","file1":"1327507902","file0":"1327507891","file3":"1327507918"},"map_files_photo_id_array":[{"photo_id":"1327507913","filename":"file2"},{"photo_id":"1327507902","filename":"file1"},{"photo_id":"1327507891","filename":"file0"},{"photo_id":"1327507918","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507918":["hashtag1","hashtag2"]},{"1327507902":["hashtag1","hashtag2"]},{"1327507913":["hashtag1","hashtag2"]},{"1327507891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507918, 1327507902, 1327507913, 1327507891)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.6536602973938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:35:22.620526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0003.jpg', '/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0000.jpg', '/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0001.jpg', '/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/34/image_08012025_19_34_02_440752_0003.jpg
/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0000.jpg
/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0001.jpg
/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327507969","1327507980","1327507982","1327507973"],"photo_ids_order":["1327507969","1327507973","1327507980","1327507982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/616ad7f5a33e89b50ee107afba107ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1612614271739097816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361393019,"filename":"image_08012025_19_34_02_440752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b8690e93f22405e51d9f7a01c640da7.jpg","text":"TemporaryFile(/tmp/multipartBody1382422824265412031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361393019,"filename":"image_08012025_19_35_02_659114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd0ad844136051fe4be98a0742e3e351.jpg","text":"TemporaryFile(/tmp/multipartBody918884204354311744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361393019,"filename":"image_08012025_19_35_02_659114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e5e9cb3c5ca5d4a9859d57eb006357d.jpg","text":"TemporaryFile(/tmp/multipartBody9069884900304091777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361393019,"filename":"image_08012025_19_35_02_659114_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327507980","file1":"1327507973","file0":"1327507969","file3":"1327507982"},"map_files_photo_id_array":[{"photo_id":"1327507980","filename":"file2"},{"photo_id":"1327507973","filename":"file1"},{"photo_id":"1327507969","filename":"file0"},{"photo_id":"1327507982","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327507969":["hashtag1","hashtag2"]},{"1327507980":["hashtag1","hashtag2"]},{"1327507982":["hashtag1","hashtag2"]},{"1327507973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327507969, 1327507980, 1327507982, 1327507973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.66715145111084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:36:22.753645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0003.jpg', '/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0000.jpg', '/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0001.jpg', '/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/35/image_08012025_19_35_02_659114_0003.jpg
/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0000.jpg
/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0001.jpg
/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508035","1327508043","1327508046","1327508038"],"photo_ids_order":["1327508035","1327508038","1327508043","1327508046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0df6f4ac0dc5e0e6d2b58e27328bc940.jpg","text":"TemporaryFile(/tmp/multipartBody9005649868923754078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361453162,"filename":"image_08012025_19_35_02_659114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7aa93c13d6477317830c0653c41eac2f.jpg","text":"TemporaryFile(/tmp/multipartBody6915355991972764789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361453162,"filename":"image_08012025_19_36_02_907385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c4ada593ba389be83459a9905c0992d.jpg","text":"TemporaryFile(/tmp/multipartBody6646693592289554238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361453162,"filename":"image_08012025_19_36_02_907385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec051722f6a1b85625f85878df4db5cc.jpg","text":"TemporaryFile(/tmp/multipartBody6108341932791970877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361453162,"filename":"image_08012025_19_36_02_907385_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508043","file1":"1327508038","file0":"1327508035","file3":"1327508046"},"map_files_photo_id_array":[{"photo_id":"1327508043","filename":"file2"},{"photo_id":"1327508038","filename":"file1"},{"photo_id":"1327508035","filename":"file0"},{"photo_id":"1327508046","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508035":["hashtag1","hashtag2"]},{"1327508043":["hashtag1","hashtag2"]},{"1327508046":["hashtag1","hashtag2"]},{"1327508038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508035, 1327508043, 1327508046, 1327508038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86661744117737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:37:21.920225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0003.jpg', '/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0000.jpg', '/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0001.jpg', '/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/36/image_08012025_19_36_02_907385_0003.jpg
/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0000.jpg
/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0001.jpg
/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508079","1327508066","1327508060","1327508063"],"photo_ids_order":["1327508060","1327508063","1327508066","1327508079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d09e5c30806e0b2b22b95e34d42c485a.jpg","text":"TemporaryFile(/tmp/multipartBody5737826484294812367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361512315,"filename":"image_08012025_19_37_03_070042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80932d43831dc638fe31cd1ca17a2240.jpg","text":"TemporaryFile(/tmp/multipartBody1393406287887527426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361512315,"filename":"image_08012025_19_37_03_070042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/499f83b513cf654b8a106673bb1967c1.jpg","text":"TemporaryFile(/tmp/multipartBody6939164254589186179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361512315,"filename":"image_08012025_19_36_02_907385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfc9eee5944f9d039b0d3c9f02bfd13c.jpg","text":"TemporaryFile(/tmp/multipartBody4860514099995813416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361512315,"filename":"image_08012025_19_37_03_070042_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508066","file1":"1327508063","file0":"1327508060","file3":"1327508079"},"map_files_photo_id_array":[{"photo_id":"1327508066","filename":"file2"},{"photo_id":"1327508063","filename":"file1"},{"photo_id":"1327508060","filename":"file0"},{"photo_id":"1327508079","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508079":["hashtag1","hashtag2"]},{"1327508066":["hashtag1","hashtag2"]},{"1327508060":["hashtag1","hashtag2"]},{"1327508063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508079, 1327508066, 1327508060, 1327508063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.802605628967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:38:22.054076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0003.jpg', '/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0000.jpg', '/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0001.jpg', '/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/37/image_08012025_19_37_03_070042_0003.jpg
/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0000.jpg
/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0001.jpg
/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508163","1327508141","1327508182","1327508155"],"photo_ids_order":["1327508141","1327508155","1327508163","1327508182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/593a98a1d292b584e33d72955a93417d.jpg","text":"TemporaryFile(/tmp/multipartBody4716124677125655233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361572461,"filename":"image_08012025_19_38_02_205700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/40e1cc6d5b5ac62bc262c1777d086355.jpg","text":"TemporaryFile(/tmp/multipartBody8911671305066352034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361572461,"filename":"image_08012025_19_37_03_070042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0746fb530dc74167990a42d25bf6e6f9.jpg","text":"TemporaryFile(/tmp/multipartBody2744312152878079695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361572461,"filename":"image_08012025_19_38_02_205700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0d27a7ed608e6dc6c70cbabfa0e5bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5229493587508895605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361572461,"filename":"image_08012025_19_38_02_205700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508163","file1":"1327508155","file0":"1327508141","file3":"1327508182"},"map_files_photo_id_array":[{"photo_id":"1327508163","filename":"file2"},{"photo_id":"1327508155","filename":"file1"},{"photo_id":"1327508141","filename":"file0"},{"photo_id":"1327508182","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508163":["hashtag1","hashtag2"]},{"1327508141":["hashtag1","hashtag2"]},{"1327508182":["hashtag1","hashtag2"]},{"1327508155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508163, 1327508141, 1327508182, 1327508155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24362063407898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:39:22.297420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0003.jpg', '/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0000.jpg', '/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0001.jpg', '/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/38/image_08012025_19_38_02_205700_0003.jpg
/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0000.jpg
/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0001.jpg
/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508243","1327508312","1327508281","1327508275"],"photo_ids_order":["1327508243","1327508275","1327508281","1327508312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c456bf137da14a923afbb7c21286eb5.jpg","text":"TemporaryFile(/tmp/multipartBody385101569832686628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361632647,"filename":"image_08012025_19_38_02_205700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f65edfd39d9726afd9cd78a6436ea765.jpg","text":"TemporaryFile(/tmp/multipartBody5953782075129794582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361632647,"filename":"image_08012025_19_39_02_494044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8a6dc36dbd56690e7e3fe2ffdf0a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody4344916837592681752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361632647,"filename":"image_08012025_19_39_02_494044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a7c24220d5f315790c99ac6f488a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4469980917786132508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361632647,"filename":"image_08012025_19_39_02_494044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508281","file1":"1327508275","file0":"1327508243","file3":"1327508312"},"map_files_photo_id_array":[{"photo_id":"1327508281","filename":"file2"},{"photo_id":"1327508275","filename":"file1"},{"photo_id":"1327508243","filename":"file0"},{"photo_id":"1327508312","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508243":["hashtag1","hashtag2"]},{"1327508312":["hashtag1","hashtag2"]},{"1327508281":["hashtag1","hashtag2"]},{"1327508275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508243, 1327508312, 1327508281, 1327508275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08819913864136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:40:02.734618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:40:22.398913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0003.jpg', '/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0000.jpg', '/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0001.jpg', '/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/39/image_08012025_19_39_02_494044_0003.jpg
/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0000.jpg
/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0001.jpg
/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508493","1327508585","1327508464","1327508557"],"photo_ids_order":["1327508464","1327508493","1327508557","1327508585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c0c39a54d0639ac079115ecbd7d341ed.jpg","text":"TemporaryFile(/tmp/multipartBody4138177403978524122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361692871,"filename":"image_08012025_19_40_02_675860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b748d7ab0731f97de5eb1b95a406e00c.jpg","text":"TemporaryFile(/tmp/multipartBody7112141942007364571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361692871,"filename":"image_08012025_19_40_02_675860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/597adaa4bc1ae9964327800266521300.jpg","text":"TemporaryFile(/tmp/multipartBody7320518457474982201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361692871,"filename":"image_08012025_19_39_02_494044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d897ee0082976532519ef5c13399e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody3430824016273771874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361692871,"filename":"image_08012025_19_40_02_675860_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508557","file1":"1327508493","file0":"1327508464","file3":"1327508585"},"map_files_photo_id_array":[{"photo_id":"1327508557","filename":"file2"},{"photo_id":"1327508493","filename":"file1"},{"photo_id":"1327508464","filename":"file0"},{"photo_id":"1327508585","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508493":["hashtag1","hashtag2"]},{"1327508585":["hashtag1","hashtag2"]},{"1327508464":["hashtag1","hashtag2"]},{"1327508557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508493, 1327508585, 1327508464, 1327508557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35491919517517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:41:03.346431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:41:22.603650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0003.jpg', '/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0000.jpg', '/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0001.jpg', '/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/40/image_08012025_19_40_02_675860_0003.jpg
/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0000.jpg
/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0001.jpg
/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508637","1327508639","1327508633","1327508629"],"photo_ids_order":["1327508629","1327508633","1327508637","1327508639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/835773bd845fcd4a199a23e4ff1ec6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7087049628894453325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361752917,"filename":"image_08012025_19_41_02_815861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b29ff9b7f795bb73c3931631af7beffa.jpg","text":"TemporaryFile(/tmp/multipartBody5860840101130553966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361752917,"filename":"image_08012025_19_41_02_815861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b465bc1b7011c9591fe607fd08d0c258.jpg","text":"TemporaryFile(/tmp/multipartBody3335447213297382234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361752917,"filename":"image_08012025_19_41_02_815861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6356b35c2aebdbe0056f0db3f8b15913.jpg","text":"TemporaryFile(/tmp/multipartBody9221947344073499252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361752917,"filename":"image_08012025_19_40_02_675860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508637","file1":"1327508633","file0":"1327508629","file3":"1327508639"},"map_files_photo_id_array":[{"photo_id":"1327508637","filename":"file2"},{"photo_id":"1327508633","filename":"file1"},{"photo_id":"1327508629","filename":"file0"},{"photo_id":"1327508639","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508637":["hashtag1","hashtag2"]},{"1327508639":["hashtag1","hashtag2"]},{"1327508633":["hashtag1","hashtag2"]},{"1327508629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508637, 1327508639, 1327508633, 1327508629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.209025144577026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:42:21.903166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0003.jpg', '/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0000.jpg', '/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0001.jpg', '/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/41/image_08012025_19_41_02_815861_0003.jpg
/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0000.jpg
/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0001.jpg
/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508691","1327508685","1327508699","1327508695"],"photo_ids_order":["1327508685","1327508691","1327508695","1327508699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87b4e488e7b67d808bbac532f8935bea.jpg","text":"TemporaryFile(/tmp/multipartBody8048323343049179432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361812258,"filename":"image_08012025_19_42_02_981466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7442d133f81e0572ecaf1077e98f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1596217748682700890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361812258,"filename":"image_08012025_19_41_02_815861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5bb6668f45b108c3c9997ba3c3f3f049.jpg","text":"TemporaryFile(/tmp/multipartBody1303796408828176211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361812258,"filename":"image_08012025_19_42_02_981466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/421b5b6346a53ebf84396fa179731e30.jpg","text":"TemporaryFile(/tmp/multipartBody1332377495039875936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361812258,"filename":"image_08012025_19_42_02_981466_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508695","file1":"1327508691","file0":"1327508685","file3":"1327508699"},"map_files_photo_id_array":[{"photo_id":"1327508695","filename":"file2"},{"photo_id":"1327508691","filename":"file1"},{"photo_id":"1327508685","filename":"file0"},{"photo_id":"1327508699","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508691":["hashtag1","hashtag2"]},{"1327508685":["hashtag1","hashtag2"]},{"1327508699":["hashtag1","hashtag2"]},{"1327508695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508691, 1327508685, 1327508699, 1327508695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.53365087509155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:43:22.057116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0003.jpg', '/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0000.jpg', '/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0001.jpg', '/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/42/image_08012025_19_42_02_981466_0003.jpg
/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0000.jpg
/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0001.jpg
/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508718","1327508714","1327508723","1327508711"],"photo_ids_order":["1327508711","1327508714","1327508718","1327508723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13f224f3a77ddd5ea0438187411478cc.jpg","text":"TemporaryFile(/tmp/multipartBody570070885072732202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361872359,"filename":"image_08012025_19_43_02_236200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e9325796f01fa49e327e12b35beeb80.jpg","text":"TemporaryFile(/tmp/multipartBody4834430748919908419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361872359,"filename":"image_08012025_19_43_02_236200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbdc194605fbf4dfa60bce5ab5eab911.jpg","text":"TemporaryFile(/tmp/multipartBody5502223670958514072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361872359,"filename":"image_08012025_19_43_02_236200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0ff115ccddcc5eaa87ff70478ad87b9.jpg","text":"TemporaryFile(/tmp/multipartBody3100439288902226857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361872359,"filename":"image_08012025_19_42_02_981466_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508718","file1":"1327508714","file0":"1327508711","file3":"1327508723"},"map_files_photo_id_array":[{"photo_id":"1327508718","filename":"file2"},{"photo_id":"1327508714","filename":"file1"},{"photo_id":"1327508711","filename":"file0"},{"photo_id":"1327508723","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508718":["hashtag1","hashtag2"]},{"1327508714":["hashtag1","hashtag2"]},{"1327508723":["hashtag1","hashtag2"]},{"1327508711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508718, 1327508714, 1327508723, 1327508711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46813654899597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:44:02.670567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:44:22.276518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0003.jpg', '/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0000.jpg', '/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0001.jpg', '/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/43/image_08012025_19_43_02_236200_0003.jpg
/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0000.jpg
/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0001.jpg
/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508856","1327508869","1327508842","1327508851"],"photo_ids_order":["1327508842","1327508851","1327508856","1327508869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8940db6af41924e8e9e6b43ee5e62df.jpg","text":"TemporaryFile(/tmp/multipartBody6362403772579214524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361932657,"filename":"image_08012025_19_44_02_375532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2aa8811407dc9aef10027c1300d2f39.jpg","text":"TemporaryFile(/tmp/multipartBody4648474592756959875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361932657,"filename":"image_08012025_19_44_02_375532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81d53e2f304eedf8f05d09069dc37f02.jpg","text":"TemporaryFile(/tmp/multipartBody4751955206280277676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361932657,"filename":"image_08012025_19_43_02_236200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8a6355e99a9e713951d2d548ada71b3.jpg","text":"TemporaryFile(/tmp/multipartBody978037156302091065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361932657,"filename":"image_08012025_19_44_02_375532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327508856","file1":"1327508851","file0":"1327508842","file3":"1327508869"},"map_files_photo_id_array":[{"photo_id":"1327508856","filename":"file2"},{"photo_id":"1327508851","filename":"file1"},{"photo_id":"1327508842","filename":"file0"},{"photo_id":"1327508869","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508856":["hashtag1","hashtag2"]},{"1327508869":["hashtag1","hashtag2"]},{"1327508842":["hashtag1","hashtag2"]},{"1327508851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508856, 1327508869, 1327508842, 1327508851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.843358516693115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:45:02.956141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:45:22.283308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0003.jpg', '/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0000.jpg', '/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0001.jpg', '/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/44/image_08012025_19_44_02_375532_0003.jpg
/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0000.jpg
/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0001.jpg
/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327508970","1327508967","1327509013","1327509001"],"photo_ids_order":["1327508967","1327508970","1327509001","1327509013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5203709bbf1c8d94c0abdb8f4df0cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody8273343885020440928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361992520,"filename":"image_08012025_19_45_02_625402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7b60087e9e70412a929df5d06b49237.jpg","text":"TemporaryFile(/tmp/multipartBody6280440283846438479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361992520,"filename":"image_08012025_19_44_02_375532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f31a70a7e2a9efd7d98b3c7b4ff8e03d.jpg","text":"TemporaryFile(/tmp/multipartBody3212663054112578294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361992520,"filename":"image_08012025_19_45_02_625402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a45042472aac8a2e6b76fccabe8af98f.jpg","text":"TemporaryFile(/tmp/multipartBody770529038098193495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736361992520,"filename":"image_08012025_19_45_02_625402_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509001","file1":"1327508970","file0":"1327508967","file3":"1327509013"},"map_files_photo_id_array":[{"photo_id":"1327509001","filename":"file2"},{"photo_id":"1327508970","filename":"file1"},{"photo_id":"1327508967","filename":"file0"},{"photo_id":"1327509013","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327508970":["hashtag1","hashtag2"]},{"1327508967":["hashtag1","hashtag2"]},{"1327509013":["hashtag1","hashtag2"]},{"1327509001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327508970, 1327508967, 1327509013, 1327509001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.61035466194153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:46:02.894683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:46:22.531504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0003.jpg', '/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0000.jpg', '/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0001.jpg', '/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/45/image_08012025_19_45_02_625402_0003.jpg
/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0000.jpg
/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0001.jpg
/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509192","1327509176","1327509146","1327509121"],"photo_ids_order":["1327509121","1327509146","1327509176","1327509192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/826711c4b1947710cfc839ced1a56ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8179215008177425168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362052987,"filename":"image_08012025_19_46_02_719220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/219a10b3b29e45d365db96c0c909125c.jpg","text":"TemporaryFile(/tmp/multipartBody5565004949686638776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362052987,"filename":"image_08012025_19_46_02_719220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad88a0e0802b6898522dc7aabcabc540.jpg","text":"TemporaryFile(/tmp/multipartBody2073639495409523025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362052987,"filename":"image_08012025_19_46_02_719220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/636a3fa9156b96f0bbd682c2aeb814bd.jpg","text":"TemporaryFile(/tmp/multipartBody7034748353539116996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362052987,"filename":"image_08012025_19_45_02_625402_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509176","file1":"1327509146","file0":"1327509121","file3":"1327509192"},"map_files_photo_id_array":[{"photo_id":"1327509176","filename":"file2"},{"photo_id":"1327509146","filename":"file1"},{"photo_id":"1327509121","filename":"file0"},{"photo_id":"1327509192","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509192":["hashtag1","hashtag2"]},{"1327509176":["hashtag1","hashtag2"]},{"1327509146":["hashtag1","hashtag2"]},{"1327509121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509192, 1327509176, 1327509146, 1327509121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75494837760925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:47:22.767893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0003.jpg', '/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0000.jpg', '/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0001.jpg', '/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/46/image_08012025_19_46_02_719220_0003.jpg
/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0000.jpg
/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0001.jpg
/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509218","1327509221","1327509229","1327509226"],"photo_ids_order":["1327509218","1327509221","1327509226","1327509229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14ec751623dc59fbbf48a56e318e1046.jpg","text":"TemporaryFile(/tmp/multipartBody6609345538663121853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362113042,"filename":"image_08012025_19_46_02_719220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/943a447512217b90e3c172b2790761fb.jpg","text":"TemporaryFile(/tmp/multipartBody2152516197086065150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362113042,"filename":"image_08012025_19_47_02_874799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1212db1331e6abe14535c7ea57696c43.jpg","text":"TemporaryFile(/tmp/multipartBody5860167908722727145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362113042,"filename":"image_08012025_19_47_02_874799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffe978239f0fc2572c4c39b4bf4e44a4.jpg","text":"TemporaryFile(/tmp/multipartBody3354359207664800581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362113042,"filename":"image_08012025_19_47_02_874799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509226","file1":"1327509221","file0":"1327509218","file3":"1327509229"},"map_files_photo_id_array":[{"photo_id":"1327509226","filename":"file2"},{"photo_id":"1327509221","filename":"file1"},{"photo_id":"1327509218","filename":"file0"},{"photo_id":"1327509229","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509218":["hashtag1","hashtag2"]},{"1327509221":["hashtag1","hashtag2"]},{"1327509229":["hashtag1","hashtag2"]},{"1327509226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509218, 1327509221, 1327509229, 1327509226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.646098136901855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:48:21.886406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0003.jpg', '/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0000.jpg', '/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0001.jpg', '/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/47/image_08012025_19_47_02_874799_0003.jpg
/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0000.jpg
/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0001.jpg
/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509243","1327509252","1327509246","1327509239"],"photo_ids_order":["1327509239","1327509243","1327509246","1327509252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/569f2d18a879635c656ec466059aa8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7020902846500528964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362172147,"filename":"image_08012025_19_48_03_038521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/761505658d57790ee0569ca95eef9389.jpg","text":"TemporaryFile(/tmp/multipartBody8505697388955536382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362172147,"filename":"image_08012025_19_48_03_038521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8644a6b8ddacb02dee4e201adc8f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody7200874054819164934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362172147,"filename":"image_08012025_19_48_03_038521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f9f810b4a2915c0430df215b89cff86.jpg","text":"TemporaryFile(/tmp/multipartBody6389323350327329236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362172147,"filename":"image_08012025_19_47_02_874799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509246","file1":"1327509243","file0":"1327509239","file3":"1327509252"},"map_files_photo_id_array":[{"photo_id":"1327509246","filename":"file2"},{"photo_id":"1327509243","filename":"file1"},{"photo_id":"1327509239","filename":"file0"},{"photo_id":"1327509252","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509243":["hashtag1","hashtag2"]},{"1327509252":["hashtag1","hashtag2"]},{"1327509246":["hashtag1","hashtag2"]},{"1327509239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509243, 1327509252, 1327509246, 1327509239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22889733314514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:49:02.573603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:49:22.098263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0003.jpg', '/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_0000.jpg', '/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/48/image_08012025_19_48_03_038521_0003.jpg
/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_0000.jpg
/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_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":["1327509351","1327509289","1327509343"],"photo_ids_order":["1327509289","1327509343","1327509351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb798e0f1f1b234b9b1edced56da1723.jpg","text":"TemporaryFile(/tmp/multipartBody3854882548637568710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362229993,"filename":"image_08012025_19_49_02_224240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dd394434ac682fb1a4ecfa9a06b7b067.jpg","text":"TemporaryFile(/tmp/multipartBody8386987577961690725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362229993,"filename":"image_08012025_19_48_03_038521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9859095aee60071886fb5512704f8b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8973983911640399859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362229993,"filename":"image_08012025_19_49_02_224240_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509351","file1":"1327509343","file0":"1327509289"},"map_files_photo_id_array":[{"photo_id":"1327509351","filename":"file2"},{"photo_id":"1327509343","filename":"file1"},{"photo_id":"1327509289","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509351":["hashtag1","hashtag2"]},{"1327509289":["hashtag1","hashtag2"]},{"1327509343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509351, 1327509289, 1327509343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 45.3757746219635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:50:22.320158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_0002.jpg', '/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0001.jpg', '/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/49/image_08012025_19_49_02_224240_0002.jpg
/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0001.jpg
/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509398","1327509424","1327509406"],"photo_ids_order":["1327509398","1327509406","1327509424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0445857be3e96fded8cd8fea13e31dad.jpg","text":"TemporaryFile(/tmp/multipartBody7714006053076682395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362290269,"filename":"image_08012025_19_49_02_224240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/000ea115fffd51977be36d201a7f9483.jpg","text":"TemporaryFile(/tmp/multipartBody2660783059306170459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362290269,"filename":"image_08012025_19_50_02_520371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52fdba4d2b913610074dc82cc79a6b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5370355125251378747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362290269,"filename":"image_08012025_19_50_02_520371_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509424","file1":"1327509406","file0":"1327509398"},"map_files_photo_id_array":[{"photo_id":"1327509424","filename":"file2"},{"photo_id":"1327509406","filename":"file1"},{"photo_id":"1327509398","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509398":["hashtag1","hashtag2"]},{"1327509424":["hashtag1","hashtag2"]},{"1327509406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509398, 1327509424, 1327509406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.244736909866333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:51:03.244815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:51:22.562972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0003.jpg', '/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0000.jpg', '/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0001.jpg', '/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/50/image_08012025_19_50_02_520371_0003.jpg
/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0000.jpg
/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0001.jpg
/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509515","1327509518","1327509520","1327509523"],"photo_ids_order":["1327509515","1327509518","1327509520","1327509523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b64d99c376eaec8e757d7f20fef52158.jpg","text":"TemporaryFile(/tmp/multipartBody393930591672650287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362352921,"filename":"image_08012025_19_50_02_520371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98131b33daffc80890d406b957a4728e.jpg","text":"TemporaryFile(/tmp/multipartBody2605736285817032486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362352921,"filename":"image_08012025_19_51_02_652375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e973c0f4fa47c9d9feffa637f0d8eb00.jpg","text":"TemporaryFile(/tmp/multipartBody2369311702689155710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362352921,"filename":"image_08012025_19_51_02_652375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0e7c8c1d509f577f2655a79d342c78a.jpg","text":"TemporaryFile(/tmp/multipartBody8410953622779969704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362352921,"filename":"image_08012025_19_51_02_652375_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509520","file1":"1327509518","file0":"1327509515","file3":"1327509523"},"map_files_photo_id_array":[{"photo_id":"1327509520","filename":"file2"},{"photo_id":"1327509518","filename":"file1"},{"photo_id":"1327509515","filename":"file0"},{"photo_id":"1327509523","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509515":["hashtag1","hashtag2"]},{"1327509518":["hashtag1","hashtag2"]},{"1327509520":["hashtag1","hashtag2"]},{"1327509523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509515, 1327509518, 1327509520, 1327509523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.79270792007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:52:03.066178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:52:22.681400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0003.jpg', '/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0000.jpg', '/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0001.jpg', '/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/51/image_08012025_19_51_02_652375_0003.jpg
/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0000.jpg
/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0001.jpg
/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509576","1327509570","1327509573","1327509567"],"photo_ids_order":["1327509567","1327509570","1327509573","1327509576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e25c3fe394e994318944e8d19d9dcb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5037514057487289262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362413013,"filename":"image_08012025_19_52_02_826819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5638009dbe530f1eb948bc461deb0d32.jpg","text":"TemporaryFile(/tmp/multipartBody4015948512403662862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362413013,"filename":"image_08012025_19_52_02_826819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/013ff7a6487ecd947e367e1e7f337ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3783507243111795502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362413013,"filename":"image_08012025_19_52_02_826819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/039a715201002358a81a23b4a02c32a8.jpg","text":"TemporaryFile(/tmp/multipartBody1811102654203863878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362413013,"filename":"image_08012025_19_51_02_652375_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509573","file1":"1327509570","file0":"1327509567","file3":"1327509576"},"map_files_photo_id_array":[{"photo_id":"1327509573","filename":"file2"},{"photo_id":"1327509570","filename":"file1"},{"photo_id":"1327509567","filename":"file0"},{"photo_id":"1327509576","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509576":["hashtag1","hashtag2"]},{"1327509570":["hashtag1","hashtag2"]},{"1327509573":["hashtag1","hashtag2"]},{"1327509567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509576, 1327509570, 1327509573, 1327509567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55183672904968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:53:21.852683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0003.jpg', '/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0000.jpg', '/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0001.jpg', '/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/52/image_08012025_19_52_02_826819_0003.jpg
/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0000.jpg
/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0001.jpg
/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509639","1327509632","1327509635","1327509640"],"photo_ids_order":["1327509632","1327509635","1327509639","1327509640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef73bd1264f965fc80ed9423cfd940f3.jpg","text":"TemporaryFile(/tmp/multipartBody4435289144056256313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362472163,"filename":"image_08012025_19_53_03_019336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f999500864e70dae955fbe17003b74c4.jpg","text":"TemporaryFile(/tmp/multipartBody2004144541189957327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362472163,"filename":"image_08012025_19_52_02_826819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcbc4a591d5a4ba3662e9929170ca3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6365224047151931612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362472163,"filename":"image_08012025_19_53_03_019336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28a2570604ef5cc01fc346d88a37871c.jpg","text":"TemporaryFile(/tmp/multipartBody5637027848193119222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362472163,"filename":"image_08012025_19_53_03_019336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509639","file1":"1327509635","file0":"1327509632","file3":"1327509640"},"map_files_photo_id_array":[{"photo_id":"1327509639","filename":"file2"},{"photo_id":"1327509635","filename":"file1"},{"photo_id":"1327509632","filename":"file0"},{"photo_id":"1327509640","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509639":["hashtag1","hashtag2"]},{"1327509632":["hashtag1","hashtag2"]},{"1327509635":["hashtag1","hashtag2"]},{"1327509640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509639, 1327509632, 1327509635, 1327509640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55384421348572 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-08 19:54:22.005663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0003.jpg', '/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0000.jpg', '/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0001.jpg', '/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/53/image_08012025_19_53_03_019336_0003.jpg
/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0000.jpg
/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0001.jpg
/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509660","1327509648","1327509657","1327509653"],"photo_ids_order":["1327509648","1327509653","1327509657","1327509660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ed148157c7ba7386edba1fccdb6bb38.jpg","text":"TemporaryFile(/tmp/multipartBody6041458584007640436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362532443,"filename":"image_08012025_19_54_02_195415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2534703d4de806020534f591de8b08ed.jpg","text":"TemporaryFile(/tmp/multipartBody1328737415835177484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362532443,"filename":"image_08012025_19_53_03_019336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/340f7ac5bc0cebbe9703adeb6c413c76.jpg","text":"TemporaryFile(/tmp/multipartBody1321132878580697250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362532443,"filename":"image_08012025_19_54_02_195415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f562d2a7c90784c23ac666f989fe86e.jpg","text":"TemporaryFile(/tmp/multipartBody2715577172246997594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362532443,"filename":"image_08012025_19_54_02_195415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509657","file1":"1327509653","file0":"1327509648","file3":"1327509660"},"map_files_photo_id_array":[{"photo_id":"1327509657","filename":"file2"},{"photo_id":"1327509653","filename":"file1"},{"photo_id":"1327509648","filename":"file0"},{"photo_id":"1327509660","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509660":["hashtag1","hashtag2"]},{"1327509648":["hashtag1","hashtag2"]},{"1327509657":["hashtag1","hashtag2"]},{"1327509653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509660, 1327509648, 1327509657, 1327509653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.350576400756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:55:02.716125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:55:22.180569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0003.jpg', '/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0000.jpg', '/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0001.jpg', '/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/54/image_08012025_19_54_02_195415_0003.jpg
/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0000.jpg
/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0001.jpg
/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509705","1327509686","1327509700","1327509690"],"photo_ids_order":["1327509686","1327509690","1327509700","1327509705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b288cac9f35c25aacab8a14619d0bef.jpg","text":"TemporaryFile(/tmp/multipartBody313943839597424969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362592564,"filename":"image_08012025_19_55_02_421214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0de157a39f8b6c8c7774c4e057a47587.jpg","text":"TemporaryFile(/tmp/multipartBody9018264359917808361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362592564,"filename":"image_08012025_19_54_02_195415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c7d12fbc0d50bcee50fcd14334930a6.jpg","text":"TemporaryFile(/tmp/multipartBody1815154765807999663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362592564,"filename":"image_08012025_19_55_02_421214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8db0984780b615a24133aa953f7fe7db.jpg","text":"TemporaryFile(/tmp/multipartBody6081635620325855727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362592564,"filename":"image_08012025_19_55_02_421214_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509700","file1":"1327509690","file0":"1327509686","file3":"1327509705"},"map_files_photo_id_array":[{"photo_id":"1327509700","filename":"file2"},{"photo_id":"1327509690","filename":"file1"},{"photo_id":"1327509686","filename":"file0"},{"photo_id":"1327509705","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509705":["hashtag1","hashtag2"]},{"1327509686":["hashtag1","hashtag2"]},{"1327509700":["hashtag1","hashtag2"]},{"1327509690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509705, 1327509686, 1327509700, 1327509690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.384604692459106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:56:02.774356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:56:22.415680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0003.jpg', '/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0000.jpg', '/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0001.jpg', '/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/55/image_08012025_19_55_02_421214_0003.jpg
/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0000.jpg
/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0001.jpg
/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327509755","1327509760","1327509739","1327509733"],"photo_ids_order":["1327509733","1327509739","1327509755","1327509760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e39f777b49046ac48632540693ed4778.jpg","text":"TemporaryFile(/tmp/multipartBody4056196312270717972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362652800,"filename":"image_08012025_19_56_02_579346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8c2429c70ff6b0d1088dba84486e668.jpg","text":"TemporaryFile(/tmp/multipartBody7225821341459329377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362652800,"filename":"image_08012025_19_56_02_579346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/672971069b4d0e7539d7f17e1a2cebf2.jpg","text":"TemporaryFile(/tmp/multipartBody4763795351667860787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362652800,"filename":"image_08012025_19_56_02_579346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3de138598ad6861907626dd10435ddea.jpg","text":"TemporaryFile(/tmp/multipartBody8740913485259840038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362652800,"filename":"image_08012025_19_55_02_421214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509755","file1":"1327509739","file0":"1327509733","file3":"1327509760"},"map_files_photo_id_array":[{"photo_id":"1327509755","filename":"file2"},{"photo_id":"1327509739","filename":"file1"},{"photo_id":"1327509733","filename":"file0"},{"photo_id":"1327509760","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509755":["hashtag1","hashtag2"]},{"1327509760":["hashtag1","hashtag2"]},{"1327509739":["hashtag1","hashtag2"]},{"1327509733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509755, 1327509760, 1327509739, 1327509733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43214750289917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:57:03.249282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 19:57:22.599552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0003.jpg', '/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_0000.jpg', '/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/56/image_08012025_19_56_02_579346_0003.jpg
/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_0000.jpg
/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_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":["1327509888","1327509895","1327509904"],"photo_ids_order":["1327509888","1327509895","1327509904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a362c2f31b0bb251be7ac9060fd2776.jpg","text":"TemporaryFile(/tmp/multipartBody9132626491765146853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362710630,"filename":"image_08012025_19_56_02_579346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d136e9769665c0ad7b4167c0a8684ae.jpg","text":"TemporaryFile(/tmp/multipartBody6573477378258253825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362710630,"filename":"image_08012025_19_57_02_752995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00d8885d42cc5d911bf7f3ac8ee7ced6.jpg","text":"TemporaryFile(/tmp/multipartBody2837948375390586127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362710630,"filename":"image_08012025_19_57_02_752995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327509904","file1":"1327509895","file0":"1327509888"},"map_files_photo_id_array":[{"photo_id":"1327509904","filename":"file2"},{"photo_id":"1327509895","filename":"file1"},{"photo_id":"1327509888","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327509888":["hashtag1","hashtag2"]},{"1327509895":["hashtag1","hashtag2"]},{"1327509904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327509888, 1327509895, 1327509904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.862958669662476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 19:59:02.541739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_0002.jpg', '/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0000.jpg', '/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0001.jpg', '/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/57/image_08012025_19_57_02_752995_0002.jpg
/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0000.jpg
/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0001.jpg
/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327510105","1327510080","1327510155","1327510112"],"photo_ids_order":["1327510080","1327510105","1327510112","1327510155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/072546496fcf5bd6bb0ca34e26278ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1100949672170605888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362812946,"filename":"image_08012025_19_58_02_934364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c593c8e80f4c845e089b4684f75c419.jpg","text":"TemporaryFile(/tmp/multipartBody7467267368411777660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362812946,"filename":"image_08012025_19_57_02_752995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1828f52d248fdba07725cd0d317f984.jpg","text":"TemporaryFile(/tmp/multipartBody8175075720354056102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362812946,"filename":"image_08012025_19_58_02_934364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f085a1ac5f13d184de3651f4a498bc95.jpg","text":"TemporaryFile(/tmp/multipartBody4530767444523806918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362812946,"filename":"image_08012025_19_58_02_934364_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327510112","file1":"1327510105","file0":"1327510080","file3":"1327510155"},"map_files_photo_id_array":[{"photo_id":"1327510112","filename":"file2"},{"photo_id":"1327510105","filename":"file1"},{"photo_id":"1327510080","filename":"file0"},{"photo_id":"1327510155","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327510105":["hashtag1","hashtag2"]},{"1327510080":["hashtag1","hashtag2"]},{"1327510155":["hashtag1","hashtag2"]},{"1327510112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327510105, 1327510080, 1327510155, 1327510112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40829253196716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 19:59:41.997141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0003.jpg', '/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0000.jpg', '/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0001.jpg', '/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/58/image_08012025_19_58_02_934364_0003.jpg
/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0000.jpg
/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0001.jpg
/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327510172","1327510175","1327510180","1327510168"],"photo_ids_order":["1327510168","1327510172","1327510175","1327510180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e29cb4f13979ba15d775634bc639d5c4.jpg","text":"TemporaryFile(/tmp/multipartBody8892244535378561054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362852391,"filename":"image_08012025_19_59_03_192871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee918d41a78295df2d14b5d18c9d24ef.jpg","text":"TemporaryFile(/tmp/multipartBody4981709141993363408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362852391,"filename":"image_08012025_19_59_03_192871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80ff25b38d92c0302c756d8e575e79aa.jpg","text":"TemporaryFile(/tmp/multipartBody704335160763858806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362852391,"filename":"image_08012025_19_59_03_192871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af164d4761d9aa0a0b967de5ca7a57e9.jpg","text":"TemporaryFile(/tmp/multipartBody1874756043958965181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362852391,"filename":"image_08012025_19_58_02_934364_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327510175","file1":"1327510172","file0":"1327510168","file3":"1327510180"},"map_files_photo_id_array":[{"photo_id":"1327510175","filename":"file2"},{"photo_id":"1327510172","filename":"file1"},{"photo_id":"1327510168","filename":"file0"},{"photo_id":"1327510180","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327510172":["hashtag1","hashtag2"]},{"1327510175":["hashtag1","hashtag2"]},{"1327510180":["hashtag1","hashtag2"]},{"1327510168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327510172, 1327510175, 1327510180, 1327510168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9053909778595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:00:22.218474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0003.jpg', '/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0000.jpg', '/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0001.jpg', '/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/19/59/image_08012025_19_59_03_192871_0003.jpg
/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0000.jpg
/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0001.jpg
/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327510191","1327510402","1327510199","1327510195"],"photo_ids_order":["1327510191","1327510195","1327510199","1327510402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/358496301e2c060515103599ac20da41.jpg","text":"TemporaryFile(/tmp/multipartBody7840733688652023428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362892608,"filename":"image_08012025_19_59_03_192871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/16ec3c2b35c5e954bf87127896bd993d.jpg","text":"TemporaryFile(/tmp/multipartBody3889340112413047158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362892608,"filename":"image_08012025_20_00_02_347782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f07039173f73321f017af2127f8176a.jpg","text":"TemporaryFile(/tmp/multipartBody5605868617645619107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362892608,"filename":"image_08012025_20_00_02_347782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3055f46a482b7e3e67049574e0a23cc.jpg","text":"TemporaryFile(/tmp/multipartBody4457633249447138591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362892608,"filename":"image_08012025_20_00_02_347782_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327510199","file1":"1327510195","file0":"1327510191","file3":"1327510402"},"map_files_photo_id_array":[{"photo_id":"1327510199","filename":"file2"},{"photo_id":"1327510195","filename":"file1"},{"photo_id":"1327510191","filename":"file0"},{"photo_id":"1327510402","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327510191":["hashtag1","hashtag2"]},{"1327510402":["hashtag1","hashtag2"]},{"1327510199":["hashtag1","hashtag2"]},{"1327510195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327510191, 1327510402, 1327510199, 1327510195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4548454284668 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-08 20:01:22.316397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0003.jpg', '/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0000.jpg', '/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0001.jpg', '/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/00/image_08012025_20_00_02_347782_0003.jpg
/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0000.jpg
/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0001.jpg
/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327510670","1327510667","1327510864","1327510663"],"photo_ids_order":["1327510663","1327510667","1327510670","1327510864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7279e4bdd7bbd9069bade8d081e0a21e.jpg","text":"TemporaryFile(/tmp/multipartBody3423496108896577709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362952755,"filename":"image_08012025_20_01_02_586637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96ebaa6067e378953bbe3c467e3d25ec.jpg","text":"TemporaryFile(/tmp/multipartBody154110024423610161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362952755,"filename":"image_08012025_20_01_02_586637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a1437132a23b3984e5f549d9ef402ac.jpg","text":"TemporaryFile(/tmp/multipartBody226935136676786687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362952755,"filename":"image_08012025_20_01_02_586637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b704fb2ab20ac4a688c61bc623f04deb.jpg","text":"TemporaryFile(/tmp/multipartBody6987798893648576234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736362952755,"filename":"image_08012025_20_00_02_347782_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327510670","file1":"1327510667","file0":"1327510663","file3":"1327510864"},"map_files_photo_id_array":[{"photo_id":"1327510670","filename":"file2"},{"photo_id":"1327510667","filename":"file1"},{"photo_id":"1327510663","filename":"file0"},{"photo_id":"1327510864","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327510670":["hashtag1","hashtag2"]},{"1327510667":["hashtag1","hashtag2"]},{"1327510864":["hashtag1","hashtag2"]},{"1327510663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327510670, 1327510667, 1327510864, 1327510663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79044580459595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:02:02.868359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:02:22.505326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0003.jpg', '/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0000.jpg', '/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0001.jpg', '/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/01/image_08012025_20_01_02_586637_0003.jpg
/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0000.jpg
/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0001.jpg
/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327512170","1327512167","1327512134","1327512165"],"photo_ids_order":["1327512134","1327512165","1327512167","1327512170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c5d2d2fcf42763be729f05f1a51335a.jpg","text":"TemporaryFile(/tmp/multipartBody4578353133572769630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363013028,"filename":"image_08012025_20_02_02_765413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e45997f5171703853b3caa8dff26aa19.jpg","text":"TemporaryFile(/tmp/multipartBody3332104449911329478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363013028,"filename":"image_08012025_20_02_02_765413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f31b9bf371c0bc3a71fb7e28d9534a7.jpg","text":"TemporaryFile(/tmp/multipartBody8198355639677736087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363013028,"filename":"image_08012025_20_01_02_586637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba25b1c5e3cb3762a2e42ecc03dcf753.jpg","text":"TemporaryFile(/tmp/multipartBody4237485171562984543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363013028,"filename":"image_08012025_20_02_02_765413_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327512167","file1":"1327512165","file0":"1327512134","file3":"1327512170"},"map_files_photo_id_array":[{"photo_id":"1327512167","filename":"file2"},{"photo_id":"1327512165","filename":"file1"},{"photo_id":"1327512134","filename":"file0"},{"photo_id":"1327512170","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327512170":["hashtag1","hashtag2"]},{"1327512167":["hashtag1","hashtag2"]},{"1327512134":["hashtag1","hashtag2"]},{"1327512165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327512170, 1327512167, 1327512134, 1327512165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34999489784241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:03:03.442770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:03:22.751449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0003.jpg', '/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0000.jpg', '/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0001.jpg', '/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/02/image_08012025_20_02_02_765413_0003.jpg
/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0000.jpg
/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0001.jpg
/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327512659","1327512661","1327512663","1327512657"],"photo_ids_order":["1327512657","1327512659","1327512661","1327512663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72e1f6300ee2ee3fa39a61151383fbfb.jpg","text":"TemporaryFile(/tmp/multipartBody3423174377702909673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363073128,"filename":"image_08012025_20_03_02_817623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec733e773d64dffce899d5a2d0a6be65.jpg","text":"TemporaryFile(/tmp/multipartBody8653113106923957493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363073128,"filename":"image_08012025_20_03_02_817623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d7ed746889e9b6f94d8dd94df9c66af2.jpg","text":"TemporaryFile(/tmp/multipartBody6353322760536654726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363073128,"filename":"image_08012025_20_03_02_817623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cea820c86234a45425485f83e3356a52.jpg","text":"TemporaryFile(/tmp/multipartBody4799874090156845555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363073128,"filename":"image_08012025_20_02_02_765413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327512661","file1":"1327512659","file0":"1327512657","file3":"1327512663"},"map_files_photo_id_array":[{"photo_id":"1327512661","filename":"file2"},{"photo_id":"1327512659","filename":"file1"},{"photo_id":"1327512657","filename":"file0"},{"photo_id":"1327512663","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327512659":["hashtag1","hashtag2"]},{"1327512661":["hashtag1","hashtag2"]},{"1327512663":["hashtag1","hashtag2"]},{"1327512657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327512659, 1327512661, 1327512663, 1327512657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48725652694702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:04:02.395208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:04:21.934038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0003.jpg', '/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0000.jpg', '/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0001.jpg', '/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/03/image_08012025_20_03_02_817623_0003.jpg
/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0000.jpg
/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0001.jpg
/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327512746","1327512886","1327512847","1327512975"],"photo_ids_order":["1327512746","1327512847","1327512886","1327512975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38f23c97498cf42bd5c7bd70a370ca19.jpg","text":"TemporaryFile(/tmp/multipartBody2198539048130042177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363132469,"filename":"image_08012025_20_03_02_817623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f86ed87ff26cbff60240232f9a601450.jpg","text":"TemporaryFile(/tmp/multipartBody1285017903647008564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363132469,"filename":"image_08012025_20_04_03_009816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebd21d66a21746ec2260da00b63dcd43.jpg","text":"TemporaryFile(/tmp/multipartBody9000106716375231797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363132469,"filename":"image_08012025_20_04_03_009816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e96788c586db8c5703fcec616945b6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8071373623408737042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363132469,"filename":"image_08012025_20_04_03_009816_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327512886","file1":"1327512847","file0":"1327512746","file3":"1327512975"},"map_files_photo_id_array":[{"photo_id":"1327512886","filename":"file2"},{"photo_id":"1327512847","filename":"file1"},{"photo_id":"1327512746","filename":"file0"},{"photo_id":"1327512975","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327512746":["hashtag1","hashtag2"]},{"1327512886":["hashtag1","hashtag2"]},{"1327512847":["hashtag1","hashtag2"]},{"1327512975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327512746, 1327512886, 1327512847, 1327512975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.865482568740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:05:02.585142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:05:22.066872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0003.jpg', '/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0000.jpg', '/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0001.jpg', '/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/04/image_08012025_20_04_03_009816_0003.jpg
/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0000.jpg
/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0001.jpg
/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327513555","1327513560","1327513562","1327513499"],"photo_ids_order":["1327513499","1327513555","1327513560","1327513562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa104e831971ba1b889539deb7b2e30d.jpg","text":"TemporaryFile(/tmp/multipartBody5117804284629837774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363192374,"filename":"image_08012025_20_05_02_317400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e807e37500f674eb0c05ce2819ba296.jpg","text":"TemporaryFile(/tmp/multipartBody3366222644353479653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363192374,"filename":"image_08012025_20_05_02_317400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9aa4101e32fb612e6dd3661e7f89fef8.jpg","text":"TemporaryFile(/tmp/multipartBody2404431201570487310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363192374,"filename":"image_08012025_20_05_02_317400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08cf5fa77b83dd9160f63b162d95ef95.jpg","text":"TemporaryFile(/tmp/multipartBody1016611183728164067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363192374,"filename":"image_08012025_20_04_03_009816_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327513560","file1":"1327513555","file0":"1327513499","file3":"1327513562"},"map_files_photo_id_array":[{"photo_id":"1327513560","filename":"file2"},{"photo_id":"1327513555","filename":"file1"},{"photo_id":"1327513499","filename":"file0"},{"photo_id":"1327513562","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327513555":["hashtag1","hashtag2"]},{"1327513560":["hashtag1","hashtag2"]},{"1327513562":["hashtag1","hashtag2"]},{"1327513499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327513555, 1327513560, 1327513562, 1327513499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.748098850250244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:06:02.665936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:06:22.184428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0003.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0000.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0001.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0003.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0000.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0001.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.012816429138184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:06:42.333128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0003.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0000.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0001.jpg', '/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/05/image_08012025_20_05_02_317400_0003.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0000.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0001.jpg
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327513783","1327513604","1327513603","1327513602"],"photo_ids_order":["1327513602","1327513603","1327513604","1327513783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ddcb797bad21e84f1200bee9cb0d311.jpg","text":"TemporaryFile(/tmp/multipartBody2623470826688570491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363272741,"filename":"image_08012025_20_06_02_426440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f6d4e9e975fb7d8279790d7ed63fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody7327275734870466324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363272741,"filename":"image_08012025_20_06_02_426440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/088ae13106f0efe386e7d916bc8c3acd.jpg","text":"TemporaryFile(/tmp/multipartBody8679712866883850974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363272741,"filename":"image_08012025_20_06_02_426440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14e64decbdf00d00e594a03fc265fadc.jpg","text":"TemporaryFile(/tmp/multipartBody5830101284739604831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363272741,"filename":"image_08012025_20_05_02_317400_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327513604","file1":"1327513603","file0":"1327513602","file3":"1327513783"},"map_files_photo_id_array":[{"photo_id":"1327513604","filename":"file2"},{"photo_id":"1327513603","filename":"file1"},{"photo_id":"1327513602","filename":"file0"},{"photo_id":"1327513783","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327513783":["hashtag1","hashtag2"]},{"1327513604":["hashtag1","hashtag2"]},{"1327513603":["hashtag1","hashtag2"]},{"1327513602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327513783, 1327513604, 1327513603, 1327513602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.64120292663574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:07:22.452044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0003.jpg', '/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0000.jpg', '/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0001.jpg', '/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/06/image_08012025_20_06_02_426440_0003.jpg
/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0000.jpg
/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0001.jpg
/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327513888","1327513898","1327513892","1327513895"],"photo_ids_order":["1327513888","1327513892","1327513895","1327513898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b822671d36ae175b175dc735775f8b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3191645554374258816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363312735,"filename":"image_08012025_20_06_02_426440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9ccfeb57ef4c800b058f034da84844d5.jpg","text":"TemporaryFile(/tmp/multipartBody3845686280939759486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363312735,"filename":"image_08012025_20_07_02_566925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/984fc284d8fdc864f9583716689a8fcf.jpg","text":"TemporaryFile(/tmp/multipartBody192378848723556037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363312735,"filename":"image_08012025_20_07_02_566925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/de9c8de35b70caa9e07140259f9cfaff.jpg","text":"TemporaryFile(/tmp/multipartBody109665056331736950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363312735,"filename":"image_08012025_20_07_02_566925_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327513895","file1":"1327513892","file0":"1327513888","file3":"1327513898"},"map_files_photo_id_array":[{"photo_id":"1327513895","filename":"file2"},{"photo_id":"1327513892","filename":"file1"},{"photo_id":"1327513888","filename":"file0"},{"photo_id":"1327513898","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327513888":["hashtag1","hashtag2"]},{"1327513898":["hashtag1","hashtag2"]},{"1327513892":["hashtag1","hashtag2"]},{"1327513895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327513888, 1327513898, 1327513892, 1327513895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71393394470215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:08:03.065045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:08:22.550128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0003.jpg', '/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0000.jpg', '/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0001.jpg', '/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/07/image_08012025_20_07_02_566925_0003.jpg
/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0000.jpg
/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0001.jpg
/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327515171","1327515242","1327515125","1327515209"],"photo_ids_order":["1327515125","1327515171","1327515209","1327515242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e77087e0bb2a7210c8b988f52b5efe29.jpg","text":"TemporaryFile(/tmp/multipartBody4342184405040091642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363372873,"filename":"image_08012025_20_08_02_786846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f63236cf48c107b4328a75a9f8d2113f.jpg","text":"TemporaryFile(/tmp/multipartBody5398089665873751015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363372873,"filename":"image_08012025_20_08_02_786846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a489f9e3c6e89442f7d0c51d30579f22.jpg","text":"TemporaryFile(/tmp/multipartBody6481772062976040131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363372873,"filename":"image_08012025_20_07_02_566925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3c7dd493ce98b08111f9dca13155979.jpg","text":"TemporaryFile(/tmp/multipartBody1326862061205705180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363372873,"filename":"image_08012025_20_08_02_786846_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327515209","file1":"1327515171","file0":"1327515125","file3":"1327515242"},"map_files_photo_id_array":[{"photo_id":"1327515209","filename":"file2"},{"photo_id":"1327515171","filename":"file1"},{"photo_id":"1327515125","filename":"file0"},{"photo_id":"1327515242","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327515171":["hashtag1","hashtag2"]},{"1327515242":["hashtag1","hashtag2"]},{"1327515125":["hashtag1","hashtag2"]},{"1327515209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327515171, 1327515242, 1327515125, 1327515209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19300127029419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:09:03.343095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:09:22.730914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0003.jpg', '/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0000.jpg', '/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0001.jpg', '/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/08/image_08012025_20_08_02_786846_0003.jpg
/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0000.jpg
/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0001.jpg
/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327516773","1327516776","1327516880","1327516780"],"photo_ids_order":["1327516773","1327516776","1327516780","1327516880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f50304e19b1729488ad19411e6321846.jpg","text":"TemporaryFile(/tmp/multipartBody8655309250973396125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363433026,"filename":"image_08012025_20_08_02_786846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b545d736fd8d3c8f67acd1db90d12c4.jpg","text":"TemporaryFile(/tmp/multipartBody1413577622773764843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363433026,"filename":"image_08012025_20_09_02_885301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/133b1502549b4d013d06cad999368eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8620704218509824899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363433026,"filename":"image_08012025_20_09_02_885301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50a212921e8b3c429493caaa6ac71868.jpg","text":"TemporaryFile(/tmp/multipartBody6920000032842243534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363433026,"filename":"image_08012025_20_09_02_885301_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327516780","file1":"1327516776","file0":"1327516773","file3":"1327516880"},"map_files_photo_id_array":[{"photo_id":"1327516780","filename":"file2"},{"photo_id":"1327516776","filename":"file1"},{"photo_id":"1327516773","filename":"file0"},{"photo_id":"1327516880","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327516773":["hashtag1","hashtag2"]},{"1327516776":["hashtag1","hashtag2"]},{"1327516880":["hashtag1","hashtag2"]},{"1327516780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327516773, 1327516776, 1327516880, 1327516780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.230693340301514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:10:21.933242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0003.jpg', '/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_0000.jpg', '/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/09/image_08012025_20_09_02_885301_0003.jpg
/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_0000.jpg
/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_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":["1327517369","1327517348","1327517365"],"photo_ids_order":["1327517348","1327517365","1327517369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8de71f6052e95524bf02262eff897cab.jpg","text":"TemporaryFile(/tmp/multipartBody2775832904536882770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363489799,"filename":"image_08012025_20_10_03_129412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b9ea8f91493a242b4b9eaf675682158.jpg","text":"TemporaryFile(/tmp/multipartBody1948213271854877712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363489799,"filename":"image_08012025_20_09_02_885301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7e4b484ad19f11d0194029dc52924f08.jpg","text":"TemporaryFile(/tmp/multipartBody7055325230245283918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363489799,"filename":"image_08012025_20_10_03_129412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327517369","file1":"1327517365","file0":"1327517348"},"map_files_photo_id_array":[{"photo_id":"1327517369","filename":"file2"},{"photo_id":"1327517365","filename":"file1"},{"photo_id":"1327517348","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327517369":["hashtag1","hashtag2"]},{"1327517348":["hashtag1","hashtag2"]},{"1327517365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327517369, 1327517348, 1327517365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.39523720741272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:11:02.807907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:11:22.157233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_0002.jpg', '/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_0000.jpg', '/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/10/image_08012025_20_10_03_129412_0002.jpg
/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_0000.jpg
/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_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":["1327517553","1327517549","1327517558"],"photo_ids_order":["1327517549","1327517553","1327517558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cffb889de578409e5f37a633891cf62f.jpg","text":"TemporaryFile(/tmp/multipartBody25065770777154136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363550134,"filename":"image_08012025_20_11_02_338707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/712db8f4e041afd094ab0d2ec0e78434.jpg","text":"TemporaryFile(/tmp/multipartBody567703945787047758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363550134,"filename":"image_08012025_20_10_03_129412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f46a320bec8d38e6208e5d8a7766572.jpg","text":"TemporaryFile(/tmp/multipartBody474263972203981619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363550134,"filename":"image_08012025_20_11_02_338707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327517558","file1":"1327517553","file0":"1327517549"},"map_files_photo_id_array":[{"photo_id":"1327517558","filename":"file2"},{"photo_id":"1327517553","filename":"file1"},{"photo_id":"1327517549","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327517553":["hashtag1","hashtag2"]},{"1327517549":["hashtag1","hashtag2"]},{"1327517558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327517553, 1327517549, 1327517558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.60571837425232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:12:02.714566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:12:22.365194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_0003.jpg', '/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0000.jpg', '/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0001.jpg', '/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/11/image_08012025_20_11_02_338707_0003.jpg
/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0000.jpg
/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0001.jpg
/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327517856","1327517866","1327517842","1327517839"],"photo_ids_order":["1327517839","1327517842","1327517856","1327517866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4257775dab11b44c51ba873e23061d60.jpg","text":"TemporaryFile(/tmp/multipartBody2235535847681594130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363612634,"filename":"image_08012025_20_12_02_485833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89ac53154136bc7c8152c62da9c907bf.jpg","text":"TemporaryFile(/tmp/multipartBody3972463030441451211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363612634,"filename":"image_08012025_20_12_02_485833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c377fb4b5fb6e15e4bd9c670741afb4a.jpg","text":"TemporaryFile(/tmp/multipartBody3466179495726384066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363612634,"filename":"image_08012025_20_12_02_485833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/665525c0418cce414b852887f6eb6d54.jpg","text":"TemporaryFile(/tmp/multipartBody4800102280023933165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363612634,"filename":"image_08012025_20_11_02_338707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327517856","file1":"1327517842","file0":"1327517839","file3":"1327517866"},"map_files_photo_id_array":[{"photo_id":"1327517856","filename":"file2"},{"photo_id":"1327517842","filename":"file1"},{"photo_id":"1327517839","filename":"file0"},{"photo_id":"1327517866","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327517856":["hashtag1","hashtag2"]},{"1327517866":["hashtag1","hashtag2"]},{"1327517842":["hashtag1","hashtag2"]},{"1327517839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327517856, 1327517866, 1327517842, 1327517839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30536460876465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:13:02.997629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:13:22.529269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0003.jpg', '/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0000.jpg', '/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0001.jpg', '/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/12/image_08012025_20_12_02_485833_0003.jpg
/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0000.jpg
/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0001.jpg
/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327517999","1327517983","1327517980","1327517988"],"photo_ids_order":["1327517980","1327517983","1327517988","1327517999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e9c1680a8a60f6d89d51a499075f6e07.jpg","text":"TemporaryFile(/tmp/multipartBody177694877324877628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363672757,"filename":"image_08012025_20_13_02_668953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/065e0fd630fbf7c2e2aba73b1a3fcec8.jpg","text":"TemporaryFile(/tmp/multipartBody6445574488848473919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363672757,"filename":"image_08012025_20_13_02_668953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dfa84fc3fc2e97d9979ba6505c9e029.jpg","text":"TemporaryFile(/tmp/multipartBody6284720230260301917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363672757,"filename":"image_08012025_20_12_02_485833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6e459c38cbc4c08a22f8ac7ae0a93b0.jpg","text":"TemporaryFile(/tmp/multipartBody5700319488268266338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363672757,"filename":"image_08012025_20_13_02_668953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327517988","file1":"1327517983","file0":"1327517980","file3":"1327517999"},"map_files_photo_id_array":[{"photo_id":"1327517988","filename":"file2"},{"photo_id":"1327517983","filename":"file1"},{"photo_id":"1327517980","filename":"file0"},{"photo_id":"1327517999","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327517999":["hashtag1","hashtag2"]},{"1327517983":["hashtag1","hashtag2"]},{"1327517980":["hashtag1","hashtag2"]},{"1327517988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327517999, 1327517983, 1327517980, 1327517988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29971718788147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:14:02.969351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:14:22.689023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0003.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0000.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0001.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0003.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0000.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0001.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.100889205932617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:14:42.672780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0003.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0000.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0001.jpg', '/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/13/image_08012025_20_13_02_668953_0003.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0000.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0001.jpg
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518056","1327518065","1327518053","1327518060"],"photo_ids_order":["1327518053","1327518056","1327518060","1327518065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fc24efa770314b767ec09d31d056737.jpg","text":"TemporaryFile(/tmp/multipartBody2904680360282082802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363753005,"filename":"image_08012025_20_14_02_841078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5e79a8a812154c6fc2e7836d8d662d1.jpg","text":"TemporaryFile(/tmp/multipartBody1011797195994784023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363753005,"filename":"image_08012025_20_14_02_841078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/955133705cc52f00aab37fef3b2264a8.jpg","text":"TemporaryFile(/tmp/multipartBody7780196587490159329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363753005,"filename":"image_08012025_20_13_02_668953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df3a197c47e35879ab1a0b2671a77f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5656778392249048665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363753005,"filename":"image_08012025_20_14_02_841078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518060","file1":"1327518056","file0":"1327518053","file3":"1327518065"},"map_files_photo_id_array":[{"photo_id":"1327518060","filename":"file2"},{"photo_id":"1327518056","filename":"file1"},{"photo_id":"1327518053","filename":"file0"},{"photo_id":"1327518065","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518056":["hashtag1","hashtag2"]},{"1327518065":["hashtag1","hashtag2"]},{"1327518053":["hashtag1","hashtag2"]},{"1327518060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518056, 1327518065, 1327518053, 1327518060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53145670890808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:15:31.834154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0003.jpg', '/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0000.jpg', '/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0001.jpg', '/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/14/image_08012025_20_14_02_841078_0003.jpg
/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0000.jpg
/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0001.jpg
/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518233","1327518244","1327518253","1327518229"],"photo_ids_order":["1327518229","1327518233","1327518244","1327518253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e988b981455e2513967d0db6ed2a855a.jpg","text":"TemporaryFile(/tmp/multipartBody3887740621322668904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363802162,"filename":"image_08012025_20_15_03_045710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b79f485d45dc86f6a08fc09a2f27896.jpg","text":"TemporaryFile(/tmp/multipartBody4947946713103977481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363802162,"filename":"image_08012025_20_15_03_045710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0bb0f4ddf7a05670a82d90c516a3301e.jpg","text":"TemporaryFile(/tmp/multipartBody546240281712511952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363802162,"filename":"image_08012025_20_15_03_045710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/266e4b751906f6b115f80113b9dededc.jpg","text":"TemporaryFile(/tmp/multipartBody1510960334431809443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363802162,"filename":"image_08012025_20_14_02_841078_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518244","file1":"1327518233","file0":"1327518229","file3":"1327518253"},"map_files_photo_id_array":[{"photo_id":"1327518244","filename":"file2"},{"photo_id":"1327518233","filename":"file1"},{"photo_id":"1327518229","filename":"file0"},{"photo_id":"1327518253","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518233":["hashtag1","hashtag2"]},{"1327518244":["hashtag1","hashtag2"]},{"1327518253":["hashtag1","hashtag2"]},{"1327518229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518233, 1327518244, 1327518253, 1327518229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35347509384155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:16:22.002779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0003.jpg', '/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0000.jpg', '/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0001.jpg', '/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/15/image_08012025_20_15_03_045710_0003.jpg
/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0000.jpg
/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0001.jpg
/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518290","1327518283","1327518301","1327518296"],"photo_ids_order":["1327518283","1327518290","1327518296","1327518301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ac94f4251f29a42ddee61bb824ec10b.jpg","text":"TemporaryFile(/tmp/multipartBody4014310775835054225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363852308,"filename":"image_08012025_20_16_02_168608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5812204d1300b109d2f7e0cfa7f5a3da.jpg","text":"TemporaryFile(/tmp/multipartBody4783575716462747836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363852308,"filename":"image_08012025_20_15_03_045710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05cc284bc7d129bf1d6e0cf565d47c04.jpg","text":"TemporaryFile(/tmp/multipartBody9096929381564259623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363852308,"filename":"image_08012025_20_16_02_168608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d316983e24b4700d6e5fba5abe30ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7499976946934431019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363852308,"filename":"image_08012025_20_16_02_168608_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518296","file1":"1327518290","file0":"1327518283","file3":"1327518301"},"map_files_photo_id_array":[{"photo_id":"1327518296","filename":"file2"},{"photo_id":"1327518290","filename":"file1"},{"photo_id":"1327518283","filename":"file0"},{"photo_id":"1327518301","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518290":["hashtag1","hashtag2"]},{"1327518283":["hashtag1","hashtag2"]},{"1327518301":["hashtag1","hashtag2"]},{"1327518296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518290, 1327518283, 1327518301, 1327518296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61027932167053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:17:02.712123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:17:22.213435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0003.jpg', '/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0000.jpg', '/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0001.jpg', '/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/16/image_08012025_20_16_02_168608_0003.jpg
/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0000.jpg
/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0001.jpg
/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518335","1327518329","1327518340","1327518337"],"photo_ids_order":["1327518329","1327518335","1327518337","1327518340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fcd23c831fc1cecac5532a9adb009dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5798860070389122648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363912458,"filename":"image_08012025_20_17_02_357080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7dedb4a4b72ec6723723e9a5a7fcac8.jpg","text":"TemporaryFile(/tmp/multipartBody2232583069478629704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363912458,"filename":"image_08012025_20_16_02_168608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c8d73b1566c9acbdef9f2ab53e5d3611.jpg","text":"TemporaryFile(/tmp/multipartBody1701806917568918723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363912458,"filename":"image_08012025_20_17_02_357080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/088c696cb00144c0f8771139fa37bb44.jpg","text":"TemporaryFile(/tmp/multipartBody9186411114096977784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363912458,"filename":"image_08012025_20_17_02_357080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518337","file1":"1327518335","file0":"1327518329","file3":"1327518340"},"map_files_photo_id_array":[{"photo_id":"1327518337","filename":"file2"},{"photo_id":"1327518335","filename":"file1"},{"photo_id":"1327518329","filename":"file0"},{"photo_id":"1327518340","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518335":["hashtag1","hashtag2"]},{"1327518329":["hashtag1","hashtag2"]},{"1327518340":["hashtag1","hashtag2"]},{"1327518337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518335, 1327518329, 1327518340, 1327518337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29168248176575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:18:02.829052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:18:22.424180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0003.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0000.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0001.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0003.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0000.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0001.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.86588454246521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:18:42.386325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0003.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0000.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0001.jpg', '/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/17/image_08012025_20_17_02_357080_0003.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0000.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0001.jpg
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518428","1327518422","1327518439","1327518423"],"photo_ids_order":["1327518422","1327518423","1327518428","1327518439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc258ed20c443ce5b3816945c2f04732.jpg","text":"TemporaryFile(/tmp/multipartBody5485982674119103659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363992647,"filename":"image_08012025_20_18_02_561880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7aa17c76f3f80c80d7e9926dc6e317f.jpg","text":"TemporaryFile(/tmp/multipartBody121547526497321001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363992647,"filename":"image_08012025_20_17_02_357080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c5b6d5a888ee7d909644494cc724903.jpg","text":"TemporaryFile(/tmp/multipartBody3951776444355036336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363992647,"filename":"image_08012025_20_18_02_561880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/285bf22748334e3ed76bb59652217894.jpg","text":"TemporaryFile(/tmp/multipartBody125642823638056013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736363992647,"filename":"image_08012025_20_18_02_561880_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518428","file1":"1327518423","file0":"1327518422","file3":"1327518439"},"map_files_photo_id_array":[{"photo_id":"1327518428","filename":"file2"},{"photo_id":"1327518423","filename":"file1"},{"photo_id":"1327518422","filename":"file0"},{"photo_id":"1327518439","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518428":["hashtag1","hashtag2"]},{"1327518422":["hashtag1","hashtag2"]},{"1327518439":["hashtag1","hashtag2"]},{"1327518423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518428, 1327518422, 1327518439, 1327518423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67428541183472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:19:22.667094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0003.jpg', '/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0000.jpg', '/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0001.jpg', '/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/18/image_08012025_20_18_02_561880_0003.jpg
/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0000.jpg
/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0001.jpg
/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518560","1327518583","1327518526","1327518607"],"photo_ids_order":["1327518526","1327518560","1327518583","1327518607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37c26e79756c59c55ec571a885667581.jpg","text":"TemporaryFile(/tmp/multipartBody1304986454866256319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364032966,"filename":"image_08012025_20_19_02_728782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0d33e73c113b19f17df379dc1ecf4e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4450349344337174816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364032966,"filename":"image_08012025_20_19_02_728782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6df2f4d5b1ac76bea1d88e65e805bf43.jpg","text":"TemporaryFile(/tmp/multipartBody3452858661314070367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364032966,"filename":"image_08012025_20_18_02_561880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e105e5af1d47fe7753abdb43d99db177.jpg","text":"TemporaryFile(/tmp/multipartBody7962526184658998568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364032966,"filename":"image_08012025_20_19_02_728782_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518583","file1":"1327518560","file0":"1327518526","file3":"1327518607"},"map_files_photo_id_array":[{"photo_id":"1327518583","filename":"file2"},{"photo_id":"1327518560","filename":"file1"},{"photo_id":"1327518526","filename":"file0"},{"photo_id":"1327518607","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518560":["hashtag1","hashtag2"]},{"1327518583":["hashtag1","hashtag2"]},{"1327518526":["hashtag1","hashtag2"]},{"1327518607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518560, 1327518583, 1327518526, 1327518607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.398884534835815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:20:03.307439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:20:22.773869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0003.jpg', '/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0000.jpg', '/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0001.jpg', '/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/19/image_08012025_20_19_02_728782_0003.jpg
/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0000.jpg
/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0001.jpg
/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518650","1327518653","1327518647","1327518655"],"photo_ids_order":["1327518647","1327518650","1327518653","1327518655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79ea8b5c3fe6fba91d4f2c09d6bf5947.jpg","text":"TemporaryFile(/tmp/multipartBody5877733079836206907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364093074,"filename":"image_08012025_20_20_02_931908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99918542d0f59cd27831c818ebc18872.jpg","text":"TemporaryFile(/tmp/multipartBody7965913667318284337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364093074,"filename":"image_08012025_20_20_02_931908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/677f148b61003684457479935468b9b0.jpg","text":"TemporaryFile(/tmp/multipartBody3693049049277050254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364093074,"filename":"image_08012025_20_19_02_728782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c5592127a135f8bb116bb47ffedcd04.jpg","text":"TemporaryFile(/tmp/multipartBody604630024101668754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364093074,"filename":"image_08012025_20_20_02_931908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518653","file1":"1327518650","file0":"1327518647","file3":"1327518655"},"map_files_photo_id_array":[{"photo_id":"1327518653","filename":"file2"},{"photo_id":"1327518650","filename":"file1"},{"photo_id":"1327518647","filename":"file0"},{"photo_id":"1327518655","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518650":["hashtag1","hashtag2"]},{"1327518653":["hashtag1","hashtag2"]},{"1327518647":["hashtag1","hashtag2"]},{"1327518655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518650, 1327518653, 1327518647, 1327518655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.645421504974365 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-08 20:21:21.973169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0003.jpg', '/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0000.jpg', '/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0001.jpg', '/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/20/image_08012025_20_20_02_931908_0003.jpg
/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0000.jpg
/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0001.jpg
/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518685","1327518682","1327518687","1327518675"],"photo_ids_order":["1327518675","1327518682","1327518685","1327518687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/914e76c4a583399961468b0e5e7fdc67.jpg","text":"TemporaryFile(/tmp/multipartBody1215224680815833749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364152212,"filename":"image_08012025_20_21_03_125860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39c9613fcb25632fd9e81b5d80e7813b.jpg","text":"TemporaryFile(/tmp/multipartBody5841567441246729307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364152212,"filename":"image_08012025_20_21_03_125860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bd261e7a7e02fa853936d4acf04d1abc.jpg","text":"TemporaryFile(/tmp/multipartBody4993997994709988678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364152212,"filename":"image_08012025_20_21_03_125860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/860fb44a99a9c15c5be98f1f9f8e33f1.jpg","text":"TemporaryFile(/tmp/multipartBody3851349620614875074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364152212,"filename":"image_08012025_20_20_02_931908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518685","file1":"1327518682","file0":"1327518675","file3":"1327518687"},"map_files_photo_id_array":[{"photo_id":"1327518685","filename":"file2"},{"photo_id":"1327518682","filename":"file1"},{"photo_id":"1327518675","filename":"file0"},{"photo_id":"1327518687","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518685":["hashtag1","hashtag2"]},{"1327518682":["hashtag1","hashtag2"]},{"1327518687":["hashtag1","hashtag2"]},{"1327518675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518685, 1327518682, 1327518687, 1327518675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.94997310638428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:22:22.225540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0003.jpg', '/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0000.jpg', '/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0001.jpg', '/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/21/image_08012025_20_21_03_125860_0003.jpg
/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0000.jpg
/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0001.jpg
/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518711","1327518705","1327518701","1327518696"],"photo_ids_order":["1327518696","1327518701","1327518705","1327518711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1910452202dc2da04c416200496d7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5034591879609510685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364212567,"filename":"image_08012025_20_22_02_400117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca0498dd11c1e8f930048a7c5fa96d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8340884290088687455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364212567,"filename":"image_08012025_20_22_02_400117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07e5233035e7c2bcdabe3934a3a53aa6.jpg","text":"TemporaryFile(/tmp/multipartBody416145232883233706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364212567,"filename":"image_08012025_20_22_02_400117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/156d1e9525c5763203f1bebc8a9e8432.jpg","text":"TemporaryFile(/tmp/multipartBody4693454226238512764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364212567,"filename":"image_08012025_20_21_03_125860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518705","file1":"1327518701","file0":"1327518696","file3":"1327518711"},"map_files_photo_id_array":[{"photo_id":"1327518705","filename":"file2"},{"photo_id":"1327518701","filename":"file1"},{"photo_id":"1327518696","filename":"file0"},{"photo_id":"1327518711","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518711":["hashtag1","hashtag2"]},{"1327518705":["hashtag1","hashtag2"]},{"1327518701":["hashtag1","hashtag2"]},{"1327518696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518711, 1327518705, 1327518701, 1327518696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49648451805115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:23:02.977355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:23:22.447169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0003.jpg', '/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0000.jpg', '/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0001.jpg', '/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/22/image_08012025_20_22_02_400117_0003.jpg
/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0000.jpg
/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0001.jpg
/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518736","1327518739","1327518744","1327518732"],"photo_ids_order":["1327518732","1327518736","1327518739","1327518744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b903144f5107b186348a38caba213830.jpg","text":"TemporaryFile(/tmp/multipartBody2249970144734206083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364272924,"filename":"image_08012025_20_23_02_568560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6760b5dcac53988a3283c0aa1d69bf91.jpg","text":"TemporaryFile(/tmp/multipartBody6099261902820230747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364272924,"filename":"image_08012025_20_23_02_568560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b0f7eda23e0cbc5fce51cb84bbbf20c.jpg","text":"TemporaryFile(/tmp/multipartBody7936954176325683355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364272924,"filename":"image_08012025_20_23_02_568560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab1cd61a4f87c0e3e789ad56f1dd1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2803965855447988394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364272924,"filename":"image_08012025_20_22_02_400117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518739","file1":"1327518736","file0":"1327518732","file3":"1327518744"},"map_files_photo_id_array":[{"photo_id":"1327518739","filename":"file2"},{"photo_id":"1327518736","filename":"file1"},{"photo_id":"1327518732","filename":"file0"},{"photo_id":"1327518744","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518736":["hashtag1","hashtag2"]},{"1327518739":["hashtag1","hashtag2"]},{"1327518744":["hashtag1","hashtag2"]},{"1327518732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518736, 1327518739, 1327518744, 1327518732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77871608734131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:24:02.961092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:24:22.545163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0003.jpg', '/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0000.jpg', '/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0001.jpg', '/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/23/image_08012025_20_23_02_568560_0003.jpg
/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0000.jpg
/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0001.jpg
/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518767","1327518803","1327518778","1327518792"],"photo_ids_order":["1327518767","1327518778","1327518792","1327518803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ffb6af72f1b0a01b604b98f289141369.jpg","text":"TemporaryFile(/tmp/multipartBody62824912484724561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364332916,"filename":"image_08012025_20_23_02_568560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/38a110f209bcbb38a4a68fa8a8caf564.jpg","text":"TemporaryFile(/tmp/multipartBody3625178013682539345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364332916,"filename":"image_08012025_20_24_02_807721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6818d07b055f3eee7a71ff3a670b34cc.jpg","text":"TemporaryFile(/tmp/multipartBody9153755927831464146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364332916,"filename":"image_08012025_20_24_02_807721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9bb8f31b0344b93f921629dc8727c787.jpg","text":"TemporaryFile(/tmp/multipartBody5403410767113999091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364332916,"filename":"image_08012025_20_24_02_807721_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518792","file1":"1327518778","file0":"1327518767","file3":"1327518803"},"map_files_photo_id_array":[{"photo_id":"1327518792","filename":"file2"},{"photo_id":"1327518778","filename":"file1"},{"photo_id":"1327518767","filename":"file0"},{"photo_id":"1327518803","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518767":["hashtag1","hashtag2"]},{"1327518803":["hashtag1","hashtag2"]},{"1327518778":["hashtag1","hashtag2"]},{"1327518792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518767, 1327518803, 1327518778, 1327518792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13860249519348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:25:03.160883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:25:22.698503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0003.jpg', '/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0000.jpg', '/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0001.jpg', '/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/24/image_08012025_20_24_02_807721_0003.jpg
/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0000.jpg
/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0001.jpg
/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327518866","1327518966","1327518924","1327518909"],"photo_ids_order":["1327518866","1327518909","1327518924","1327518966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3fdcd5a52f2c1907c27b4570b31c105.jpg","text":"TemporaryFile(/tmp/multipartBody5250130164749943885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364393055,"filename":"image_08012025_20_24_02_807721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec165a09d3672f4309c6612f8354123b.jpg","text":"TemporaryFile(/tmp/multipartBody5570733717019323513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364393055,"filename":"image_08012025_20_25_02_935955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdd3456c0bf94dec5684757d930ac2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1979551597899608829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364393055,"filename":"image_08012025_20_25_02_935955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/422594a16db288bbacee6570c5ba0dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1711865543436457189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364393055,"filename":"image_08012025_20_25_02_935955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327518924","file1":"1327518909","file0":"1327518866","file3":"1327518966"},"map_files_photo_id_array":[{"photo_id":"1327518924","filename":"file2"},{"photo_id":"1327518909","filename":"file1"},{"photo_id":"1327518866","filename":"file0"},{"photo_id":"1327518966","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327518866":["hashtag1","hashtag2"]},{"1327518966":["hashtag1","hashtag2"]},{"1327518924":["hashtag1","hashtag2"]},{"1327518909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327518866, 1327518966, 1327518924, 1327518909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.54505705833435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:26:21.919056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0003.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0000.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0001.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0003.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0000.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0001.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.860917329788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:26:41.897790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0003.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0000.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0001.jpg', '/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/25/image_08012025_20_25_02_935955_0003.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0000.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0001.jpg
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519106","1327519084","1327519078","1327519101"],"photo_ids_order":["1327519078","1327519084","1327519101","1327519106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a402c3dd807f46ecccaf4a0130ea798.jpg","text":"TemporaryFile(/tmp/multipartBody2084942889855662912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364472173,"filename":"image_08012025_20_26_03_053978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aead3ce8d4ecf0a44dad6779708abe01.jpg","text":"TemporaryFile(/tmp/multipartBody6621300901817128412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364472173,"filename":"image_08012025_20_26_03_053978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c5dbfa1674b072251259fd1598700c90.jpg","text":"TemporaryFile(/tmp/multipartBody2768538881524160889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364472173,"filename":"image_08012025_20_25_02_935955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4dcf2d77caa1826089d17af721d5aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody9050298188993604311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364472173,"filename":"image_08012025_20_26_03_053978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519101","file1":"1327519084","file0":"1327519078","file3":"1327519106"},"map_files_photo_id_array":[{"photo_id":"1327519101","filename":"file2"},{"photo_id":"1327519084","filename":"file1"},{"photo_id":"1327519078","filename":"file0"},{"photo_id":"1327519106","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519106":["hashtag1","hashtag2"]},{"1327519084":["hashtag1","hashtag2"]},{"1327519078":["hashtag1","hashtag2"]},{"1327519101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519106, 1327519084, 1327519078, 1327519101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39215087890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:27:22.222576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0003.jpg', '/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0000.jpg', '/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0001.jpg', '/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/26/image_08012025_20_26_03_053978_0003.jpg
/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0000.jpg
/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0001.jpg
/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519183","1327519149","1327519119","1327519166"],"photo_ids_order":["1327519119","1327519149","1327519166","1327519183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1466ef71baedb561c84330d29791fe66.jpg","text":"TemporaryFile(/tmp/multipartBody318781947727472479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364512538,"filename":"image_08012025_20_27_02_310600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc0855243928278257acd0ef233d2c10.jpg","text":"TemporaryFile(/tmp/multipartBody9111880620711374310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364512538,"filename":"image_08012025_20_27_02_310600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1daca5f1445df93aad1858661f0ea2d.jpg","text":"TemporaryFile(/tmp/multipartBody5278033534582231771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364512538,"filename":"image_08012025_20_26_03_053978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2be4d5f65dcd0aa793c428df52f6cde7.jpg","text":"TemporaryFile(/tmp/multipartBody5812080343821926678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364512538,"filename":"image_08012025_20_27_02_310600_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519166","file1":"1327519149","file0":"1327519119","file3":"1327519183"},"map_files_photo_id_array":[{"photo_id":"1327519166","filename":"file2"},{"photo_id":"1327519149","filename":"file1"},{"photo_id":"1327519119","filename":"file0"},{"photo_id":"1327519183","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519183":["hashtag1","hashtag2"]},{"1327519149":["hashtag1","hashtag2"]},{"1327519119":["hashtag1","hashtag2"]},{"1327519166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519183, 1327519149, 1327519119, 1327519166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54907584190369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:28:22.292868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0003.jpg', '/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0000.jpg', '/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0001.jpg', '/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/27/image_08012025_20_27_02_310600_0003.jpg
/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0000.jpg
/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0001.jpg
/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519226","1327519220","1327519223","1327519227"],"photo_ids_order":["1327519220","1327519223","1327519226","1327519227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6c12f477cd7aafe6546558bd26be255.jpg","text":"TemporaryFile(/tmp/multipartBody1828455280462090252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364572589,"filename":"image_08012025_20_28_02_490169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a50942291e870b6e53c61c0a7ace591e.jpg","text":"TemporaryFile(/tmp/multipartBody5912352800399281643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364572589,"filename":"image_08012025_20_27_02_310600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c31c88f94620069ebc525a00b26860a2.jpg","text":"TemporaryFile(/tmp/multipartBody1217285295070092100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364572589,"filename":"image_08012025_20_28_02_490169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b024f52f646e8743ee880235071a05a.jpg","text":"TemporaryFile(/tmp/multipartBody1034929456119663480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364572589,"filename":"image_08012025_20_28_02_490169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519226","file1":"1327519223","file0":"1327519220","file3":"1327519227"},"map_files_photo_id_array":[{"photo_id":"1327519226","filename":"file2"},{"photo_id":"1327519223","filename":"file1"},{"photo_id":"1327519220","filename":"file0"},{"photo_id":"1327519227","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519226":["hashtag1","hashtag2"]},{"1327519220":["hashtag1","hashtag2"]},{"1327519223":["hashtag1","hashtag2"]},{"1327519227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519226, 1327519220, 1327519223, 1327519227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00580167770386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:29:03.137151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:29:22.648115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0003.jpg', '/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0000.jpg', '/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0001.jpg', '/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/28/image_08012025_20_28_02_490169_0003.jpg
/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0000.jpg
/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0001.jpg
/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519261","1327519254","1327519257","1327519250"],"photo_ids_order":["1327519250","1327519254","1327519257","1327519261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c61cf75ab44a5088da1658d18221c8ea.jpg","text":"TemporaryFile(/tmp/multipartBody7718048523461128548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364633036,"filename":"image_08012025_20_29_02_642376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5d34430c2604945002e6db77f5d6d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6154163015573326886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364633036,"filename":"image_08012025_20_29_02_642376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2d0810a072095cc11593de29bc0eb58.jpg","text":"TemporaryFile(/tmp/multipartBody1199602429686108028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364633036,"filename":"image_08012025_20_29_02_642376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/322c2bd417ed09ff694fe794a2aacd01.jpg","text":"TemporaryFile(/tmp/multipartBody3479051840893128982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364633036,"filename":"image_08012025_20_28_02_490169_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519257","file1":"1327519254","file0":"1327519250","file3":"1327519261"},"map_files_photo_id_array":[{"photo_id":"1327519257","filename":"file2"},{"photo_id":"1327519254","filename":"file1"},{"photo_id":"1327519250","filename":"file0"},{"photo_id":"1327519261","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519261":["hashtag1","hashtag2"]},{"1327519254":["hashtag1","hashtag2"]},{"1327519257":["hashtag1","hashtag2"]},{"1327519250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519261, 1327519254, 1327519257, 1327519250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14248323440552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:30:22.768919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0003.jpg', '/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0000.jpg', '/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0001.jpg', '/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/29/image_08012025_20_29_02_642376_0003.jpg
/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0000.jpg
/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0001.jpg
/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519303","1327519315","1327519299","1327519308"],"photo_ids_order":["1327519299","1327519303","1327519308","1327519315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7a13b26f4839b315599a9fa6cdd3fad.jpg","text":"TemporaryFile(/tmp/multipartBody5455729557764148096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364693069,"filename":"image_08012025_20_30_02_868508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4bef0424dd8a3858397dc53a1f3f255.jpg","text":"TemporaryFile(/tmp/multipartBody8013162965956949604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364693069,"filename":"image_08012025_20_30_02_868508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c99db058ca8a3f2ec902c6ef0186a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5609450112579695183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364693069,"filename":"image_08012025_20_29_02_642376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e5be9d4de41d9c314e62b44c5e44a23b.jpg","text":"TemporaryFile(/tmp/multipartBody1001084032688131701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364693069,"filename":"image_08012025_20_30_02_868508_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519308","file1":"1327519303","file0":"1327519299","file3":"1327519315"},"map_files_photo_id_array":[{"photo_id":"1327519308","filename":"file2"},{"photo_id":"1327519303","filename":"file1"},{"photo_id":"1327519299","filename":"file0"},{"photo_id":"1327519315","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519303":["hashtag1","hashtag2"]},{"1327519315":["hashtag1","hashtag2"]},{"1327519299":["hashtag1","hashtag2"]},{"1327519308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519303, 1327519315, 1327519299, 1327519308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47149586677551 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-08 20:31:21.877550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0003.jpg', '/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0001.jpg', '/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/30/image_08012025_20_30_02_868508_0003.jpg
/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0001.jpg
/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519348","1327519330","1327519344"],"photo_ids_order":["1327519330","1327519344","1327519348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f297e5dda55d4ddf6931f6247e5fba8.jpg","text":"TemporaryFile(/tmp/multipartBody5582316610686245481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364749680,"filename":"image_08012025_20_31_03_079859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cb1141bbf0711ed0b2b70a90f535604c.jpg","text":"TemporaryFile(/tmp/multipartBody3180955780116039676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364749680,"filename":"image_08012025_20_30_02_868508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1a1c98d4dfa661d75de200f8af7cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5980136406530006118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364749680,"filename":"image_08012025_20_31_03_079859_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519348","file1":"1327519344","file0":"1327519330"},"map_files_photo_id_array":[{"photo_id":"1327519348","filename":"file2"},{"photo_id":"1327519344","filename":"file1"},{"photo_id":"1327519330","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519348":["hashtag1","hashtag2"]},{"1327519330":["hashtag1","hashtag2"]},{"1327519344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519348, 1327519330, 1327519344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.57133603096008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:32:02.463336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:32:22.031230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0003.jpg', '/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0000.jpg', '/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0001.jpg', '/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/31/image_08012025_20_31_03_079859_0003.jpg
/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0000.jpg
/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0001.jpg
/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519393","1327519396","1327519389","1327519401"],"photo_ids_order":["1327519389","1327519393","1327519396","1327519401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03e8271a574ecfef1fc1a2d9f6e2191f.jpg","text":"TemporaryFile(/tmp/multipartBody3786426594726061720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364812274,"filename":"image_08012025_20_32_02_274197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eaccbed509de911bf741731b84f0ee49.jpg","text":"TemporaryFile(/tmp/multipartBody1573059773528908079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364812274,"filename":"image_08012025_20_32_02_274197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/758c913df0004a253e56ff97d1cd5128.jpg","text":"TemporaryFile(/tmp/multipartBody4580289496876795657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364812274,"filename":"image_08012025_20_31_03_079859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/025df442ea0d718892b5ac93165e4b53.jpg","text":"TemporaryFile(/tmp/multipartBody6962699110991926910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364812274,"filename":"image_08012025_20_32_02_274197_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519396","file1":"1327519393","file0":"1327519389","file3":"1327519401"},"map_files_photo_id_array":[{"photo_id":"1327519396","filename":"file2"},{"photo_id":"1327519393","filename":"file1"},{"photo_id":"1327519389","filename":"file0"},{"photo_id":"1327519401","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519393":["hashtag1","hashtag2"]},{"1327519396":["hashtag1","hashtag2"]},{"1327519389":["hashtag1","hashtag2"]},{"1327519401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519393, 1327519396, 1327519389, 1327519401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90921115875244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:33:02.759909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:33:22.240662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0003.jpg', '/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0000.jpg', '/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0001.jpg', '/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/32/image_08012025_20_32_02_274197_0003.jpg
/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0000.jpg
/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0001.jpg
/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327519544","1327519479","1327519467","1327519475"],"photo_ids_order":["1327519467","1327519475","1327519479","1327519544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23e2d38e981dee55784cfd748baf9afe.jpg","text":"TemporaryFile(/tmp/multipartBody3477117386919791474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364872459,"filename":"image_08012025_20_33_02_366877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f115d18fc1244fdb3382f7a3d6f8077.jpg","text":"TemporaryFile(/tmp/multipartBody2354950112833250681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364872459,"filename":"image_08012025_20_33_02_366877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2fdb68974b9ba1bc136ae4df6eb7452d.jpg","text":"TemporaryFile(/tmp/multipartBody5291662429264022473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364872459,"filename":"image_08012025_20_32_02_274197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92d50aa5956c82f72b9e4d93237f89e4.jpg","text":"TemporaryFile(/tmp/multipartBody2708453818163700591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364872459,"filename":"image_08012025_20_33_02_366877_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327519479","file1":"1327519475","file0":"1327519467","file3":"1327519544"},"map_files_photo_id_array":[{"photo_id":"1327519479","filename":"file2"},{"photo_id":"1327519475","filename":"file1"},{"photo_id":"1327519467","filename":"file0"},{"photo_id":"1327519544","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327519544":["hashtag1","hashtag2"]},{"1327519479":["hashtag1","hashtag2"]},{"1327519467":["hashtag1","hashtag2"]},{"1327519475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327519544, 1327519479, 1327519467, 1327519475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16484832763672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:34:02.889770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:34:22.352657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0003.jpg', '/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0000.jpg', '/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/33/image_08012025_20_33_02_366877_0003.jpg
/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0000.jpg
/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327520101","1327520088","1327520025"],"photo_ids_order":["1327520025","1327520088","1327520101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9f8f5e1b852dd3546df21920994624e.jpg","text":"TemporaryFile(/tmp/multipartBody8231787412356941628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364930084,"filename":"image_08012025_20_34_02_532854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/823f8d9aae32b4d394cc8d0098f39876.jpg","text":"TemporaryFile(/tmp/multipartBody6149375136395558391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364930084,"filename":"image_08012025_20_34_02_532854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e34d5d140876ac454ffacbb443f45b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2596682043162622995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364930084,"filename":"image_08012025_20_33_02_366877_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327520101","file1":"1327520088","file0":"1327520025"},"map_files_photo_id_array":[{"photo_id":"1327520101","filename":"file2"},{"photo_id":"1327520088","filename":"file1"},{"photo_id":"1327520025","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327520101":["hashtag1","hashtag2"]},{"1327520088":["hashtag1","hashtag2"]},{"1327520025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327520101, 1327520088, 1327520025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.822224855422974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:35:03.180215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:35:22.619510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0003.jpg', '/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0001.jpg', '/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/34/image_08012025_20_34_02_532854_0003.jpg
/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0001.jpg
/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327520203","1327520196","1327520192"],"photo_ids_order":["1327520192","1327520196","1327520203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41646714385b516f90c900f015b86fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6211337760975464303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364990377,"filename":"image_08012025_20_35_02_752402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aaef40ff8ffe5a5ab496569bbfe8c625.jpg","text":"TemporaryFile(/tmp/multipartBody3732006711140915361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364990377,"filename":"image_08012025_20_35_02_752402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14645d200aadd138e8d57b2c8a090d87.jpg","text":"TemporaryFile(/tmp/multipartBody6833923249633057075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736364990377,"filename":"image_08012025_20_34_02_532854_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327520203","file1":"1327520196","file0":"1327520192"},"map_files_photo_id_array":[{"photo_id":"1327520203","filename":"file2"},{"photo_id":"1327520196","filename":"file1"},{"photo_id":"1327520192","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327520203":["hashtag1","hashtag2"]},{"1327520196":["hashtag1","hashtag2"]},{"1327520192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327520203, 1327520196, 1327520192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.740398406982422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:36:03.121302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:36:22.750955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0003.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0000.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0001.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0003.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0000.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0001.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.799588441848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:36:42.740146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0003.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0000.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0001.jpg', '/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/35/image_08012025_20_35_02_752402_0003.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0000.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0001.jpg
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327521701","1327521326","1327521667","1327521459"],"photo_ids_order":["1327521326","1327521459","1327521667","1327521701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c8753ca026613195c595035086d5435.jpg","text":"TemporaryFile(/tmp/multipartBody736543555163222838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365072911,"filename":"image_08012025_20_36_02_974000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b82e72499cce772b632c1d6c98c534ce.jpg","text":"TemporaryFile(/tmp/multipartBody356022233237968337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365072911,"filename":"image_08012025_20_35_02_752402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e996a24a8bafab52505f1ef6f5c7da3.jpg","text":"TemporaryFile(/tmp/multipartBody886877054294778326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365072911,"filename":"image_08012025_20_36_02_974000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b01487aa89d1c05b0a0bf49cb1b38e75.jpg","text":"TemporaryFile(/tmp/multipartBody7857836114006769939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365072911,"filename":"image_08012025_20_36_02_974000_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327521667","file1":"1327521459","file0":"1327521326","file3":"1327521701"},"map_files_photo_id_array":[{"photo_id":"1327521667","filename":"file2"},{"photo_id":"1327521459","filename":"file1"},{"photo_id":"1327521326","filename":"file0"},{"photo_id":"1327521701","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327521701":["hashtag1","hashtag2"]},{"1327521326":["hashtag1","hashtag2"]},{"1327521667":["hashtag1","hashtag2"]},{"1327521459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327521701, 1327521326, 1327521667, 1327521459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97083401679993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:37:31.872813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0003.jpg', '/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0000.jpg', '/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0001.jpg', '/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/36/image_08012025_20_36_02_974000_0003.jpg
/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0000.jpg
/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0001.jpg
/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327521874","1327521868","1327521882","1327521878"],"photo_ids_order":["1327521868","1327521874","1327521878","1327521882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c03561039fdac45ac9a9bd314286914f.jpg","text":"TemporaryFile(/tmp/multipartBody1137102905426330845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365122041,"filename":"image_08012025_20_37_03_099524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99bd5874ad4df7478d70558e978cf435.jpg","text":"TemporaryFile(/tmp/multipartBody8480151888618963971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365122041,"filename":"image_08012025_20_36_02_974000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/457b5bac0f54385f31aa52ca8f9454bb.jpg","text":"TemporaryFile(/tmp/multipartBody4709635301514360643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365122041,"filename":"image_08012025_20_37_03_099524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81bbca6385b9a34e4705f0e5dc467005.jpg","text":"TemporaryFile(/tmp/multipartBody8915835845661041486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365122041,"filename":"image_08012025_20_37_03_099524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327521878","file1":"1327521874","file0":"1327521868","file3":"1327521882"},"map_files_photo_id_array":[{"photo_id":"1327521878","filename":"file2"},{"photo_id":"1327521874","filename":"file1"},{"photo_id":"1327521868","filename":"file0"},{"photo_id":"1327521882","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327521874":["hashtag1","hashtag2"]},{"1327521868":["hashtag1","hashtag2"]},{"1327521882":["hashtag1","hashtag2"]},{"1327521878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327521874, 1327521868, 1327521882, 1327521878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50934863090515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:38:22.076876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/37/image_08012025_20_37_03_099524_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327522027"],"photo_id":"1327522027","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2cc946234889c1f0dfe2c7bea97319da.jpg","text":"TemporaryFile(/tmp/multipartBody3024151221872427412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365165079,"filename":"image_08012025_20_37_03_099524_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327522027"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327522027"}],"hashtags":[],"portfolio_id":"19463093","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.370527982711792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 20:38:42.072532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:38:52.006099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:39:02.816656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:39:22.189524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/38/image_08012025_20_38_02_264494_0003.jpg', '/home/pi/Desktop/images/08012025/20/39/image_08012025_20_39_02_402408_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/38/image_08012025_20_38_02_264494_0003.jpg
/home/pi/Desktop/images/08012025/20/39/image_08012025_20_39_02_402408_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":["1327522120","1327522123"],"photo_ids_order":["1327522120","1327522123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/98e6f1eaa41ca1401789af6a56eb159f.jpg","text":"TemporaryFile(/tmp/multipartBody8055849271162660942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365227588,"filename":"image_08012025_20_38_02_264494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cf6216f2938fbe6dc41ea5d5ada730b.jpg","text":"TemporaryFile(/tmp/multipartBody9071891127709640614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365227588,"filename":"image_08012025_20_39_02_402408_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327522123","file0":"1327522120"},"map_files_photo_id_array":[{"photo_id":"1327522123","filename":"file1"},{"photo_id":"1327522120","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327522120":["hashtag1","hashtag2"]},{"1327522123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327522120, 1327522123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.23862338066101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:39:52.205880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:40:02.747882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:40:22.459198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/39/image_08012025_20_39_02_402408_0003.jpg', '/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0000.jpg', '/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0001.jpg', '/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/39/image_08012025_20_39_02_402408_0003.jpg
/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0000.jpg
/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0001.jpg
/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327522180","1327522183","1327522186","1327522199"],"photo_ids_order":["1327522180","1327522183","1327522186","1327522199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5546a630971ca99f7ada8f8cd8cf6e9e.jpg","text":"TemporaryFile(/tmp/multipartBody566469090325558956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365292576,"filename":"image_08012025_20_39_02_402408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adaf5cf1a3fab4c3f784e9ee66ff15f6.jpg","text":"TemporaryFile(/tmp/multipartBody7505855952622378134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365292576,"filename":"image_08012025_20_40_02_676242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4653131e78a614df689aaeffb1a41083.jpg","text":"TemporaryFile(/tmp/multipartBody3250663407869970056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365292576,"filename":"image_08012025_20_40_02_676242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70d26bacafcb60a21dd1baa91e0526a4.jpg","text":"TemporaryFile(/tmp/multipartBody939264335354150668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365292576,"filename":"image_08012025_20_40_02_676242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327522186","file1":"1327522183","file0":"1327522180","file3":"1327522199"},"map_files_photo_id_array":[{"photo_id":"1327522186","filename":"file2"},{"photo_id":"1327522183","filename":"file1"},{"photo_id":"1327522180","filename":"file0"},{"photo_id":"1327522199","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327522180":["hashtag1","hashtag2"]},{"1327522183":["hashtag1","hashtag2"]},{"1327522186":["hashtag1","hashtag2"]},{"1327522199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327522180, 1327522183, 1327522186, 1327522199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33773589134216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:41:03.410389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:41:22.605380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0003.jpg', '/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0000.jpg', '/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/40/image_08012025_20_40_02_676242_0003.jpg
/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0000.jpg
/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327523253","1327523019","1327523386"],"photo_ids_order":["1327523019","1327523253","1327523386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d08a7dd7bd1e6c97327210ec4adb511.jpg","text":"TemporaryFile(/tmp/multipartBody7631701597575844900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365350510,"filename":"image_08012025_20_41_02_789975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab15e4f1fb5467df119f32c6f9dd87df.jpg","text":"TemporaryFile(/tmp/multipartBody5581141856206559892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365350510,"filename":"image_08012025_20_40_02_676242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84049c503c8f10fa700b8381316ddfeb.jpg","text":"TemporaryFile(/tmp/multipartBody7777052567454725291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365350510,"filename":"image_08012025_20_41_02_789975_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327523386","file1":"1327523253","file0":"1327523019"},"map_files_photo_id_array":[{"photo_id":"1327523386","filename":"file2"},{"photo_id":"1327523253","filename":"file1"},{"photo_id":"1327523019","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327523253":["hashtag1","hashtag2"]},{"1327523019":["hashtag1","hashtag2"]},{"1327523386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327523253, 1327523019, 1327523386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.561476230621338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:42:02.154550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:42:21.768105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0003.jpg', '/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_0000.jpg', '/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/41/image_08012025_20_41_02_789975_0003.jpg
/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_0000.jpg
/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_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":["1327523508","1327523432","1327523467"],"photo_ids_order":["1327523432","1327523467","1327523508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f50fc36e4a825e26653f313f3cad825.jpg","text":"TemporaryFile(/tmp/multipartBody5854087419131712717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365409476,"filename":"image_08012025_20_42_02_989251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/747202fd38adb28f1371c8a7162e871a.jpg","text":"TemporaryFile(/tmp/multipartBody1243351148484756394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365409476,"filename":"image_08012025_20_41_02_789975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bdd0bd26bbf1fb31312f478e7b01d790.jpg","text":"TemporaryFile(/tmp/multipartBody5416883715577950132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365409476,"filename":"image_08012025_20_42_02_989251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327523508","file1":"1327523467","file0":"1327523432"},"map_files_photo_id_array":[{"photo_id":"1327523508","filename":"file2"},{"photo_id":"1327523467","filename":"file1"},{"photo_id":"1327523432","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327523508":["hashtag1","hashtag2"]},{"1327523432":["hashtag1","hashtag2"]},{"1327523467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327523508, 1327523432, 1327523467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.867215871810913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:43:02.578650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:43:21.971929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_0003.jpg', '/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0001.jpg', '/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/42/image_08012025_20_42_02_989251_0003.jpg
/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0001.jpg
/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327523949","1327523930","1327523927"],"photo_ids_order":["1327523927","1327523930","1327523949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f4509d6a14ea8a81d531f69a2581c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8401936799245537814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365469708,"filename":"image_08012025_20_43_02_164975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7fd160db129e3c0abd15142337c12b16.jpg","text":"TemporaryFile(/tmp/multipartBody4380359684189181957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365469708,"filename":"image_08012025_20_43_02_164975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e2a0d6702fdd7b0f7b94e54079fee4f.jpg","text":"TemporaryFile(/tmp/multipartBody8180283151696702197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365469708,"filename":"image_08012025_20_42_02_989251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327523949","file1":"1327523930","file0":"1327523927"},"map_files_photo_id_array":[{"photo_id":"1327523949","filename":"file2"},{"photo_id":"1327523930","filename":"file1"},{"photo_id":"1327523927","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327523949":["hashtag1","hashtag2"]},{"1327523930":["hashtag1","hashtag2"]},{"1327523927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327523949, 1327523930, 1327523927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.27889704704285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:44:02.582070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:44:22.163165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0003.jpg', '/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0001.jpg', '/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0003.jpg
/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0001.jpg
/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.307227849960327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:44:32.107856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0003.jpg', '/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0001.jpg', '/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/43/image_08012025_20_43_02_164975_0003.jpg
/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0001.jpg
/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327524259","1327524505","1327524514"],"photo_ids_order":["1327524259","1327524505","1327524514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/979ae935793ce4345a97bdd1269824ab.jpg","text":"TemporaryFile(/tmp/multipartBody439328310434424465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365539817,"filename":"image_08012025_20_43_02_164975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6464b6c7889e3bd26b25c3e674a9a61f.jpg","text":"TemporaryFile(/tmp/multipartBody6932402394005738521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365539817,"filename":"image_08012025_20_44_02_383703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72250926f86d0f9b02303bd65e1c7410.jpg","text":"TemporaryFile(/tmp/multipartBody4597661233750380411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365539817,"filename":"image_08012025_20_44_02_383703_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524514","file1":"1327524505","file0":"1327524259"},"map_files_photo_id_array":[{"photo_id":"1327524514","filename":"file2"},{"photo_id":"1327524505","filename":"file1"},{"photo_id":"1327524259","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524259":["hashtag1","hashtag2"]},{"1327524505":["hashtag1","hashtag2"]},{"1327524514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524259, 1327524505, 1327524514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.275344848632812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:45:22.346916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0003.jpg', '/home/pi/Desktop/images/08012025/20/45/image_08012025_20_45_02_506129_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/44/image_08012025_20_44_02_383703_0003.jpg
/home/pi/Desktop/images/08012025/20/45/image_08012025_20_45_02_506129_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":["1327524539","1327524535"],"photo_ids_order":["1327524535","1327524539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/db6d3ef0cd609248af48a76f9bfc5afc.jpg","text":"TemporaryFile(/tmp/multipartBody8033648016625058394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365587718,"filename":"image_08012025_20_45_02_506129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a45c69306ca42b8fa5c5c9da7a77e510.jpg","text":"TemporaryFile(/tmp/multipartBody9119882242779146497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365587718,"filename":"image_08012025_20_44_02_383703_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327524539","file0":"1327524535"},"map_files_photo_id_array":[{"photo_id":"1327524539","filename":"file1"},{"photo_id":"1327524535","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524539":["hashtag1","hashtag2"]},{"1327524535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524539, 1327524535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.933303833007812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:45:52.415397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:46:03.023224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:46:22.638512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/45/image_08012025_20_45_02_506129_0003.jpg', '/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0000.jpg', '/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0001.jpg', '/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/45/image_08012025_20_45_02_506129_0003.jpg
/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0000.jpg
/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0001.jpg
/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327524599","1327524592","1327524595","1327524604"],"photo_ids_order":["1327524592","1327524595","1327524599","1327524604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b63e3ff4be630b378be2ef3b329bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody3190382343409341586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365652719,"filename":"image_08012025_20_46_02_725736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27e2698cc179e563f2e88fd9adde091e.jpg","text":"TemporaryFile(/tmp/multipartBody2347137065716036632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365652719,"filename":"image_08012025_20_45_02_506129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6070769012393e6148ff5ac00df42589.jpg","text":"TemporaryFile(/tmp/multipartBody2897296063272103203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365652719,"filename":"image_08012025_20_46_02_725736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6875db1eb26300af55521ca3a11ba34e.jpg","text":"TemporaryFile(/tmp/multipartBody8437615725905190073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365652719,"filename":"image_08012025_20_46_02_725736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524599","file1":"1327524595","file0":"1327524592","file3":"1327524604"},"map_files_photo_id_array":[{"photo_id":"1327524599","filename":"file2"},{"photo_id":"1327524595","filename":"file1"},{"photo_id":"1327524592","filename":"file0"},{"photo_id":"1327524604","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524599":["hashtag1","hashtag2"]},{"1327524592":["hashtag1","hashtag2"]},{"1327524595":["hashtag1","hashtag2"]},{"1327524604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524599, 1327524592, 1327524595, 1327524604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.903759479522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:47:22.865325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0003.jpg', '/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_0000.jpg', '/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/46/image_08012025_20_46_02_725736_0003.jpg
/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_0000.jpg
/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_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":["1327524649","1327524643","1327524646"],"photo_ids_order":["1327524643","1327524646","1327524649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8316947bebab099c9d8a1f4878232ce0.jpg","text":"TemporaryFile(/tmp/multipartBody358531347788222676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365710566,"filename":"image_08012025_20_47_03_015439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/520bab122162665c0aeab4fa145bfef4.jpg","text":"TemporaryFile(/tmp/multipartBody8360821914666352501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365710566,"filename":"image_08012025_20_46_02_725736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b436395fc6f62b86c9289056f8a42976.jpg","text":"TemporaryFile(/tmp/multipartBody7757505750944908042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365710566,"filename":"image_08012025_20_47_03_015439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524649","file1":"1327524646","file0":"1327524643"},"map_files_photo_id_array":[{"photo_id":"1327524649","filename":"file2"},{"photo_id":"1327524646","filename":"file1"},{"photo_id":"1327524643","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524649":["hashtag1","hashtag2"]},{"1327524643":["hashtag1","hashtag2"]},{"1327524646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524649, 1327524643, 1327524646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.146854162216187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:48:02.324242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:48:21.976576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_0003.jpg', '/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0000.jpg', '/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0001.jpg', '/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/47/image_08012025_20_47_03_015439_0003.jpg
/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0000.jpg
/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0001.jpg
/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327524686","1327524691","1327524694","1327524696"],"photo_ids_order":["1327524686","1327524691","1327524694","1327524696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2479c905c2358d26a8159be686f45b11.jpg","text":"TemporaryFile(/tmp/multipartBody8135419100623021284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365772019,"filename":"image_08012025_20_47_03_015439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/22e6a738fe650202286a47cafe21e07e.jpg","text":"TemporaryFile(/tmp/multipartBody5814265920451929631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365772019,"filename":"image_08012025_20_48_03_131766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/391f55965735b06dd8d05535c559b46f.jpg","text":"TemporaryFile(/tmp/multipartBody8659621386539674310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365772019,"filename":"image_08012025_20_48_03_131766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/306ceb5596e24e1f1427833c96b8b737.jpg","text":"TemporaryFile(/tmp/multipartBody7477707730937619983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365772019,"filename":"image_08012025_20_48_03_131766_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524694","file1":"1327524691","file0":"1327524686","file3":"1327524696"},"map_files_photo_id_array":[{"photo_id":"1327524694","filename":"file2"},{"photo_id":"1327524691","filename":"file1"},{"photo_id":"1327524686","filename":"file0"},{"photo_id":"1327524696","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524686":["hashtag1","hashtag2"]},{"1327524691":["hashtag1","hashtag2"]},{"1327524694":["hashtag1","hashtag2"]},{"1327524696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524686, 1327524691, 1327524694, 1327524696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.613099575042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:49:02.767150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:49:22.159706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0003.jpg', '/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_0000.jpg', '/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/48/image_08012025_20_48_03_131766_0003.jpg
/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_0000.jpg
/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_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":["1327524798","1327524761","1327524781"],"photo_ids_order":["1327524761","1327524781","1327524798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/25885d8d43663298c36695bcfd8f4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8050989638424626461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365829857,"filename":"image_08012025_20_49_02_321546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4602477b0fe290a807852b78778ab707.jpg","text":"TemporaryFile(/tmp/multipartBody4846722178598489134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365829857,"filename":"image_08012025_20_48_03_131766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/349228e45f34211044589f8e35ee28c6.jpg","text":"TemporaryFile(/tmp/multipartBody4008246776812419150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365829857,"filename":"image_08012025_20_49_02_321546_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524798","file1":"1327524781","file0":"1327524761"},"map_files_photo_id_array":[{"photo_id":"1327524798","filename":"file2"},{"photo_id":"1327524781","filename":"file1"},{"photo_id":"1327524761","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524798":["hashtag1","hashtag2"]},{"1327524761":["hashtag1","hashtag2"]},{"1327524781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524798, 1327524761, 1327524781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.31723403930664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:50:02.804119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:50:22.330144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_0003.jpg', '/home/pi/Desktop/images/08012025/20/50/image_08012025_20_50_02_514313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/49/image_08012025_20_49_02_321546_0003.jpg
/home/pi/Desktop/images/08012025/20/50/image_08012025_20_50_02_514313_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":["1327524866","1327524868"],"photo_ids_order":["1327524866","1327524868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3c5d14dc109c486bf18ffbe548b9a74.jpg","text":"TemporaryFile(/tmp/multipartBody2675540814049566645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365887686,"filename":"image_08012025_20_49_02_321546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/676ea1e3f5a23b4ed9cc4dba03d19c76.jpg","text":"TemporaryFile(/tmp/multipartBody4394929260027577016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365887686,"filename":"image_08012025_20_50_02_514313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327524868","file0":"1327524866"},"map_files_photo_id_array":[{"photo_id":"1327524868","filename":"file1"},{"photo_id":"1327524866","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524866":["hashtag1","hashtag2"]},{"1327524868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524866, 1327524868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.155996561050415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:50:52.321059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:51:03.013116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:51:22.492676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/50/image_08012025_20_50_02_514313_0003.jpg', '/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0000.jpg', '/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/50/image_08012025_20_50_02_514313_0003.jpg
/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0000.jpg
/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327524971","1327524956","1327524946"],"photo_ids_order":["1327524946","1327524956","1327524971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b74fb2fc9744db64355e56b462688021.jpg","text":"TemporaryFile(/tmp/multipartBody3053074688307393824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365950173,"filename":"image_08012025_20_51_02_665299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f855db7d70c0d4857023d3b689ad0d30.jpg","text":"TemporaryFile(/tmp/multipartBody8105637784788131699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365950173,"filename":"image_08012025_20_51_02_665299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d19a0f25ab35608297317e391323a163.jpg","text":"TemporaryFile(/tmp/multipartBody7092591309272302343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736365950173,"filename":"image_08012025_20_50_02_514313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327524971","file1":"1327524956","file0":"1327524946"},"map_files_photo_id_array":[{"photo_id":"1327524971","filename":"file2"},{"photo_id":"1327524956","filename":"file1"},{"photo_id":"1327524946","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327524971":["hashtag1","hashtag2"]},{"1327524956":["hashtag1","hashtag2"]},{"1327524946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327524971, 1327524956, 1327524946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.75217032432556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:52:03.100578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:52:22.698084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_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.623446226119995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:52:32.675819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/51/image_08012025_20_51_02_665299_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327525040"],"photo_id":"1327525040","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b43827aadf4ea21aa5438c53ca54fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody4427440517827689939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366015706,"filename":"image_08012025_20_51_02_665299_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327525040"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327525040"}],"hashtags":[],"portfolio_id":"19463093","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.051176309585571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 20:52:52.644761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:53:02.332737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:53:21.821730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/52/image_08012025_20_52_02_962134_0003.jpg', '/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0000.jpg', '/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0001.jpg', '/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/52/image_08012025_20_52_02_962134_0003.jpg
/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0000.jpg
/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0001.jpg
/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327525094","1327525090","1327525098","1327525092"],"photo_ids_order":["1327525090","1327525092","1327525094","1327525098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/afcb3fae3deb8736222d96f8373520ce.jpg","text":"TemporaryFile(/tmp/multipartBody5538405905136300784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366071837,"filename":"image_08012025_20_53_03_075450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d27874dbb7775332bc2aabe5eaf99a38.jpg","text":"TemporaryFile(/tmp/multipartBody5873632044215840606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366071837,"filename":"image_08012025_20_52_02_962134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6514ff2f516a625ba559deab2d5b98d9.jpg","text":"TemporaryFile(/tmp/multipartBody6386721351324964494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366071837,"filename":"image_08012025_20_53_03_075450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f7c34ffdf76a79acf7b761e8e46fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4334360800334908897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366071837,"filename":"image_08012025_20_53_03_075450_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525094","file1":"1327525092","file0":"1327525090","file3":"1327525098"},"map_files_photo_id_array":[{"photo_id":"1327525094","filename":"file2"},{"photo_id":"1327525092","filename":"file1"},{"photo_id":"1327525090","filename":"file0"},{"photo_id":"1327525098","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525094":["hashtag1","hashtag2"]},{"1327525090":["hashtag1","hashtag2"]},{"1327525098":["hashtag1","hashtag2"]},{"1327525092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525094, 1327525090, 1327525098, 1327525092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69302940368652 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-08 20:54:22.052263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0003.jpg', '/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_0000.jpg', '/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/53/image_08012025_20_53_03_075450_0003.jpg
/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_0000.jpg
/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_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":["1327525109","1327525106","1327525111"],"photo_ids_order":["1327525106","1327525109","1327525111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/914a941c5af6f1570b8deb6eec369979.jpg","text":"TemporaryFile(/tmp/multipartBody6068583093717976917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366129738,"filename":"image_08012025_20_54_02_194262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b02a08c3673d8af3db3fee3f92c3106.jpg","text":"TemporaryFile(/tmp/multipartBody6368357351970089324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366129738,"filename":"image_08012025_20_53_03_075450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/31808db062d26e1b7d835fb4a16bee01.jpg","text":"TemporaryFile(/tmp/multipartBody5425367125459584108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366129738,"filename":"image_08012025_20_54_02_194262_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525111","file1":"1327525109","file0":"1327525106"},"map_files_photo_id_array":[{"photo_id":"1327525111","filename":"file2"},{"photo_id":"1327525109","filename":"file1"},{"photo_id":"1327525106","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525109":["hashtag1","hashtag2"]},{"1327525106":["hashtag1","hashtag2"]},{"1327525111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525109, 1327525106, 1327525111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.67233419418335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:55:02.885674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:55:22.238861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_0003.jpg', '/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0000.jpg', '/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0001.jpg', '/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/54/image_08012025_20_54_02_194262_0003.jpg
/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0000.jpg
/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0001.jpg
/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327525195","1327525198","1327525177","1327525179"],"photo_ids_order":["1327525177","1327525179","1327525195","1327525198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b181cb8b5b7daf36c9743e961786c16.jpg","text":"TemporaryFile(/tmp/multipartBody1020009117726456426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366192293,"filename":"image_08012025_20_55_02_372840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d413bd9daaa944259d9bd41ecb2a00d3.jpg","text":"TemporaryFile(/tmp/multipartBody2155656036710758098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366192293,"filename":"image_08012025_20_55_02_372840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca41386ff5dcae4afa33208a934dc6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4196045086031229333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366192293,"filename":"image_08012025_20_54_02_194262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fa27daaa41599d32c9c94a5c1af5946.jpg","text":"TemporaryFile(/tmp/multipartBody677898235781896561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366192293,"filename":"image_08012025_20_55_02_372840_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525195","file1":"1327525179","file0":"1327525177","file3":"1327525198"},"map_files_photo_id_array":[{"photo_id":"1327525195","filename":"file2"},{"photo_id":"1327525179","filename":"file1"},{"photo_id":"1327525177","filename":"file0"},{"photo_id":"1327525198","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525195":["hashtag1","hashtag2"]},{"1327525198":["hashtag1","hashtag2"]},{"1327525177":["hashtag1","hashtag2"]},{"1327525179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525195, 1327525198, 1327525177, 1327525179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93856716156006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:56:22.573423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0003.jpg', '/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_0000.jpg', '/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/55/image_08012025_20_55_02_372840_0003.jpg
/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_0000.jpg
/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_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":["1327525245","1327525227","1327525217"],"photo_ids_order":["1327525217","1327525227","1327525245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a086fa22725c2723e60ddb569bc3d6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1814328416997677432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366250270,"filename":"image_08012025_20_56_02_678709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39b89e5888ca874e8472b6d68bbf1991.jpg","text":"TemporaryFile(/tmp/multipartBody3650264511127829212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366250270,"filename":"image_08012025_20_56_02_678709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/968577749ee9057968dbe58c4f6dadda.jpg","text":"TemporaryFile(/tmp/multipartBody1561817724377264885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366250270,"filename":"image_08012025_20_55_02_372840_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525245","file1":"1327525227","file0":"1327525217"},"map_files_photo_id_array":[{"photo_id":"1327525245","filename":"file2"},{"photo_id":"1327525227","filename":"file1"},{"photo_id":"1327525217","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525245":["hashtag1","hashtag2"]},{"1327525227":["hashtag1","hashtag2"]},{"1327525217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525245, 1327525227, 1327525217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.58280920982361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:57:03.131229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 20:57:22.668042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_0003.jpg', '/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_0000.jpg', '/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/56/image_08012025_20_56_02_678709_0003.jpg
/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_0000.jpg
/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_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":["1327525752","1327525780","1327525738"],"photo_ids_order":["1327525738","1327525752","1327525780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d56c4a66ad8988305e2f35cfe58a15a.jpg","text":"TemporaryFile(/tmp/multipartBody9059862019588419102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366310354,"filename":"image_08012025_20_57_02_866292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1e7c6d3804134a88ab1f5cbeebb0508.jpg","text":"TemporaryFile(/tmp/multipartBody2990334288329356601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366310354,"filename":"image_08012025_20_57_02_866292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a4035a02e6c408318dcbc0e15e124905.jpg","text":"TemporaryFile(/tmp/multipartBody9108979862147103898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366310354,"filename":"image_08012025_20_56_02_678709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525780","file1":"1327525752","file0":"1327525738"},"map_files_photo_id_array":[{"photo_id":"1327525780","filename":"file2"},{"photo_id":"1327525752","filename":"file1"},{"photo_id":"1327525738","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525752":["hashtag1","hashtag2"]},{"1327525780":["hashtag1","hashtag2"]},{"1327525738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525752, 1327525780, 1327525738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.870686769485474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 20:59:02.599831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_0003.jpg', '/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0000.jpg', '/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0001.jpg', '/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/57/image_08012025_20_57_02_866292_0003.jpg
/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0000.jpg
/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0001.jpg
/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327525938","1327525927","1327525921","1327525914"],"photo_ids_order":["1327525914","1327525921","1327525927","1327525938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b52391d01389bd53ac3bf73163cc7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5163933163764375136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366412685,"filename":"image_08012025_20_58_02_999493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/87b25ace9aa8e30fcf634bf1f07bf2d3.jpg","text":"TemporaryFile(/tmp/multipartBody6333423807574705556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366412685,"filename":"image_08012025_20_58_02_999493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8aaeea752b4247ab07966d7cae3daf41.jpg","text":"TemporaryFile(/tmp/multipartBody9020996508593385619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366412685,"filename":"image_08012025_20_58_02_999493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/597d224dc613bfd88fa26be2701f0bde.jpg","text":"TemporaryFile(/tmp/multipartBody7084660026139358777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366412685,"filename":"image_08012025_20_57_02_866292_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327525927","file1":"1327525921","file0":"1327525914","file3":"1327525938"},"map_files_photo_id_array":[{"photo_id":"1327525927","filename":"file2"},{"photo_id":"1327525921","filename":"file1"},{"photo_id":"1327525914","filename":"file0"},{"photo_id":"1327525938","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327525938":["hashtag1","hashtag2"]},{"1327525927":["hashtag1","hashtag2"]},{"1327525921":["hashtag1","hashtag2"]},{"1327525914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327525938, 1327525927, 1327525921, 1327525914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73877549171448 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-08 20:59:51.943439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0003.jpg', '/home/pi/Desktop/images/08012025/20/59/image_08012025_20_59_03_134733_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/58/image_08012025_20_58_02_999493_0003.jpg
/home/pi/Desktop/images/08012025/20/59/image_08012025_20_59_03_134733_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327526021","1327526015"],"photo_ids_order":["1327526015","1327526021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cc8fcadceec42de3d57950fa9666062.jpg","text":"TemporaryFile(/tmp/multipartBody1984373680000797485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366457317,"filename":"image_08012025_20_59_03_134733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e16e5a4ffcd10eef6753dcc823280a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7357108853741325135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366457317,"filename":"image_08012025_20_58_02_999493_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327526021","file0":"1327526015"},"map_files_photo_id_array":[{"photo_id":"1327526021","filename":"file1"},{"photo_id":"1327526015","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327526021":["hashtag1","hashtag2"]},{"1327526015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327526021, 1327526015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.382940769195557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:00:22.215636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/20/59/image_08012025_20_59_03_134733_0003.jpg', '/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0000.jpg', '/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0001.jpg', '/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/20/59/image_08012025_20_59_03_134733_0003.jpg
/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0000.jpg
/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0001.jpg
/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327526099","1327526083","1327526110","1327526085"],"photo_ids_order":["1327526083","1327526085","1327526099","1327526110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c6bed29bca692caa15130d2ded008a8.jpg","text":"TemporaryFile(/tmp/multipartBody954607296870564295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366492254,"filename":"image_08012025_21_00_02_334678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/730e6ee533f44ca7f31f466ce26c6be1.jpg","text":"TemporaryFile(/tmp/multipartBody7051937376367010416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366492254,"filename":"image_08012025_20_59_03_134733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/97b41332a432a5792c24cbd94ff5f7e0.jpg","text":"TemporaryFile(/tmp/multipartBody7338653697673675519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366492254,"filename":"image_08012025_21_00_02_334678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e80b61c1f34e571d93fd79d89f5ef0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6832126445009659557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366492254,"filename":"image_08012025_21_00_02_334678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327526099","file1":"1327526085","file0":"1327526083","file3":"1327526110"},"map_files_photo_id_array":[{"photo_id":"1327526099","filename":"file2"},{"photo_id":"1327526085","filename":"file1"},{"photo_id":"1327526083","filename":"file0"},{"photo_id":"1327526110","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327526099":["hashtag1","hashtag2"]},{"1327526083":["hashtag1","hashtag2"]},{"1327526110":["hashtag1","hashtag2"]},{"1327526085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327526099, 1327526083, 1327526110, 1327526085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.920305013656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:01:03.087500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:01:22.353180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0003.jpg', '/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0000.jpg', '/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0001.jpg', '/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/00/image_08012025_21_00_02_334678_0003.jpg
/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0000.jpg
/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0001.jpg
/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327526180","1327526176","1327526175","1327526178"],"photo_ids_order":["1327526175","1327526176","1327526178","1327526180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73265296e8e07be6f0f9aeb56c5f15cb.jpg","text":"TemporaryFile(/tmp/multipartBody2678172167961488016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366552604,"filename":"image_08012025_21_01_02_514764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f770feeee6328d80d57ca4b5bc3247a.jpg","text":"TemporaryFile(/tmp/multipartBody8109018689528049707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366552604,"filename":"image_08012025_21_01_02_514764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13d769a9b77b6a0ef692df1004075c1e.jpg","text":"TemporaryFile(/tmp/multipartBody1848831031830791410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366552604,"filename":"image_08012025_21_00_02_334678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b63211cf2a785e349a31fa880fe8096.jpg","text":"TemporaryFile(/tmp/multipartBody8442686845100887407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366552604,"filename":"image_08012025_21_01_02_514764_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327526178","file1":"1327526176","file0":"1327526175","file3":"1327526180"},"map_files_photo_id_array":[{"photo_id":"1327526178","filename":"file2"},{"photo_id":"1327526176","filename":"file1"},{"photo_id":"1327526175","filename":"file0"},{"photo_id":"1327526180","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327526180":["hashtag1","hashtag2"]},{"1327526176":["hashtag1","hashtag2"]},{"1327526175":["hashtag1","hashtag2"]},{"1327526178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327526180, 1327526176, 1327526175, 1327526178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.142651319503784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:02:02.737720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:02:22.354790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0003.jpg', '/home/pi/Desktop/images/08012025/21/02/image_08012025_21_02_02_701618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/01/image_08012025_21_01_02_514764_0003.jpg
/home/pi/Desktop/images/08012025/21/02/image_08012025_21_02_02_701618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327526849","1327526740"],"photo_ids_order":["1327526740","1327526849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ca9a1687004757934fc3e493640c2f55.jpg","text":"TemporaryFile(/tmp/multipartBody5037231283101220219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366607733,"filename":"image_08012025_21_02_02_701618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b11da307203db79fa6d24ad096ad885.jpg","text":"TemporaryFile(/tmp/multipartBody6246336191415918110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366607733,"filename":"image_08012025_21_01_02_514764_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327526849","file0":"1327526740"},"map_files_photo_id_array":[{"photo_id":"1327526849","filename":"file1"},{"photo_id":"1327526740","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327526849":["hashtag1","hashtag2"]},{"1327526740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327526849, 1327526740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.23227858543396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 21:02:52.429618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:03:03.243149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:03:22.533670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/02/image_08012025_21_02_02_701618_0003.jpg', '/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0000.jpg', '/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0001.jpg', '/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/02/image_08012025_21_02_02_701618_0003.jpg
/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0000.jpg
/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0001.jpg
/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327526887","1327526911","1327527243","1327527563"],"photo_ids_order":["1327526887","1327526911","1327527243","1327527563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1858b1ea4bed22ed6c8fcee1467f3094.jpg","text":"TemporaryFile(/tmp/multipartBody8580720666027843499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366672685,"filename":"image_08012025_21_02_02_701618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d21e5515ac947cfe8dea43dd4d907e4.jpg","text":"TemporaryFile(/tmp/multipartBody4443359096922284009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366672685,"filename":"image_08012025_21_03_02_830675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e5c7c43ab4b445796efc64207a3d9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7784577270194654313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366672685,"filename":"image_08012025_21_03_02_830675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d51187da7042a4eeeeefebbb2d9a6cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4964404144629036697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366672685,"filename":"image_08012025_21_03_02_830675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327527243","file1":"1327526911","file0":"1327526887","file3":"1327527563"},"map_files_photo_id_array":[{"photo_id":"1327527243","filename":"file2"},{"photo_id":"1327526911","filename":"file1"},{"photo_id":"1327526887","filename":"file0"},{"photo_id":"1327527563","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327526887":["hashtag1","hashtag2"]},{"1327526911":["hashtag1","hashtag2"]},{"1327527243":["hashtag1","hashtag2"]},{"1327527563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327526887, 1327526911, 1327527243, 1327527563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94270944595337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:04:03.289973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:04:22.701117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0003.jpg', '/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0000.jpg', '/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/03/image_08012025_21_03_02_830675_0003.jpg
/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0000.jpg
/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327528299","1327528302","1327528340"],"photo_ids_order":["1327528299","1327528302","1327528340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c9bb68cbbabadf750efcf341ab14fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8207680529624272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366730467,"filename":"image_08012025_21_03_02_830675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4bd0dba89b6277dda1599b4ecc704f34.jpg","text":"TemporaryFile(/tmp/multipartBody3473355952787531405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366730467,"filename":"image_08012025_21_04_03_035037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e41fd74f4f5dbb6de222be2a078bd152.jpg","text":"TemporaryFile(/tmp/multipartBody2928525705383296913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366730467,"filename":"image_08012025_21_04_03_035037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327528340","file1":"1327528302","file0":"1327528299"},"map_files_photo_id_array":[{"photo_id":"1327528340","filename":"file2"},{"photo_id":"1327528302","filename":"file1"},{"photo_id":"1327528299","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327528299":["hashtag1","hashtag2"]},{"1327528302":["hashtag1","hashtag2"]},{"1327528340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327528299, 1327528302, 1327528340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.5355441570282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:05:02.488282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:05:21.963534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0003.jpg', '/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0000.jpg', '/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/04/image_08012025_21_04_03_035037_0003.jpg
/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0000.jpg
/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327528794","1327528740","1327528781"],"photo_ids_order":["1327528740","1327528781","1327528794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbeccdf1503f43dfee32a4e742e42533.jpg","text":"TemporaryFile(/tmp/multipartBody2798180436649783849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366789735,"filename":"image_08012025_21_05_03_061598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f77ecb4ae037eeff14317eef27b70975.jpg","text":"TemporaryFile(/tmp/multipartBody6574616684245588431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366789735,"filename":"image_08012025_21_04_03_035037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/23297d56d0084c005f3435d4bfb43927.jpg","text":"TemporaryFile(/tmp/multipartBody5404238778228529434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366789735,"filename":"image_08012025_21_05_03_061598_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327528794","file1":"1327528781","file0":"1327528740"},"map_files_photo_id_array":[{"photo_id":"1327528794","filename":"file2"},{"photo_id":"1327528781","filename":"file1"},{"photo_id":"1327528740","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327528794":["hashtag1","hashtag2"]},{"1327528740":["hashtag1","hashtag2"]},{"1327528781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327528794, 1327528740, 1327528781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.867594480514526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:06:02.605018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:06:22.125305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0003.jpg', '/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0000.jpg', '/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0001.jpg', '/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/05/image_08012025_21_05_03_061598_0003.jpg
/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0000.jpg
/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0001.jpg
/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327528876","1327528863","1327528862","1327528850"],"photo_ids_order":["1327528850","1327528862","1327528863","1327528876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/294272e7fe33e07e41e19bb1ee00f5f3.jpg","text":"TemporaryFile(/tmp/multipartBody2033791501826946866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366852227,"filename":"image_08012025_21_06_02_306555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07e23b70b25fc78cb879f0b8f5bcbb22.jpg","text":"TemporaryFile(/tmp/multipartBody8723716352691512643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366852227,"filename":"image_08012025_21_06_02_306555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb554e0b7bc1ef0229050946737d3f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8300312205304277714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366852227,"filename":"image_08012025_21_06_02_306555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c083cdc1872bff617f591394466152c0.jpg","text":"TemporaryFile(/tmp/multipartBody3632639267115230266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366852227,"filename":"image_08012025_21_05_03_061598_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327528863","file1":"1327528862","file0":"1327528850","file3":"1327528876"},"map_files_photo_id_array":[{"photo_id":"1327528863","filename":"file2"},{"photo_id":"1327528862","filename":"file1"},{"photo_id":"1327528850","filename":"file0"},{"photo_id":"1327528876","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327528876":["hashtag1","hashtag2"]},{"1327528863":["hashtag1","hashtag2"]},{"1327528862":["hashtag1","hashtag2"]},{"1327528850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327528876, 1327528863, 1327528862, 1327528850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.46223759651184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:07:02.899558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:07:22.392548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0003.jpg', '/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0000.jpg', '/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0001.jpg', '/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/06/image_08012025_21_06_02_306555_0003.jpg
/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0000.jpg
/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0001.jpg
/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327528998","1327528992","1327528997","1327528999"],"photo_ids_order":["1327528992","1327528997","1327528998","1327528999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c3bb6b3bf90c236be9b2d401d3da808.jpg","text":"TemporaryFile(/tmp/multipartBody453694429202038696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366912580,"filename":"image_08012025_21_07_02_503547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b9fd4116e6ddb6fc7bf9f07b13a47e8.jpg","text":"TemporaryFile(/tmp/multipartBody57504959390533730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366912580,"filename":"image_08012025_21_06_02_306555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7cec5bb80cd13094873b5fb0c0f7cf05.jpg","text":"TemporaryFile(/tmp/multipartBody8488586905437053599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366912580,"filename":"image_08012025_21_07_02_503547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6fec9965caa5b7c66aa358759b26f4a5.jpg","text":"TemporaryFile(/tmp/multipartBody7609371144453478629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366912580,"filename":"image_08012025_21_07_02_503547_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327528998","file1":"1327528997","file0":"1327528992","file3":"1327528999"},"map_files_photo_id_array":[{"photo_id":"1327528998","filename":"file2"},{"photo_id":"1327528997","filename":"file1"},{"photo_id":"1327528992","filename":"file0"},{"photo_id":"1327528999","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327528998":["hashtag1","hashtag2"]},{"1327528992":["hashtag1","hashtag2"]},{"1327528997":["hashtag1","hashtag2"]},{"1327528999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327528998, 1327528992, 1327528997, 1327528999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06489062309265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:08:02.856090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:08:22.489341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0003.jpg', '/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0000.jpg', '/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/07/image_08012025_21_07_02_503547_0003.jpg
/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0000.jpg
/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529010","1327529007","1327529009"],"photo_ids_order":["1327529007","1327529009","1327529010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76aca695e32d29e48ec45470a4feb623.jpg","text":"TemporaryFile(/tmp/multipartBody5839626555728465928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366970280,"filename":"image_08012025_21_08_02_666241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b22264d6e097ab378b43ce23d444e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7532408364562226191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366970280,"filename":"image_08012025_21_07_02_503547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9114879ba9d8c3725c4460f2c07ba0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3493551633262166672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736366970280,"filename":"image_08012025_21_08_02_666241_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529010","file1":"1327529009","file0":"1327529007"},"map_files_photo_id_array":[{"photo_id":"1327529010","filename":"file2"},{"photo_id":"1327529009","filename":"file1"},{"photo_id":"1327529007","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529010":["hashtag1","hashtag2"]},{"1327529007":["hashtag1","hashtag2"]},{"1327529009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529010, 1327529007, 1327529009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.040971517562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:09:02.324826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:09:21.838121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0003.jpg', '/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0000.jpg', '/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0001.jpg', '/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/08/image_08012025_21_08_02_666241_0003.jpg
/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0000.jpg
/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0001.jpg
/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529017","1327529022","1327529019","1327529018"],"photo_ids_order":["1327529017","1327529018","1327529019","1327529022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a54919a2bd42ec93d769aab065c0b81f.jpg","text":"TemporaryFile(/tmp/multipartBody6475580313486812127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367032060,"filename":"image_08012025_21_08_02_666241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9420128f5fbd67dc873eceb4d8759617.jpg","text":"TemporaryFile(/tmp/multipartBody5041777661565321296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367032060,"filename":"image_08012025_21_09_02_853666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05991a788b81aaa30056640f42ca188c.jpg","text":"TemporaryFile(/tmp/multipartBody6826355472534885619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367032060,"filename":"image_08012025_21_09_02_853666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d05afb8142a303fc4d80a097136a07b3.jpg","text":"TemporaryFile(/tmp/multipartBody1204413187598912614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367032060,"filename":"image_08012025_21_09_02_853666_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529019","file1":"1327529018","file0":"1327529017","file3":"1327529022"},"map_files_photo_id_array":[{"photo_id":"1327529019","filename":"file2"},{"photo_id":"1327529018","filename":"file1"},{"photo_id":"1327529017","filename":"file0"},{"photo_id":"1327529022","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529017":["hashtag1","hashtag2"]},{"1327529022":["hashtag1","hashtag2"]},{"1327529019":["hashtag1","hashtag2"]},{"1327529018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529017, 1327529022, 1327529019, 1327529018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74164581298828 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-08 21:10:22.161218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0003.jpg', '/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0000.jpg', '/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0001.jpg', '/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/09/image_08012025_21_09_02_853666_0003.jpg
/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0000.jpg
/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0001.jpg
/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529032","1327529028","1327529030","1327529029"],"photo_ids_order":["1327529028","1327529029","1327529030","1327529032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85f73f09a8b233c450050334e0b20465.jpg","text":"TemporaryFile(/tmp/multipartBody7540933277115628000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367092395,"filename":"image_08012025_21_10_02_162963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f08d5ef0cfe3f7b8bf24d39bc20a180.jpg","text":"TemporaryFile(/tmp/multipartBody3589273104178290519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367092395,"filename":"image_08012025_21_09_02_853666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b6f26f87247679da2baf22a66fabe7d.jpg","text":"TemporaryFile(/tmp/multipartBody5170961830762368232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367092395,"filename":"image_08012025_21_10_02_162963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f16458ecede14394410020c18328bca.jpg","text":"TemporaryFile(/tmp/multipartBody6442508424111454367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367092395,"filename":"image_08012025_21_10_02_162963_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529030","file1":"1327529029","file0":"1327529028","file3":"1327529032"},"map_files_photo_id_array":[{"photo_id":"1327529030","filename":"file2"},{"photo_id":"1327529029","filename":"file1"},{"photo_id":"1327529028","filename":"file0"},{"photo_id":"1327529032","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529032":["hashtag1","hashtag2"]},{"1327529028":["hashtag1","hashtag2"]},{"1327529030":["hashtag1","hashtag2"]},{"1327529029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529032, 1327529028, 1327529030, 1327529029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.730332136154175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:11:02.665026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:11:22.196817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0003.jpg', '/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0000.jpg', '/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0001.jpg', '/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/10/image_08012025_21_10_02_162963_0003.jpg
/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0000.jpg
/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0001.jpg
/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529122","1327529136","1327529109","1327529074"],"photo_ids_order":["1327529074","1327529109","1327529122","1327529136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4bdbc097e4dae02592516474e4d218ef.jpg","text":"TemporaryFile(/tmp/multipartBody9036039641510904377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367152569,"filename":"image_08012025_21_11_02_473595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c9b6bcaec5a890c3078667dfd96a267.jpg","text":"TemporaryFile(/tmp/multipartBody5360090087538242748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367152569,"filename":"image_08012025_21_11_02_473595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c941c931bbcdcff82505175df5f45d52.jpg","text":"TemporaryFile(/tmp/multipartBody2005320038734037209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367152569,"filename":"image_08012025_21_11_02_473595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1308437de431d60af8356162ad9d774d.jpg","text":"TemporaryFile(/tmp/multipartBody6665908307139834415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367152569,"filename":"image_08012025_21_10_02_162963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529122","file1":"1327529109","file0":"1327529074","file3":"1327529136"},"map_files_photo_id_array":[{"photo_id":"1327529122","filename":"file2"},{"photo_id":"1327529109","filename":"file1"},{"photo_id":"1327529074","filename":"file0"},{"photo_id":"1327529136","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529122":["hashtag1","hashtag2"]},{"1327529136":["hashtag1","hashtag2"]},{"1327529109":["hashtag1","hashtag2"]},{"1327529074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529122, 1327529136, 1327529109, 1327529074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55384278297424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:12:02.835553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:12:22.389068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0003.jpg', '/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0000.jpg', '/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0001.jpg', '/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/11/image_08012025_21_11_02_473595_0003.jpg
/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0000.jpg
/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0001.jpg
/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529189","1327529213","1327529191","1327529176"],"photo_ids_order":["1327529176","1327529189","1327529191","1327529213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/500c17dfc1035a22bab889b7a6868d70.jpg","text":"TemporaryFile(/tmp/multipartBody6979551848613004570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367212762,"filename":"image_08012025_21_12_02_553731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4e9567da7104bc537fdcdfca8c1afe4.jpg","text":"TemporaryFile(/tmp/multipartBody7767287199273597623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367212762,"filename":"image_08012025_21_12_02_553731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ca5712746e46823e0d4dd1b7d33cca8.jpg","text":"TemporaryFile(/tmp/multipartBody5562476044485210012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367212762,"filename":"image_08012025_21_12_02_553731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5cdca42324255c77b781d0986d29575d.jpg","text":"TemporaryFile(/tmp/multipartBody1248759861454380516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367212762,"filename":"image_08012025_21_11_02_473595_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529191","file1":"1327529189","file0":"1327529176","file3":"1327529213"},"map_files_photo_id_array":[{"photo_id":"1327529191","filename":"file2"},{"photo_id":"1327529189","filename":"file1"},{"photo_id":"1327529176","filename":"file0"},{"photo_id":"1327529213","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529189":["hashtag1","hashtag2"]},{"1327529213":["hashtag1","hashtag2"]},{"1327529191":["hashtag1","hashtag2"]},{"1327529176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529189, 1327529213, 1327529191, 1327529176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79091167449951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:13:03.123255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:13:22.494294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0003.jpg', '/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0000.jpg', '/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0001.jpg', '/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/12/image_08012025_21_12_02_553731_0003.jpg
/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0000.jpg
/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0001.jpg
/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529349","1327529337","1327529342","1327529347"],"photo_ids_order":["1327529337","1327529342","1327529347","1327529349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ae16ee2f0d9124829f323c31eb2cb36.jpg","text":"TemporaryFile(/tmp/multipartBody7124073310738032789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367272882,"filename":"image_08012025_21_13_02_724183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8f502f775e316e245eee44b897a42a2.jpg","text":"TemporaryFile(/tmp/multipartBody3409303071793876676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367272882,"filename":"image_08012025_21_12_02_553731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/264f7d23978ec70f31878b0366efa5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3549159977016923274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367272882,"filename":"image_08012025_21_13_02_724183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a55f5cef9dfcaf9b3008976b62bd69a.jpg","text":"TemporaryFile(/tmp/multipartBody2075977342179936005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367272882,"filename":"image_08012025_21_13_02_724183_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529347","file1":"1327529342","file0":"1327529337","file3":"1327529349"},"map_files_photo_id_array":[{"photo_id":"1327529347","filename":"file2"},{"photo_id":"1327529342","filename":"file1"},{"photo_id":"1327529337","filename":"file0"},{"photo_id":"1327529349","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529349":["hashtag1","hashtag2"]},{"1327529337":["hashtag1","hashtag2"]},{"1327529342":["hashtag1","hashtag2"]},{"1327529347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529349, 1327529337, 1327529342, 1327529347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.779011726379395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:14:22.763120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0003.jpg', '/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0000.jpg', '/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0001.jpg', '/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/13/image_08012025_21_13_02_724183_0003.jpg
/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0000.jpg
/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0001.jpg
/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529367","1327529363","1327529362","1327529365"],"photo_ids_order":["1327529362","1327529363","1327529365","1327529367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/edd4bf9c1c27c9e0adec27a9e1031dbb.jpg","text":"TemporaryFile(/tmp/multipartBody6579701146860330787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367333121,"filename":"image_08012025_21_14_02_948255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92dd0ba0cb70f4b1a70c53fa05471031.jpg","text":"TemporaryFile(/tmp/multipartBody313287294151299674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367333121,"filename":"image_08012025_21_14_02_948255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/02f9b1c9d18b9ebdff02e6c1b3ef0880.jpg","text":"TemporaryFile(/tmp/multipartBody792370526972835098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367333121,"filename":"image_08012025_21_13_02_724183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01f1a0256de5023440f512b997692a10.jpg","text":"TemporaryFile(/tmp/multipartBody6599256468881924595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367333121,"filename":"image_08012025_21_14_02_948255_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529365","file1":"1327529363","file0":"1327529362","file3":"1327529367"},"map_files_photo_id_array":[{"photo_id":"1327529365","filename":"file2"},{"photo_id":"1327529363","filename":"file1"},{"photo_id":"1327529362","filename":"file0"},{"photo_id":"1327529367","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529367":["hashtag1","hashtag2"]},{"1327529363":["hashtag1","hashtag2"]},{"1327529362":["hashtag1","hashtag2"]},{"1327529365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529367, 1327529363, 1327529362, 1327529365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79230856895447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:15:21.980945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0003.jpg', '/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0000.jpg', '/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0001.jpg', '/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/14/image_08012025_21_14_02_948255_0003.jpg
/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0000.jpg
/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0001.jpg
/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529389","1327529380","1327529383","1327529386"],"photo_ids_order":["1327529380","1327529383","1327529386","1327529389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/624e2c933885ba4d115c1dcc1910dcc0.jpg","text":"TemporaryFile(/tmp/multipartBody5703844820416902844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367392324,"filename":"image_08012025_21_15_03_051371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b2db336f4ed51727e199c4c91dcf872.jpg","text":"TemporaryFile(/tmp/multipartBody4001295338254188965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367392324,"filename":"image_08012025_21_14_02_948255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b4b937e422b1e162db527291af95f08.jpg","text":"TemporaryFile(/tmp/multipartBody8107695442565455207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367392324,"filename":"image_08012025_21_15_03_051371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1f01aa80ad8187bddc9cbfd78e20979.jpg","text":"TemporaryFile(/tmp/multipartBody6915219616012332546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367392324,"filename":"image_08012025_21_15_03_051371_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529386","file1":"1327529383","file0":"1327529380","file3":"1327529389"},"map_files_photo_id_array":[{"photo_id":"1327529386","filename":"file2"},{"photo_id":"1327529383","filename":"file1"},{"photo_id":"1327529380","filename":"file0"},{"photo_id":"1327529389","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529389":["hashtag1","hashtag2"]},{"1327529380":["hashtag1","hashtag2"]},{"1327529383":["hashtag1","hashtag2"]},{"1327529386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529389, 1327529380, 1327529383, 1327529386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.430235624313354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:16:02.537215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:16:22.134218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0003.jpg', '/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0000.jpg', '/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0001.jpg', '/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/15/image_08012025_21_15_03_051371_0003.jpg
/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0000.jpg
/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0001.jpg
/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529481","1327529483","1327529480","1327529482"],"photo_ids_order":["1327529480","1327529481","1327529482","1327529483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29a8bd3d5f6aee3aa341dbc3d93edfca.jpg","text":"TemporaryFile(/tmp/multipartBody6407568776322629595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367452522,"filename":"image_08012025_21_16_02_297514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b961a29d5e1c9f6986bd6106bdc2f716.jpg","text":"TemporaryFile(/tmp/multipartBody2564713323758641024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367452522,"filename":"image_08012025_21_16_02_297514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0270284cda5e2c2fb3f83e711d21d17d.jpg","text":"TemporaryFile(/tmp/multipartBody4382246185234772089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367452522,"filename":"image_08012025_21_15_03_051371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d63897af27e652bcba52c55b5ad8b4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3525898570266957078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367452522,"filename":"image_08012025_21_16_02_297514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529482","file1":"1327529481","file0":"1327529480","file3":"1327529483"},"map_files_photo_id_array":[{"photo_id":"1327529482","filename":"file2"},{"photo_id":"1327529481","filename":"file1"},{"photo_id":"1327529480","filename":"file0"},{"photo_id":"1327529483","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529481":["hashtag1","hashtag2"]},{"1327529483":["hashtag1","hashtag2"]},{"1327529480":["hashtag1","hashtag2"]},{"1327529482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529481, 1327529483, 1327529480, 1327529482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.600077867507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:17:02.928850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:17:22.382955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0003.jpg', '/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0000.jpg', '/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0001.jpg', '/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/16/image_08012025_21_16_02_297514_0003.jpg
/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0000.jpg
/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0001.jpg
/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529535","1327529550","1327529523","1327529569"],"photo_ids_order":["1327529523","1327529535","1327529550","1327529569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/88f6d43a709ebf7e3675c9e7e9ed82ec.jpg","text":"TemporaryFile(/tmp/multipartBody9100723841314183500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367512682,"filename":"image_08012025_21_17_02_508005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc946bcc3f4747dd61833cd95344c98a.jpg","text":"TemporaryFile(/tmp/multipartBody8633394663242898445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367512682,"filename":"image_08012025_21_17_02_508005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ecfb0fd4a0e5ff08c447682efa7cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody1620101305665848312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367512682,"filename":"image_08012025_21_16_02_297514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7c734b273a3d38796be65d76f4913b92.jpg","text":"TemporaryFile(/tmp/multipartBody7396709987616626475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367512682,"filename":"image_08012025_21_17_02_508005_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529550","file1":"1327529535","file0":"1327529523","file3":"1327529569"},"map_files_photo_id_array":[{"photo_id":"1327529550","filename":"file2"},{"photo_id":"1327529535","filename":"file1"},{"photo_id":"1327529523","filename":"file0"},{"photo_id":"1327529569","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529535":["hashtag1","hashtag2"]},{"1327529550":["hashtag1","hashtag2"]},{"1327529523":["hashtag1","hashtag2"]},{"1327529569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529535, 1327529550, 1327529523, 1327529569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.578564405441284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:18:02.948356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:18:22.397137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0003.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0000.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0001.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0003.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0000.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0001.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.91391110420227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 21:18:42.469419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0003.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0000.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0001.jpg', '/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/17/image_08012025_21_17_02_508005_0003.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0000.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0001.jpg
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529632","1327529631","1327529633","1327529636"],"photo_ids_order":["1327529631","1327529632","1327529633","1327529636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4d23c198ead46462af2f2a3f7f6aab5.jpg","text":"TemporaryFile(/tmp/multipartBody3508464314492756517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367592807,"filename":"image_08012025_21_18_02_589198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f2f5f2d553b7662336dab2214e8d0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4944379364282449313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367592807,"filename":"image_08012025_21_17_02_508005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c73dc15309a09e3a832a2229b7b9c668.jpg","text":"TemporaryFile(/tmp/multipartBody5521453713794953703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367592807,"filename":"image_08012025_21_18_02_589198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2d15643c19af04bb6d1fdd65a81b450.jpg","text":"TemporaryFile(/tmp/multipartBody1549140595405875676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367592807,"filename":"image_08012025_21_18_02_589198_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529633","file1":"1327529632","file0":"1327529631","file3":"1327529636"},"map_files_photo_id_array":[{"photo_id":"1327529633","filename":"file2"},{"photo_id":"1327529632","filename":"file1"},{"photo_id":"1327529631","filename":"file0"},{"photo_id":"1327529636","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529632":["hashtag1","hashtag2"]},{"1327529631":["hashtag1","hashtag2"]},{"1327529633":["hashtag1","hashtag2"]},{"1327529636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529632, 1327529631, 1327529633, 1327529636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7420175075531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:19:22.680864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0003.jpg', '/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0000.jpg', '/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0001.jpg', '/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/18/image_08012025_21_18_02_589198_0003.jpg
/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0000.jpg
/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0001.jpg
/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529697","1327529790","1327529808","1327529761"],"photo_ids_order":["1327529697","1327529761","1327529790","1327529808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7740bcc0dec26d688c4eb82e8f1e0388.jpg","text":"TemporaryFile(/tmp/multipartBody42909974344084398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367632984,"filename":"image_08012025_21_18_02_589198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b26381bf64fbd15743f99a9126adebe.jpg","text":"TemporaryFile(/tmp/multipartBody3994766731339691735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367632984,"filename":"image_08012025_21_19_02_738990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c27e4bfed6c2975b084ec4eb48cd551.jpg","text":"TemporaryFile(/tmp/multipartBody1023437663334646649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367632984,"filename":"image_08012025_21_19_02_738990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ef4c2d939e88353ffe0f23539748a6ed.jpg","text":"TemporaryFile(/tmp/multipartBody753514115500087150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367632984,"filename":"image_08012025_21_19_02_738990_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529790","file1":"1327529761","file0":"1327529697","file3":"1327529808"},"map_files_photo_id_array":[{"photo_id":"1327529790","filename":"file2"},{"photo_id":"1327529761","filename":"file1"},{"photo_id":"1327529697","filename":"file0"},{"photo_id":"1327529808","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529697":["hashtag1","hashtag2"]},{"1327529790":["hashtag1","hashtag2"]},{"1327529808":["hashtag1","hashtag2"]},{"1327529761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529697, 1327529790, 1327529808, 1327529761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10230255126953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:20:21.866676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0003.jpg', '/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0000.jpg', '/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0001.jpg', '/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/19/image_08012025_21_19_02_738990_0003.jpg
/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0000.jpg
/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0001.jpg
/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529830","1327529847","1327529832","1327529840"],"photo_ids_order":["1327529830","1327529832","1327529840","1327529847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f076c736b175250c8ccefa738ed8014.jpg","text":"TemporaryFile(/tmp/multipartBody5243838394138788430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367692194,"filename":"image_08012025_21_19_02_738990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c16f9972e08fe8f6d7c4a667b98422a5.jpg","text":"TemporaryFile(/tmp/multipartBody5354567405714554602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367692194,"filename":"image_08012025_21_20_02_930732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3cc00da7a163d3486e59562337784134.jpg","text":"TemporaryFile(/tmp/multipartBody1538017837302620279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367692194,"filename":"image_08012025_21_20_02_930732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/babe5fe3d878357a4ba54b16a26a26d3.jpg","text":"TemporaryFile(/tmp/multipartBody202898758513479207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367692194,"filename":"image_08012025_21_20_02_930732_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529840","file1":"1327529832","file0":"1327529830","file3":"1327529847"},"map_files_photo_id_array":[{"photo_id":"1327529840","filename":"file2"},{"photo_id":"1327529832","filename":"file1"},{"photo_id":"1327529830","filename":"file0"},{"photo_id":"1327529847","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529830":["hashtag1","hashtag2"]},{"1327529847":["hashtag1","hashtag2"]},{"1327529832":["hashtag1","hashtag2"]},{"1327529840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529830, 1327529847, 1327529832, 1327529840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00093650817871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:21:02.782542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:21:22.022844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0003.jpg', '/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0000.jpg', '/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0001.jpg', '/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/20/image_08012025_21_20_02_930732_0003.jpg
/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0000.jpg
/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0001.jpg
/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529865","1327529859","1327529861","1327529863"],"photo_ids_order":["1327529859","1327529861","1327529863","1327529865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b42238d7ace37e14012c11a391cbddb2.jpg","text":"TemporaryFile(/tmp/multipartBody8007815934994371916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367752322,"filename":"image_08012025_21_21_02_180163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1c760e4379cd77cfc0e99f2532196817.jpg","text":"TemporaryFile(/tmp/multipartBody8020057890208933691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367752322,"filename":"image_08012025_21_20_02_930732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8e73210dcf1573f0c098f9736ed302f9.jpg","text":"TemporaryFile(/tmp/multipartBody3529129651638758674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367752322,"filename":"image_08012025_21_21_02_180163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ec2613ecb53b6847587352db189aec8.jpg","text":"TemporaryFile(/tmp/multipartBody1670792312152623497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367752322,"filename":"image_08012025_21_21_02_180163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529863","file1":"1327529861","file0":"1327529859","file3":"1327529865"},"map_files_photo_id_array":[{"photo_id":"1327529863","filename":"file2"},{"photo_id":"1327529861","filename":"file1"},{"photo_id":"1327529859","filename":"file0"},{"photo_id":"1327529865","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529865":["hashtag1","hashtag2"]},{"1327529859":["hashtag1","hashtag2"]},{"1327529861":["hashtag1","hashtag2"]},{"1327529863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529865, 1327529859, 1327529861, 1327529863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66056180000305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:22:02.589006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:22:22.126134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0003.jpg', '/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0000.jpg', '/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0001.jpg', '/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/21/image_08012025_21_21_02_180163_0003.jpg
/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0000.jpg
/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0001.jpg
/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327529886","1327529897","1327529906","1327529908"],"photo_ids_order":["1327529886","1327529897","1327529906","1327529908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4507dd0543a8abdd8d492a74e8d1c0b1.jpg","text":"TemporaryFile(/tmp/multipartBody8192661876880385369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367812431,"filename":"image_08012025_21_21_02_180163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0a3465994c6a350bbff92e0592036352.jpg","text":"TemporaryFile(/tmp/multipartBody7952271487422959177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367812431,"filename":"image_08012025_21_22_02_414698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7382221df40088e32c12809f45e69e9.jpg","text":"TemporaryFile(/tmp/multipartBody8265751553702090291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367812431,"filename":"image_08012025_21_22_02_414698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1d4c119f85c3b340753eba088ab7ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2879023272003652510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367812431,"filename":"image_08012025_21_22_02_414698_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327529906","file1":"1327529897","file0":"1327529886","file3":"1327529908"},"map_files_photo_id_array":[{"photo_id":"1327529906","filename":"file2"},{"photo_id":"1327529897","filename":"file1"},{"photo_id":"1327529886","filename":"file0"},{"photo_id":"1327529908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327529886":["hashtag1","hashtag2"]},{"1327529897":["hashtag1","hashtag2"]},{"1327529906":["hashtag1","hashtag2"]},{"1327529908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327529886, 1327529897, 1327529906, 1327529908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.262696981430054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:23:02.974645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:23:22.355654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0003.jpg', '/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0000.jpg', '/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0001.jpg', '/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/22/image_08012025_21_22_02_414698_0003.jpg
/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0000.jpg
/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0001.jpg
/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530016","1327530007","1327530027","1327529969"],"photo_ids_order":["1327529969","1327530007","1327530016","1327530027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/20dd7fe1eb206e82b4bd65563b346fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4666157549264811963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367872650,"filename":"image_08012025_21_23_02_523048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9029433959164e87bbc82b716046c15.jpg","text":"TemporaryFile(/tmp/multipartBody4465356302275103058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367872650,"filename":"image_08012025_21_23_02_523048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7200240242fced303e570996ceb3b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2146766932386790584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367872650,"filename":"image_08012025_21_23_02_523048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3b7f8501ef56c71258aae7b826d89f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1748801361339836387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367872650,"filename":"image_08012025_21_22_02_414698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530016","file1":"1327530007","file0":"1327529969","file3":"1327530027"},"map_files_photo_id_array":[{"photo_id":"1327530016","filename":"file2"},{"photo_id":"1327530007","filename":"file1"},{"photo_id":"1327529969","filename":"file0"},{"photo_id":"1327530027","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530016":["hashtag1","hashtag2"]},{"1327530007":["hashtag1","hashtag2"]},{"1327530027":["hashtag1","hashtag2"]},{"1327529969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530016, 1327530007, 1327530027, 1327529969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.079567193984985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:24:02.978915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:24:22.560442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0003.jpg', '/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0000.jpg', '/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0001.jpg', '/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/23/image_08012025_21_23_02_523048_0003.jpg
/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0000.jpg
/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0001.jpg
/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530070","1327530054","1327530048","1327530076"],"photo_ids_order":["1327530048","1327530054","1327530070","1327530076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8f81dbbb16f696e385b28e27d395c5b.jpg","text":"TemporaryFile(/tmp/multipartBody1069786421610764983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367932879,"filename":"image_08012025_21_24_02_798500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb121837e381b8ca52c4bb5c8416f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8386478523466271355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367932879,"filename":"image_08012025_21_24_02_798500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4262c4e2336a33ddeccbf34c8a250a4.jpg","text":"TemporaryFile(/tmp/multipartBody8106147740839017316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367932879,"filename":"image_08012025_21_23_02_523048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2aefabcbc681ea59488006e15885e557.jpg","text":"TemporaryFile(/tmp/multipartBody171825317760792418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367932879,"filename":"image_08012025_21_24_02_798500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530070","file1":"1327530054","file0":"1327530048","file3":"1327530076"},"map_files_photo_id_array":[{"photo_id":"1327530070","filename":"file2"},{"photo_id":"1327530054","filename":"file1"},{"photo_id":"1327530048","filename":"file0"},{"photo_id":"1327530076","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530070":["hashtag1","hashtag2"]},{"1327530054":["hashtag1","hashtag2"]},{"1327530048":["hashtag1","hashtag2"]},{"1327530076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530070, 1327530054, 1327530048, 1327530076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.908698320388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:25:03.129717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:25:22.737146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0003.jpg', '/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0000.jpg', '/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0001.jpg', '/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/24/image_08012025_21_24_02_798500_0003.jpg
/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0000.jpg
/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0001.jpg
/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530163","1327530144","1327530153","1327530129"],"photo_ids_order":["1327530129","1327530144","1327530153","1327530163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4df9fd1f5d8021c1934744d5a9e617d4.jpg","text":"TemporaryFile(/tmp/multipartBody1795048049914317952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367993146,"filename":"image_08012025_21_25_02_873635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/76a14db46723035b60ba3b8775d91e20.jpg","text":"TemporaryFile(/tmp/multipartBody4011570749795221458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367993146,"filename":"image_08012025_21_25_02_873635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e8bc6dde2958518d09ebdf6bf0efbd0.jpg","text":"TemporaryFile(/tmp/multipartBody930766220149209247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367993146,"filename":"image_08012025_21_25_02_873635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a066ede2607355361be05795aeb6f21e.jpg","text":"TemporaryFile(/tmp/multipartBody3886793202436664850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736367993146,"filename":"image_08012025_21_24_02_798500_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530153","file1":"1327530144","file0":"1327530129","file3":"1327530163"},"map_files_photo_id_array":[{"photo_id":"1327530153","filename":"file2"},{"photo_id":"1327530144","filename":"file1"},{"photo_id":"1327530129","filename":"file0"},{"photo_id":"1327530163","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530163":["hashtag1","hashtag2"]},{"1327530144":["hashtag1","hashtag2"]},{"1327530153":["hashtag1","hashtag2"]},{"1327530129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530163, 1327530144, 1327530153, 1327530129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.924102783203125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:26:21.887609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0003.jpg', '/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0000.jpg', '/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0001.jpg', '/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/25/image_08012025_21_25_02_873635_0003.jpg
/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0000.jpg
/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0001.jpg
/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530268","1327530241","1327530288","1327530242"],"photo_ids_order":["1327530241","1327530242","1327530268","1327530288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce6d5ef6de58d44a86866134044d0a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8762195672178837931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368052236,"filename":"image_08012025_21_26_03_008812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7fa3d9a0af2e034bd71a8be63ae13218.jpg","text":"TemporaryFile(/tmp/multipartBody6142561559811378308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368052236,"filename":"image_08012025_21_25_02_873635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b899cf7b0bec3859fbe4c1bca29f8681.jpg","text":"TemporaryFile(/tmp/multipartBody4427211400301253226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368052236,"filename":"image_08012025_21_26_03_008812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54f5b80e7cd8a13b330957e88aa3ea8c.jpg","text":"TemporaryFile(/tmp/multipartBody765126955490668781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368052236,"filename":"image_08012025_21_26_03_008812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530268","file1":"1327530242","file0":"1327530241","file3":"1327530288"},"map_files_photo_id_array":[{"photo_id":"1327530268","filename":"file2"},{"photo_id":"1327530242","filename":"file1"},{"photo_id":"1327530241","filename":"file0"},{"photo_id":"1327530288","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530268":["hashtag1","hashtag2"]},{"1327530241":["hashtag1","hashtag2"]},{"1327530288":["hashtag1","hashtag2"]},{"1327530242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530268, 1327530241, 1327530288, 1327530242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.335893392562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:27:21.995026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0003.jpg', '/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0000.jpg', '/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0001.jpg', '/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/26/image_08012025_21_26_03_008812_0003.jpg
/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0000.jpg
/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0001.jpg
/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530390","1327530383","1327530392","1327530391"],"photo_ids_order":["1327530383","1327530390","1327530391","1327530392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ac06f78d30909c74fade3b237e1712e.jpg","text":"TemporaryFile(/tmp/multipartBody4687454953145226648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368112272,"filename":"image_08012025_21_27_02_212492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6e3ab5121278d8eee5db3c2661723b94.jpg","text":"TemporaryFile(/tmp/multipartBody3733139054977898338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368112272,"filename":"image_08012025_21_26_03_008812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a189eed0d7a434eab1f396a7141a513a.jpg","text":"TemporaryFile(/tmp/multipartBody7692307024188594918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368112272,"filename":"image_08012025_21_27_02_212492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f925430666de4be3194b9c4b9a950d36.jpg","text":"TemporaryFile(/tmp/multipartBody181948623094121295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368112272,"filename":"image_08012025_21_27_02_212492_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530391","file1":"1327530390","file0":"1327530383","file3":"1327530392"},"map_files_photo_id_array":[{"photo_id":"1327530391","filename":"file2"},{"photo_id":"1327530390","filename":"file1"},{"photo_id":"1327530383","filename":"file0"},{"photo_id":"1327530392","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530390":["hashtag1","hashtag2"]},{"1327530383":["hashtag1","hashtag2"]},{"1327530392":["hashtag1","hashtag2"]},{"1327530391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530390, 1327530383, 1327530392, 1327530391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94232940673828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:28:02.603170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:28:22.161920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0003.jpg', '/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0000.jpg', '/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0001.jpg', '/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/27/image_08012025_21_27_02_212492_0003.jpg
/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0000.jpg
/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0001.jpg
/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530430","1327530432","1327530398","1327530434"],"photo_ids_order":["1327530398","1327530430","1327530432","1327530434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b1b82f79ed4a31b7e41f4b8b105f618.jpg","text":"TemporaryFile(/tmp/multipartBody2156470382773112022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368172462,"filename":"image_08012025_21_28_02_384127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e548799b60eaeb5207d300e6a199434f.jpg","text":"TemporaryFile(/tmp/multipartBody9049603801045494293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368172462,"filename":"image_08012025_21_28_02_384127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f82cc512caee5dff21c30d2b4331279b.jpg","text":"TemporaryFile(/tmp/multipartBody6347273607722665839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368172462,"filename":"image_08012025_21_27_02_212492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/167f84f6630af5e7c5abb19daf821929.jpg","text":"TemporaryFile(/tmp/multipartBody751174755254297489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368172462,"filename":"image_08012025_21_28_02_384127_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530432","file1":"1327530430","file0":"1327530398","file3":"1327530434"},"map_files_photo_id_array":[{"photo_id":"1327530432","filename":"file2"},{"photo_id":"1327530430","filename":"file1"},{"photo_id":"1327530398","filename":"file0"},{"photo_id":"1327530434","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530430":["hashtag1","hashtag2"]},{"1327530432":["hashtag1","hashtag2"]},{"1327530398":["hashtag1","hashtag2"]},{"1327530434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530430, 1327530432, 1327530398, 1327530434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52223801612854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:29:03.076272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:29:22.413733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0003.jpg', '/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0000.jpg', '/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0001.jpg', '/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/28/image_08012025_21_28_02_384127_0003.jpg
/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0000.jpg
/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0001.jpg
/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530454","1327530457","1327530451","1327530459"],"photo_ids_order":["1327530451","1327530454","1327530457","1327530459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/590d64da2e2a316e5a7839205e500316.jpg","text":"TemporaryFile(/tmp/multipartBody1411790221456309786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368232793,"filename":"image_08012025_21_29_02_489359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/45c4c57193e77b98d8a9bb516f966216.jpg","text":"TemporaryFile(/tmp/multipartBody7771541322717430009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368232793,"filename":"image_08012025_21_29_02_489359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69b5cab51fdde9077da0c6686be4e76e.jpg","text":"TemporaryFile(/tmp/multipartBody7377457060580028897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368232793,"filename":"image_08012025_21_28_02_384127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b579f7919e7c8a4f669c1744282b9331.jpg","text":"TemporaryFile(/tmp/multipartBody1942371736247508518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368232793,"filename":"image_08012025_21_29_02_489359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530457","file1":"1327530454","file0":"1327530451","file3":"1327530459"},"map_files_photo_id_array":[{"photo_id":"1327530457","filename":"file2"},{"photo_id":"1327530454","filename":"file1"},{"photo_id":"1327530451","filename":"file0"},{"photo_id":"1327530459","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530454":["hashtag1","hashtag2"]},{"1327530457":["hashtag1","hashtag2"]},{"1327530451":["hashtag1","hashtag2"]},{"1327530459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530454, 1327530457, 1327530451, 1327530459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61567234992981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:30:02.952971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:30:22.610751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0003.jpg', '/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0000.jpg', '/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0001.jpg', '/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/29/image_08012025_21_29_02_489359_0003.jpg
/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0000.jpg
/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0001.jpg
/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530481","1327530479","1327530484","1327530487"],"photo_ids_order":["1327530479","1327530481","1327530484","1327530487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4649c3d4d91b84744d4a9cdc5aa47ac.jpg","text":"TemporaryFile(/tmp/multipartBody8094455377248856501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368293032,"filename":"image_08012025_21_30_02_671222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/962b75f784f0206ca53ea187e01cc0b1.jpg","text":"TemporaryFile(/tmp/multipartBody5396837858987895403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368293032,"filename":"image_08012025_21_29_02_489359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e5c2b1f3bf372023950661e0608889b.jpg","text":"TemporaryFile(/tmp/multipartBody1632116732672584089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368293032,"filename":"image_08012025_21_30_02_671222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3ac907cb0e64af0d05cdf686b0f3453.jpg","text":"TemporaryFile(/tmp/multipartBody6171850165983971039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368293032,"filename":"image_08012025_21_30_02_671222_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530484","file1":"1327530481","file0":"1327530479","file3":"1327530487"},"map_files_photo_id_array":[{"photo_id":"1327530484","filename":"file2"},{"photo_id":"1327530481","filename":"file1"},{"photo_id":"1327530479","filename":"file0"},{"photo_id":"1327530487","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530481":["hashtag1","hashtag2"]},{"1327530479":["hashtag1","hashtag2"]},{"1327530484":["hashtag1","hashtag2"]},{"1327530487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530481, 1327530479, 1327530484, 1327530487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57386231422424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:31:03.254524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:31:22.568906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0003.jpg', '/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0000.jpg', '/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0001.jpg', '/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/30/image_08012025_21_30_02_671222_0003.jpg
/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0000.jpg
/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0001.jpg
/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530591","1327530573","1327530615","1327530603"],"photo_ids_order":["1327530573","1327530591","1327530603","1327530615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4c13c0899160ebe4d40beb0f74998db.jpg","text":"TemporaryFile(/tmp/multipartBody8403984767797704419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368353117,"filename":"image_08012025_21_31_02_873678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51efa19ae7b1a37527c8a3588f5942e0.jpg","text":"TemporaryFile(/tmp/multipartBody4733189402366136191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368353117,"filename":"image_08012025_21_30_02_671222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbff8b2df210b44563c82c31e05fdc60.jpg","text":"TemporaryFile(/tmp/multipartBody4072650971219318081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368353117,"filename":"image_08012025_21_31_02_873678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4d02391569ab0b99e196603b63b210b5.jpg","text":"TemporaryFile(/tmp/multipartBody1418595557459324088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368353117,"filename":"image_08012025_21_31_02_873678_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530603","file1":"1327530591","file0":"1327530573","file3":"1327530615"},"map_files_photo_id_array":[{"photo_id":"1327530603","filename":"file2"},{"photo_id":"1327530591","filename":"file1"},{"photo_id":"1327530573","filename":"file0"},{"photo_id":"1327530615","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530591":["hashtag1","hashtag2"]},{"1327530573":["hashtag1","hashtag2"]},{"1327530615":["hashtag1","hashtag2"]},{"1327530603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530591, 1327530573, 1327530615, 1327530603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21897745132446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:32:21.894950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0003.jpg', '/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0000.jpg', '/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0001.jpg', '/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/31/image_08012025_21_31_02_873678_0003.jpg
/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0000.jpg
/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0001.jpg
/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530714","1327530717","1327530692","1327530704"],"photo_ids_order":["1327530692","1327530704","1327530714","1327530717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81f1de09e5df3c0682de47bae0addb6c.jpg","text":"TemporaryFile(/tmp/multipartBody222895542985824730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368412464,"filename":"image_08012025_21_32_03_092921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1402639b4e787e8ceb9e3ad9568115e0.jpg","text":"TemporaryFile(/tmp/multipartBody6706070795391364367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368412464,"filename":"image_08012025_21_32_03_092921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/094028fb14350ab00bd186c5cf26d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3133373966199334624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368412464,"filename":"image_08012025_21_31_02_873678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e1d44f3ecb45105243a34fb09188f00.jpg","text":"TemporaryFile(/tmp/multipartBody325694326793937602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368412464,"filename":"image_08012025_21_32_03_092921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530714","file1":"1327530704","file0":"1327530692","file3":"1327530717"},"map_files_photo_id_array":[{"photo_id":"1327530714","filename":"file2"},{"photo_id":"1327530704","filename":"file1"},{"photo_id":"1327530692","filename":"file0"},{"photo_id":"1327530717","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530714":["hashtag1","hashtag2"]},{"1327530717":["hashtag1","hashtag2"]},{"1327530692":["hashtag1","hashtag2"]},{"1327530704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530714, 1327530717, 1327530692, 1327530704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91404342651367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:33:22.066444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0003.jpg', '/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0000.jpg', '/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0001.jpg', '/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/32/image_08012025_21_32_03_092921_0003.jpg
/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0000.jpg
/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0001.jpg
/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530769","1327530789","1327530771","1327530773"],"photo_ids_order":["1327530769","1327530771","1327530773","1327530789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8ccd7354c9d25fd70067f23dba7b10fc.jpg","text":"TemporaryFile(/tmp/multipartBody5201712511374552372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368472505,"filename":"image_08012025_21_32_03_092921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d23a85fe1705912237ed870087bdf8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6851089161026066925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368472505,"filename":"image_08012025_21_33_02_200723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c9022539ad878e54b389d441e741814d.jpg","text":"TemporaryFile(/tmp/multipartBody3480071617080205330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368472505,"filename":"image_08012025_21_33_02_200723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/65ade469139bf29c65700f6e807a32b0.jpg","text":"TemporaryFile(/tmp/multipartBody5283385042518912622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368472505,"filename":"image_08012025_21_33_02_200723_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530773","file1":"1327530771","file0":"1327530769","file3":"1327530789"},"map_files_photo_id_array":[{"photo_id":"1327530773","filename":"file2"},{"photo_id":"1327530771","filename":"file1"},{"photo_id":"1327530769","filename":"file0"},{"photo_id":"1327530789","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530769":["hashtag1","hashtag2"]},{"1327530789":["hashtag1","hashtag2"]},{"1327530771":["hashtag1","hashtag2"]},{"1327530773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530769, 1327530789, 1327530771, 1327530773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.034507751464844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:34:02.623061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:34:22.193566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0003.jpg', '/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0000.jpg', '/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0001.jpg', '/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/33/image_08012025_21_33_02_200723_0003.jpg
/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0000.jpg
/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0001.jpg
/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530970","1327530972","1327530969","1327530962"],"photo_ids_order":["1327530962","1327530969","1327530970","1327530972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1680a8816200e5f577b0db293de0a402.jpg","text":"TemporaryFile(/tmp/multipartBody6466891039478478862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368532512,"filename":"image_08012025_21_34_02_438763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d42188f351f4c10803a52f9e741766c7.jpg","text":"TemporaryFile(/tmp/multipartBody507116353054340099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368532512,"filename":"image_08012025_21_34_02_438763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a8a1944439a96da74dba133f8481a18.jpg","text":"TemporaryFile(/tmp/multipartBody1286684523150888689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368532512,"filename":"image_08012025_21_34_02_438763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7dbe0742343095c09f60982ab514ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2509545374705810980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368532512,"filename":"image_08012025_21_33_02_200723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530970","file1":"1327530969","file0":"1327530962","file3":"1327530972"},"map_files_photo_id_array":[{"photo_id":"1327530970","filename":"file2"},{"photo_id":"1327530969","filename":"file1"},{"photo_id":"1327530962","filename":"file0"},{"photo_id":"1327530972","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530970":["hashtag1","hashtag2"]},{"1327530972":["hashtag1","hashtag2"]},{"1327530969":["hashtag1","hashtag2"]},{"1327530962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530970, 1327530972, 1327530969, 1327530962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21707820892334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:35:02.940132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:35:22.401958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0003.jpg', '/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0000.jpg', '/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0001.jpg', '/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/34/image_08012025_21_34_02_438763_0003.jpg
/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0000.jpg
/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0001.jpg
/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327530985","1327530987","1327530989","1327530988"],"photo_ids_order":["1327530985","1327530987","1327530988","1327530989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f2b7c078c33545f6425c6e7cbb3b3c5.jpg","text":"TemporaryFile(/tmp/multipartBody7610955773297401473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368592768,"filename":"image_08012025_21_34_02_438763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75d803228dde162f0a78891197b8b148.jpg","text":"TemporaryFile(/tmp/multipartBody3463451660635942898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368592768,"filename":"image_08012025_21_35_02_635193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/39359204bb8c900a66b2fbfb65f50343.jpg","text":"TemporaryFile(/tmp/multipartBody4535424694808341492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368592768,"filename":"image_08012025_21_35_02_635193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/869f47122486f1020da89f72f619981e.jpg","text":"TemporaryFile(/tmp/multipartBody6013179073439372134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368592768,"filename":"image_08012025_21_35_02_635193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327530988","file1":"1327530987","file0":"1327530985","file3":"1327530989"},"map_files_photo_id_array":[{"photo_id":"1327530988","filename":"file2"},{"photo_id":"1327530987","filename":"file1"},{"photo_id":"1327530985","filename":"file0"},{"photo_id":"1327530989","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327530985":["hashtag1","hashtag2"]},{"1327530987":["hashtag1","hashtag2"]},{"1327530989":["hashtag1","hashtag2"]},{"1327530988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327530985, 1327530987, 1327530989, 1327530988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63913893699646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:36:03.165920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:36:22.656416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0003.jpg', '/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0000.jpg', '/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0001.jpg', '/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/35/image_08012025_21_35_02_635193_0003.jpg
/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0000.jpg
/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0001.jpg
/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531029","1327531022","1327531025","1327531019"],"photo_ids_order":["1327531019","1327531022","1327531025","1327531029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/daf1842afee0b18cd3313ca0c1af1eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1847839532676441181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368653093,"filename":"image_08012025_21_36_02_739882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d24bfe54a3f760886c75240923be1da7.jpg","text":"TemporaryFile(/tmp/multipartBody6902002798034812858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368653093,"filename":"image_08012025_21_36_02_739882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e653ed16479666bf51744bf51e6fa915.jpg","text":"TemporaryFile(/tmp/multipartBody9061899078156623342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368653093,"filename":"image_08012025_21_36_02_739882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/be1a65a4b5b354807cc591e6550bd8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6536866110772769823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368653093,"filename":"image_08012025_21_35_02_635193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531025","file1":"1327531022","file0":"1327531019","file3":"1327531029"},"map_files_photo_id_array":[{"photo_id":"1327531025","filename":"file2"},{"photo_id":"1327531022","filename":"file1"},{"photo_id":"1327531019","filename":"file0"},{"photo_id":"1327531029","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531029":["hashtag1","hashtag2"]},{"1327531022":["hashtag1","hashtag2"]},{"1327531025":["hashtag1","hashtag2"]},{"1327531019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531029, 1327531022, 1327531025, 1327531019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32221007347107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:37:03.333989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:37:22.686140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0003.jpg', '/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0000.jpg', '/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0001.jpg', '/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/36/image_08012025_21_36_02_739882_0003.jpg
/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0000.jpg
/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0001.jpg
/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531074","1327531077","1327531079","1327531078"],"photo_ids_order":["1327531074","1327531077","1327531078","1327531079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1937ab20863d7959b1e37257f17a566f.jpg","text":"TemporaryFile(/tmp/multipartBody5843922106148100218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368713011,"filename":"image_08012025_21_36_02_739882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0a9eab73d272098bb7559a350d4efc1.jpg","text":"TemporaryFile(/tmp/multipartBody932270754512395114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368713011,"filename":"image_08012025_21_37_02_989999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03aef01c4e05ca6943cad0f5602ecfc2.jpg","text":"TemporaryFile(/tmp/multipartBody2626802831986805285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368713011,"filename":"image_08012025_21_37_02_989999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df4122144103c6f99897ef4826dafa41.jpg","text":"TemporaryFile(/tmp/multipartBody4051387803107020513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368713011,"filename":"image_08012025_21_37_02_989999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531078","file1":"1327531077","file0":"1327531074","file3":"1327531079"},"map_files_photo_id_array":[{"photo_id":"1327531078","filename":"file2"},{"photo_id":"1327531077","filename":"file1"},{"photo_id":"1327531074","filename":"file0"},{"photo_id":"1327531079","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531074":["hashtag1","hashtag2"]},{"1327531077":["hashtag1","hashtag2"]},{"1327531079":["hashtag1","hashtag2"]},{"1327531078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531074, 1327531077, 1327531079, 1327531078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70860242843628 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-08 21:38:21.961004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0003.jpg', '/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0000.jpg', '/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0001.jpg', '/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/37/image_08012025_21_37_02_989999_0003.jpg
/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0000.jpg
/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0001.jpg
/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531114","1327531139","1327531148","1327531123"],"photo_ids_order":["1327531114","1327531123","1327531139","1327531148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e93bfd581781982dfd787ae503d0758.jpg","text":"TemporaryFile(/tmp/multipartBody3119095353647540632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368772327,"filename":"image_08012025_21_37_02_989999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0bd797bada867e5f696dcb3a463df1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4620866446229639388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368772327,"filename":"image_08012025_21_38_03_159782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8a9cec7ef7b0840f9da020e7c40a98ec.jpg","text":"TemporaryFile(/tmp/multipartBody378881536433958285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368772327,"filename":"image_08012025_21_38_03_159782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdbcbcc4aa203d9fe4511b83ca23bd13.jpg","text":"TemporaryFile(/tmp/multipartBody3462455527991243182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368772327,"filename":"image_08012025_21_38_03_159782_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531139","file1":"1327531123","file0":"1327531114","file3":"1327531148"},"map_files_photo_id_array":[{"photo_id":"1327531139","filename":"file2"},{"photo_id":"1327531123","filename":"file1"},{"photo_id":"1327531114","filename":"file0"},{"photo_id":"1327531148","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531114":["hashtag1","hashtag2"]},{"1327531139":["hashtag1","hashtag2"]},{"1327531148":["hashtag1","hashtag2"]},{"1327531123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531114, 1327531139, 1327531148, 1327531123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4007294178009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:39:02.737887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:39:22.167957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0003.jpg', '/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0001.jpg', '/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/38/image_08012025_21_38_03_159782_0003.jpg
/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0001.jpg
/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531197","1327531200","1327531202"],"photo_ids_order":["1327531197","1327531200","1327531202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f7add60d8f61f22d69022748e2d659e.jpg","text":"TemporaryFile(/tmp/multipartBody5570116866945482470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368830092,"filename":"image_08012025_21_38_03_159782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4b316aa2b7fe10bfb8954c565da33233.jpg","text":"TemporaryFile(/tmp/multipartBody7023422972154038133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368830092,"filename":"image_08012025_21_39_02_346015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07893184594e08e421401223d4227cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1143094786143635119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368830092,"filename":"image_08012025_21_39_02_346015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531202","file1":"1327531200","file0":"1327531197"},"map_files_photo_id_array":[{"photo_id":"1327531202","filename":"file2"},{"photo_id":"1327531200","filename":"file1"},{"photo_id":"1327531197","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531197":["hashtag1","hashtag2"]},{"1327531200":["hashtag1","hashtag2"]},{"1327531202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531197, 1327531200, 1327531202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.66740655899048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:40:02.825865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:40:22.340098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0003.jpg', '/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0000.jpg', '/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0001.jpg', '/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/39/image_08012025_21_39_02_346015_0003.jpg
/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0000.jpg
/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0001.jpg
/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531341","1327531361","1327531387","1327531363"],"photo_ids_order":["1327531341","1327531361","1327531363","1327531387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/78a85817d5b8cf8beb5531cbcbe453d2.jpg","text":"TemporaryFile(/tmp/multipartBody5903498634203322930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368892683,"filename":"image_08012025_21_39_02_346015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b03fc909abe23c9abbe7a63912712c1.jpg","text":"TemporaryFile(/tmp/multipartBody1672818922299862072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368892683,"filename":"image_08012025_21_40_02_601417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6c095bc404045f9b02e255c266be484.jpg","text":"TemporaryFile(/tmp/multipartBody2389330419518609449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368892683,"filename":"image_08012025_21_40_02_601417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcaf15fd63260ce94f839a01fb0c2426.jpg","text":"TemporaryFile(/tmp/multipartBody1434531627848381272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368892683,"filename":"image_08012025_21_40_02_601417_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531363","file1":"1327531361","file0":"1327531341","file3":"1327531387"},"map_files_photo_id_array":[{"photo_id":"1327531363","filename":"file2"},{"photo_id":"1327531361","filename":"file1"},{"photo_id":"1327531341","filename":"file0"},{"photo_id":"1327531387","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531341":["hashtag1","hashtag2"]},{"1327531361":["hashtag1","hashtag2"]},{"1327531387":["hashtag1","hashtag2"]},{"1327531363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531341, 1327531361, 1327531387, 1327531363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50659918785095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:41:03.185524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:41:22.555134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0003.jpg', '/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0000.jpg', '/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0001.jpg', '/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/40/image_08012025_21_40_02_601417_0003.jpg
/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0000.jpg
/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0001.jpg
/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531479","1327531470","1327531465","1327531474"],"photo_ids_order":["1327531465","1327531470","1327531474","1327531479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5f3109ac6f116a7ce71582687bcf5a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2374433578100360263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368953036,"filename":"image_08012025_21_41_02_709828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/188edfb93ca64d6c3554ae83ee2242fe.jpg","text":"TemporaryFile(/tmp/multipartBody1096344860560350686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368953036,"filename":"image_08012025_21_41_02_709828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37e98d467295fa799d0ea537c5ba5887.jpg","text":"TemporaryFile(/tmp/multipartBody3317889098827475749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368953036,"filename":"image_08012025_21_40_02_601417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52657ebeb7be383aa21069d582db8474.jpg","text":"TemporaryFile(/tmp/multipartBody1994361633364140727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736368953036,"filename":"image_08012025_21_41_02_709828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531474","file1":"1327531470","file0":"1327531465","file3":"1327531479"},"map_files_photo_id_array":[{"photo_id":"1327531474","filename":"file2"},{"photo_id":"1327531470","filename":"file1"},{"photo_id":"1327531465","filename":"file0"},{"photo_id":"1327531479","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531479":["hashtag1","hashtag2"]},{"1327531470":["hashtag1","hashtag2"]},{"1327531465":["hashtag1","hashtag2"]},{"1327531474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531479, 1327531470, 1327531465, 1327531474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.571383237838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:42:03.214043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:42:22.790321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0003.jpg', '/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0000.jpg', '/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0001.jpg', '/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/41/image_08012025_21_41_02_709828_0003.jpg
/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0000.jpg
/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0001.jpg
/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531494","1327531490","1327531496","1327531492"],"photo_ids_order":["1327531490","1327531492","1327531494","1327531496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3d3b96e74760270bf6c0f197370ba7b.jpg","text":"TemporaryFile(/tmp/multipartBody2797007193707783368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369013186,"filename":"image_08012025_21_42_02_925960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d4c3bd0cdf386c58ea9014347f8a6e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7419064429098936078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369013186,"filename":"image_08012025_21_41_02_709828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56a5ced5c223a9e62cc542665c0a9f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2152325766226994447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369013186,"filename":"image_08012025_21_42_02_925960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c91044a44032b7d0cb95ef34c341603e.jpg","text":"TemporaryFile(/tmp/multipartBody9084370050074814260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369013186,"filename":"image_08012025_21_42_02_925960_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531494","file1":"1327531492","file0":"1327531490","file3":"1327531496"},"map_files_photo_id_array":[{"photo_id":"1327531494","filename":"file2"},{"photo_id":"1327531492","filename":"file1"},{"photo_id":"1327531490","filename":"file0"},{"photo_id":"1327531496","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531494":["hashtag1","hashtag2"]},{"1327531490":["hashtag1","hashtag2"]},{"1327531496":["hashtag1","hashtag2"]},{"1327531492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531494, 1327531490, 1327531496, 1327531492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42948770523071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:43:02.586882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:43:21.814954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0003.jpg', '/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0000.jpg', '/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0001.jpg', '/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/42/image_08012025_21_42_02_925960_0003.jpg
/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0000.jpg
/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0001.jpg
/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531510","1327531506","1327531505","1327531508"],"photo_ids_order":["1327531505","1327531506","1327531508","1327531510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b4ed3795c941a72f56ea31f7fa459713.jpg","text":"TemporaryFile(/tmp/multipartBody1870712054630709671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369072177,"filename":"image_08012025_21_43_03_041347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c82732e8f7017f19a669557eb7b2e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody7964084183874099249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369072177,"filename":"image_08012025_21_43_03_041347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ac46b6971c6fecadb8fd8e26c8db1cb.jpg","text":"TemporaryFile(/tmp/multipartBody7804649092348200697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369072177,"filename":"image_08012025_21_42_02_925960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9cc447dc5cfe950137265bcada6990aa.jpg","text":"TemporaryFile(/tmp/multipartBody8037555380372446409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369072177,"filename":"image_08012025_21_43_03_041347_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531508","file1":"1327531506","file0":"1327531505","file3":"1327531510"},"map_files_photo_id_array":[{"photo_id":"1327531508","filename":"file2"},{"photo_id":"1327531506","filename":"file1"},{"photo_id":"1327531505","filename":"file0"},{"photo_id":"1327531510","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531510":["hashtag1","hashtag2"]},{"1327531506":["hashtag1","hashtag2"]},{"1327531505":["hashtag1","hashtag2"]},{"1327531508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531510, 1327531506, 1327531505, 1327531508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.76818346977234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:44:22.029801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0003.jpg', '/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0000.jpg', '/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0001.jpg', '/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/43/image_08012025_21_43_03_041347_0003.jpg
/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0000.jpg
/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0001.jpg
/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531563","1327531598","1327531574","1327531576"],"photo_ids_order":["1327531563","1327531574","1327531576","1327531598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/766a8370ddb514193d781d1b4851f171.jpg","text":"TemporaryFile(/tmp/multipartBody8137457865251102544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369132424,"filename":"image_08012025_21_43_03_041347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee0d206baba7ba875ff84c8c9149bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody4880621424380167589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369132424,"filename":"image_08012025_21_44_02_222005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aac5980a604f769c7c243e67cebeae4d.jpg","text":"TemporaryFile(/tmp/multipartBody6182526900538504985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369132424,"filename":"image_08012025_21_44_02_222005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6daad130cc79c696b9b7472d452be43b.jpg","text":"TemporaryFile(/tmp/multipartBody1995087581079768547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369132424,"filename":"image_08012025_21_44_02_222005_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531576","file1":"1327531574","file0":"1327531563","file3":"1327531598"},"map_files_photo_id_array":[{"photo_id":"1327531576","filename":"file2"},{"photo_id":"1327531574","filename":"file1"},{"photo_id":"1327531563","filename":"file0"},{"photo_id":"1327531598","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531563":["hashtag1","hashtag2"]},{"1327531598":["hashtag1","hashtag2"]},{"1327531574":["hashtag1","hashtag2"]},{"1327531576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531563, 1327531598, 1327531574, 1327531576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74242377281189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:45:22.171638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0003.jpg', '/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0000.jpg', '/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/44/image_08012025_21_44_02_222005_0003.jpg
/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0000.jpg
/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531683","1327531697","1327531675"],"photo_ids_order":["1327531675","1327531683","1327531697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d5a9341b6eae3a2dc0f039de55964d66.jpg","text":"TemporaryFile(/tmp/multipartBody7369313485172110613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369190157,"filename":"image_08012025_21_45_02_395573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a7b691d14237b832a6d6c9de372c8de.jpg","text":"TemporaryFile(/tmp/multipartBody1543490313578261024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369190157,"filename":"image_08012025_21_45_02_395573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da46fa6f7bd45b6cbeeab353aecf6f58.jpg","text":"TemporaryFile(/tmp/multipartBody78741056616793595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369190157,"filename":"image_08012025_21_44_02_222005_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531697","file1":"1327531683","file0":"1327531675"},"map_files_photo_id_array":[{"photo_id":"1327531697","filename":"file2"},{"photo_id":"1327531683","filename":"file1"},{"photo_id":"1327531675","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531683":["hashtag1","hashtag2"]},{"1327531697":["hashtag1","hashtag2"]},{"1327531675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531683, 1327531697, 1327531675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.6694278717041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:46:02.910313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:46:22.519806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0003.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0000.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0001.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0003.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0000.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0001.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.062005519866943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 21:46:42.433457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0003.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0000.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0001.jpg', '/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/45/image_08012025_21_45_02_395573_0003.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0000.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0001.jpg
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531807","1327531794","1327531812","1327531781"],"photo_ids_order":["1327531781","1327531794","1327531807","1327531812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3014007619b48e56c2befb6ca841f98.jpg","text":"TemporaryFile(/tmp/multipartBody4131266460270840060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369272818,"filename":"image_08012025_21_46_02_604910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/526df68d40cbece8e712c226ff7d7da8.jpg","text":"TemporaryFile(/tmp/multipartBody2112977143105832362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369272818,"filename":"image_08012025_21_46_02_604910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f9233c399dd894fe3e3fa0aa51d006e.jpg","text":"TemporaryFile(/tmp/multipartBody71908399141433050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369272818,"filename":"image_08012025_21_46_02_604910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6fba44703a599b263dc43f7cc4954e0.jpg","text":"TemporaryFile(/tmp/multipartBody13225318120402116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369272818,"filename":"image_08012025_21_45_02_395573_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531807","file1":"1327531794","file0":"1327531781","file3":"1327531812"},"map_files_photo_id_array":[{"photo_id":"1327531807","filename":"file2"},{"photo_id":"1327531794","filename":"file1"},{"photo_id":"1327531781","filename":"file0"},{"photo_id":"1327531812","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531807":["hashtag1","hashtag2"]},{"1327531794":["hashtag1","hashtag2"]},{"1327531812":["hashtag1","hashtag2"]},{"1327531781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531807, 1327531794, 1327531812, 1327531781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.246893882751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 21:47:32.622027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0003.jpg', '/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0000.jpg', '/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/46/image_08012025_21_46_02_604910_0003.jpg
/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0000.jpg
/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531816","1327531814","1327531817"],"photo_ids_order":["1327531814","1327531816","1327531817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/912f9737b3a8473353da5a12a562d416.jpg","text":"TemporaryFile(/tmp/multipartBody4309619800308547196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369320568,"filename":"image_08012025_21_47_02_790699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63e77f499c76a39d0260bac6ea9a42d8.jpg","text":"TemporaryFile(/tmp/multipartBody6764972159892892251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369320568,"filename":"image_08012025_21_46_02_604910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7071f21c19810006a8fcd9f4c964c86d.jpg","text":"TemporaryFile(/tmp/multipartBody2711600910806989337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369320568,"filename":"image_08012025_21_47_02_790699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531817","file1":"1327531816","file0":"1327531814"},"map_files_photo_id_array":[{"photo_id":"1327531817","filename":"file2"},{"photo_id":"1327531816","filename":"file1"},{"photo_id":"1327531814","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531816":["hashtag1","hashtag2"]},{"1327531814":["hashtag1","hashtag2"]},{"1327531817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531816, 1327531814, 1327531817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.811192989349365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:48:21.769345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0003.jpg', '/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0000.jpg', '/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0001.jpg', '/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/47/image_08012025_21_47_02_790699_0003.jpg
/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0000.jpg
/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0001.jpg
/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531834","1327531884","1327531872","1327531851"],"photo_ids_order":["1327531834","1327531851","1327531872","1327531884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29a548294537889fd7f3a41ffc73f2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6661210515061612377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369371984,"filename":"image_08012025_21_47_02_790699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f7f09707ce97f08e33402b8a3f967f8.jpg","text":"TemporaryFile(/tmp/multipartBody7079293683910364530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369371984,"filename":"image_08012025_21_48_02_934181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2bd56da912e779d1cdbe73adae5fc04.jpg","text":"TemporaryFile(/tmp/multipartBody8355379783273674792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369371984,"filename":"image_08012025_21_48_02_934181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7309ebf3555aeeda9637bc934dc1cb99.jpg","text":"TemporaryFile(/tmp/multipartBody5342492572224222440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369371984,"filename":"image_08012025_21_48_02_934181_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531872","file1":"1327531851","file0":"1327531834","file3":"1327531884"},"map_files_photo_id_array":[{"photo_id":"1327531872","filename":"file2"},{"photo_id":"1327531851","filename":"file1"},{"photo_id":"1327531834","filename":"file0"},{"photo_id":"1327531884","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531834":["hashtag1","hashtag2"]},{"1327531884":["hashtag1","hashtag2"]},{"1327531872":["hashtag1","hashtag2"]},{"1327531851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531834, 1327531884, 1327531872, 1327531851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22991585731506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:49:22.071886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0003.jpg', '/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0000.jpg', '/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0001.jpg', '/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/48/image_08012025_21_48_02_934181_0003.jpg
/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0000.jpg
/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0001.jpg
/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531965","1327531967","1327531969","1327531963"],"photo_ids_order":["1327531963","1327531965","1327531967","1327531969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4534e89cbb97b5e93579108104acb2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3684929121332240009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369432440,"filename":"image_08012025_21_49_02_170341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9a00736db187a3a257461b03adb55ea.jpg","text":"TemporaryFile(/tmp/multipartBody8807510915603709737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369432440,"filename":"image_08012025_21_49_02_170341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d5950a63629db34323476b68c1cfd15.jpg","text":"TemporaryFile(/tmp/multipartBody4080042473439983986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369432440,"filename":"image_08012025_21_49_02_170341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d29ed5ef536bf60a527e02d8b49b06b4.jpg","text":"TemporaryFile(/tmp/multipartBody616430323977365957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369432440,"filename":"image_08012025_21_48_02_934181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531967","file1":"1327531965","file0":"1327531963","file3":"1327531969"},"map_files_photo_id_array":[{"photo_id":"1327531967","filename":"file2"},{"photo_id":"1327531965","filename":"file1"},{"photo_id":"1327531963","filename":"file0"},{"photo_id":"1327531969","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531965":["hashtag1","hashtag2"]},{"1327531967":["hashtag1","hashtag2"]},{"1327531969":["hashtag1","hashtag2"]},{"1327531963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531965, 1327531967, 1327531969, 1327531963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43519401550293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:50:22.171496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0003.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0000.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0001.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0003.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0000.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0001.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.839133262634277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 21:50:42.172962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0003.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0000.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0001.jpg', '/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/49/image_08012025_21_49_02_170341_0003.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0000.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0001.jpg
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327531998","1327532001","1327531997","1327531996"],"photo_ids_order":["1327531996","1327531997","1327531998","1327532001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9372065f9a0116bd924697522b889eb.jpg","text":"TemporaryFile(/tmp/multipartBody1176816007245770024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369512435,"filename":"image_08012025_21_50_02_400773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6b2d2b58d8ae8b768e769f9f66353a96.jpg","text":"TemporaryFile(/tmp/multipartBody2568027409191548528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369512435,"filename":"image_08012025_21_50_02_400773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cde2e149efd73eb1efc97ac7a25fab19.jpg","text":"TemporaryFile(/tmp/multipartBody7127335688673282892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369512435,"filename":"image_08012025_21_50_02_400773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da77a3337d7762ad888dc5124b0e9c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7969805715158619769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369512435,"filename":"image_08012025_21_49_02_170341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327531998","file1":"1327531997","file0":"1327531996","file3":"1327532001"},"map_files_photo_id_array":[{"photo_id":"1327531998","filename":"file2"},{"photo_id":"1327531997","filename":"file1"},{"photo_id":"1327531996","filename":"file0"},{"photo_id":"1327532001","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327531998":["hashtag1","hashtag2"]},{"1327532001":["hashtag1","hashtag2"]},{"1327531997":["hashtag1","hashtag2"]},{"1327531996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327531998, 1327532001, 1327531997, 1327531996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.825583934783936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 21:51:32.296637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0003.jpg', '/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0000.jpg', '/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0001.jpg', '/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/50/image_08012025_21_50_02_400773_0003.jpg
/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0000.jpg
/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0001.jpg
/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532049","1327532063","1327532048","1327532047"],"photo_ids_order":["1327532047","1327532048","1327532049","1327532063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/33d2ad59c53b1d1953bf2d8edcfadf03.jpg","text":"TemporaryFile(/tmp/multipartBody2985104791107224937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369562596,"filename":"image_08012025_21_51_02_542604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5587fa182fff5317007fb31ba7f55709.jpg","text":"TemporaryFile(/tmp/multipartBody1108096008708059258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369562596,"filename":"image_08012025_21_51_02_542604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d8fc3f9b42c733eb3a844891a4730f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1128029858571898199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369562596,"filename":"image_08012025_21_51_02_542604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc1084f05cd82ad2086e045597bfd21f.jpg","text":"TemporaryFile(/tmp/multipartBody1291510440844988669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369562596,"filename":"image_08012025_21_50_02_400773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532049","file1":"1327532048","file0":"1327532047","file3":"1327532063"},"map_files_photo_id_array":[{"photo_id":"1327532049","filename":"file2"},{"photo_id":"1327532048","filename":"file1"},{"photo_id":"1327532047","filename":"file0"},{"photo_id":"1327532063","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532049":["hashtag1","hashtag2"]},{"1327532063":["hashtag1","hashtag2"]},{"1327532048":["hashtag1","hashtag2"]},{"1327532047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532049, 1327532063, 1327532048, 1327532047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70463252067566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:52:22.513475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0003.jpg', '/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0000.jpg', '/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0001.jpg', '/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/51/image_08012025_21_51_02_542604_0003.jpg
/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0000.jpg
/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0001.jpg
/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532118","1327532117","1327532119","1327532113"],"photo_ids_order":["1327532113","1327532117","1327532118","1327532119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cdb67f0241f6a33b8d633c47adc65a18.jpg","text":"TemporaryFile(/tmp/multipartBody8234659129583972365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369612899,"filename":"image_08012025_21_52_02_628996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d6ac2c9d9fdd36f26aa16913f9f99d41.jpg","text":"TemporaryFile(/tmp/multipartBody7768318082268701186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369612899,"filename":"image_08012025_21_52_02_628996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c3d64adedc6c7be8fbd188fbea5d4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3800381745338207859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369612899,"filename":"image_08012025_21_52_02_628996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49a6959ed0e4ed95cba9741b00f22057.jpg","text":"TemporaryFile(/tmp/multipartBody5017766698097166694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369612899,"filename":"image_08012025_21_51_02_542604_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532118","file1":"1327532117","file0":"1327532113","file3":"1327532119"},"map_files_photo_id_array":[{"photo_id":"1327532118","filename":"file2"},{"photo_id":"1327532117","filename":"file1"},{"photo_id":"1327532113","filename":"file0"},{"photo_id":"1327532119","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532118":["hashtag1","hashtag2"]},{"1327532117":["hashtag1","hashtag2"]},{"1327532119":["hashtag1","hashtag2"]},{"1327532113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532118, 1327532117, 1327532119, 1327532113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84323978424072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:53:22.704574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0003.jpg', '/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0000.jpg', '/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0001.jpg', '/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/52/image_08012025_21_52_02_628996_0003.jpg
/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0000.jpg
/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0001.jpg
/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532163","1327532165","1327532164","1327532161"],"photo_ids_order":["1327532161","1327532163","1327532164","1327532165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f13c64a5478fe61f7c5a4d4b7617c54.jpg","text":"TemporaryFile(/tmp/multipartBody2589425019282176230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369673060,"filename":"image_08012025_21_53_02_827090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/560d9ce5bf33dfb43cb1d8ab329acdf1.jpg","text":"TemporaryFile(/tmp/multipartBody2065403814250284460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369673060,"filename":"image_08012025_21_53_02_827090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/527074de3988b6beea4d4e343adb30ff.jpg","text":"TemporaryFile(/tmp/multipartBody781629803895080120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369673060,"filename":"image_08012025_21_53_02_827090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f8622d84a9dc87d839ca7aa82ce3a65c.jpg","text":"TemporaryFile(/tmp/multipartBody6995777983554293285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369673060,"filename":"image_08012025_21_52_02_628996_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532164","file1":"1327532163","file0":"1327532161","file3":"1327532165"},"map_files_photo_id_array":[{"photo_id":"1327532164","filename":"file2"},{"photo_id":"1327532163","filename":"file1"},{"photo_id":"1327532161","filename":"file0"},{"photo_id":"1327532165","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532163":["hashtag1","hashtag2"]},{"1327532165":["hashtag1","hashtag2"]},{"1327532164":["hashtag1","hashtag2"]},{"1327532161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532163, 1327532165, 1327532164, 1327532161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22355532646179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:54:02.327857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:54:21.851473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0003.jpg', '/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0000.jpg', '/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0001.jpg', '/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/53/image_08012025_21_53_02_827090_0003.jpg
/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0000.jpg
/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0001.jpg
/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532184","1327532172","1327532192","1327532200"],"photo_ids_order":["1327532172","1327532184","1327532192","1327532200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2aeddee4a1e47969ad78361cbfaf59aa.jpg","text":"TemporaryFile(/tmp/multipartBody2969372399512622665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369732251,"filename":"image_08012025_21_54_03_035495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0fb4fe1f93a00448c953d00c11d33b75.jpg","text":"TemporaryFile(/tmp/multipartBody2787001902846119655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369732251,"filename":"image_08012025_21_53_02_827090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0e0ad8b35a399f385c4c65f45e4264c.jpg","text":"TemporaryFile(/tmp/multipartBody3664417536926590929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369732251,"filename":"image_08012025_21_54_03_035495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/571962f5a0f5831d504d79cd14850182.jpg","text":"TemporaryFile(/tmp/multipartBody527598394589950216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369732251,"filename":"image_08012025_21_54_03_035495_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532192","file1":"1327532184","file0":"1327532172","file3":"1327532200"},"map_files_photo_id_array":[{"photo_id":"1327532192","filename":"file2"},{"photo_id":"1327532184","filename":"file1"},{"photo_id":"1327532172","filename":"file0"},{"photo_id":"1327532200","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532184":["hashtag1","hashtag2"]},{"1327532172":["hashtag1","hashtag2"]},{"1327532192":["hashtag1","hashtag2"]},{"1327532200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532184, 1327532172, 1327532192, 1327532200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52627110481262 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-08 21:55:22.037983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0003.jpg', '/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0000.jpg', '/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0001.jpg', '/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/54/image_08012025_21_54_03_035495_0003.jpg
/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0000.jpg
/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0001.jpg
/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532247","1327532301","1327532294","1327532266"],"photo_ids_order":["1327532247","1327532266","1327532294","1327532301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3529596b0ed1d8eb826e69513902bab4.jpg","text":"TemporaryFile(/tmp/multipartBody7432395375152548908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369792525,"filename":"image_08012025_21_54_03_035495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/393d91d8ac38fb260fa06b68d2752ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5147119378311269509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369792525,"filename":"image_08012025_21_55_02_236868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/005cad184967e27523ac633e00416364.jpg","text":"TemporaryFile(/tmp/multipartBody5730320992715599165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369792525,"filename":"image_08012025_21_55_02_236868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/753ccb9dff3d3341cdcd07fa65679388.jpg","text":"TemporaryFile(/tmp/multipartBody6998876384080168237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369792525,"filename":"image_08012025_21_55_02_236868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532294","file1":"1327532266","file0":"1327532247","file3":"1327532301"},"map_files_photo_id_array":[{"photo_id":"1327532294","filename":"file2"},{"photo_id":"1327532266","filename":"file1"},{"photo_id":"1327532247","filename":"file0"},{"photo_id":"1327532301","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532247":["hashtag1","hashtag2"]},{"1327532301":["hashtag1","hashtag2"]},{"1327532294":["hashtag1","hashtag2"]},{"1327532266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532247, 1327532301, 1327532294, 1327532266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.48280715942383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:56:02.690041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:56:22.187363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0003.jpg', '/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0000.jpg', '/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0001.jpg', '/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/55/image_08012025_21_55_02_236868_0003.jpg
/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0000.jpg
/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0001.jpg
/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532349","1327532351","1327532353","1327532347"],"photo_ids_order":["1327532347","1327532349","1327532351","1327532353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c47c13ec83963afe6e57dc07a5bfea08.jpg","text":"TemporaryFile(/tmp/multipartBody3440798976476422742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369852516,"filename":"image_08012025_21_56_02_415209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3d64bbd9633ad26bb0bdae120e37d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8736649846116551385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369852516,"filename":"image_08012025_21_56_02_415209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0b2b1ddde6a2a1e61de8e4851657c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6192665068395454253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369852516,"filename":"image_08012025_21_56_02_415209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc78eaec8778ff03e63a20d2f0d716e7.jpg","text":"TemporaryFile(/tmp/multipartBody4400457427102110695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369852516,"filename":"image_08012025_21_55_02_236868_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532351","file1":"1327532349","file0":"1327532347","file3":"1327532353"},"map_files_photo_id_array":[{"photo_id":"1327532351","filename":"file2"},{"photo_id":"1327532349","filename":"file1"},{"photo_id":"1327532347","filename":"file0"},{"photo_id":"1327532353","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532349":["hashtag1","hashtag2"]},{"1327532351":["hashtag1","hashtag2"]},{"1327532353":["hashtag1","hashtag2"]},{"1327532347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532349, 1327532351, 1327532353, 1327532347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92529511451721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:57:02.945307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:57:22.425625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0003.jpg', '/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0000.jpg', '/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0001.jpg', '/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/56/image_08012025_21_56_02_415209_0003.jpg
/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0000.jpg
/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0001.jpg
/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532448","1327532379","1327532433","1327532402"],"photo_ids_order":["1327532379","1327532402","1327532433","1327532448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07dc7edc16b047eb8e6788a4bf39039e.jpg","text":"TemporaryFile(/tmp/multipartBody2814743449310073514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369912836,"filename":"image_08012025_21_57_02_545850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0d92a736ce9368f4e2eb495f86bae6d.jpg","text":"TemporaryFile(/tmp/multipartBody3236478328180060009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369912836,"filename":"image_08012025_21_56_02_415209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7709162e2f85caf6eaa02c8b7e75eab.jpg","text":"TemporaryFile(/tmp/multipartBody7877249099843103432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369912836,"filename":"image_08012025_21_57_02_545850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5b70232e16dff7a3b0b80e56d9b8e356.jpg","text":"TemporaryFile(/tmp/multipartBody239723910783336030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736369912836,"filename":"image_08012025_21_57_02_545850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532433","file1":"1327532402","file0":"1327532379","file3":"1327532448"},"map_files_photo_id_array":[{"photo_id":"1327532433","filename":"file2"},{"photo_id":"1327532402","filename":"file1"},{"photo_id":"1327532379","filename":"file0"},{"photo_id":"1327532448","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532448":["hashtag1","hashtag2"]},{"1327532379":["hashtag1","hashtag2"]},{"1327532433":["hashtag1","hashtag2"]},{"1327532402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532448, 1327532379, 1327532433, 1327532402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.333669662475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 21:59:03.419101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 21:59:22.690797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0003.jpg', '/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0000.jpg', '/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0001.jpg', '/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0002.jpg', '/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0003.jpg', '/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/57/image_08012025_21_57_02_545850_0003.jpg
/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0000.jpg
/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0001.jpg
/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0002.jpg
/home/pi/Desktop/images/08012025/21/58/image_08012025_21_58_02_681216_0003.jpg
/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_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":["1327532526","1327532511","1327532607","1327532513","1327532510","1327532509"],"photo_ids_order":["1327532509","1327532510","1327532511","1327532513","1327532526","1327532607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ded0ceb64bb36404a95f618d2b7bd376.jpg","text":"TemporaryFile(/tmp/multipartBody631427264580314342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_58_02_681216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/467c3af865b49079316d720018715906.jpg","text":"TemporaryFile(/tmp/multipartBody2393661483118144818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_58_02_681216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/851e4508d00ae25a7cd1089636613ed8.jpg","text":"TemporaryFile(/tmp/multipartBody361148036978767976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_59_02_850001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/056885cba651539b9488c66bd81d2645.jpg","text":"TemporaryFile(/tmp/multipartBody3952685647704173960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_58_02_681216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a4b46f60d5dcb61e85667125359d015.jpg","text":"TemporaryFile(/tmp/multipartBody8286113863705316053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_58_02_681216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5404f40419d00cc6fe3181d6eb14d81f.jpg","text":"TemporaryFile(/tmp/multipartBody4337225559996168760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370037906,"filename":"image_08012025_21_57_02_545850_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532511","file1":"1327532510","file0":"1327532509","file4":"1327532526","file5":"1327532607","file3":"1327532513"},"map_files_photo_id_array":[{"photo_id":"1327532607","filename":"file5"},{"photo_id":"1327532511","filename":"file2"},{"photo_id":"1327532526","filename":"file4"},{"photo_id":"1327532510","filename":"file1"},{"photo_id":"1327532509","filename":"file0"},{"photo_id":"1327532513","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532526":["hashtag1","hashtag2"]},{"1327532511":["hashtag1","hashtag2"]},{"1327532607":["hashtag1","hashtag2"]},{"1327532513":["hashtag1","hashtag2"]},{"1327532510":["hashtag1","hashtag2"]},{"1327532509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532526, 1327532511, 1327532607, 1327532513, 1327532510, 1327532509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19784188270569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:00:21.899514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0001.jpg', '/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0002.jpg', '/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0003.jpg', '/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0000.jpg', '/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0001.jpg', '/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0001.jpg
/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0002.jpg
/home/pi/Desktop/images/08012025/21/59/image_08012025_21_59_02_850001_0003.jpg
/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0000.jpg
/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0001.jpg
/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532640","1327532643","1327532637","1327532645","1327532623","1327532647"],"photo_ids_order":["1327532623","1327532637","1327532640","1327532643","1327532645","1327532647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ee9ed50d5871da3d116e75a31d97245.jpg","text":"TemporaryFile(/tmp/multipartBody2957336597245255127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_21_59_02_850001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0965bd822a29453dd76a71b8b8cfeb10.jpg","text":"TemporaryFile(/tmp/multipartBody1884165197408004069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_22_00_03_083911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94392f8d0bd1cc2380557355d009331b.jpg","text":"TemporaryFile(/tmp/multipartBody4029938406385226158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_21_59_02_850001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9a51ad694a4359c48bfa0fb519b184c6.jpg","text":"TemporaryFile(/tmp/multipartBody2256114528882933438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_22_00_03_083911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/002cb2e00e66f679c8a1c942b3cc1887.jpg","text":"TemporaryFile(/tmp/multipartBody2523369178816415275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_21_59_02_850001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2a098c74355113ae9bd7161498028b3c.jpg","text":"TemporaryFile(/tmp/multipartBody324737728523593887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370097216,"filename":"image_08012025_22_00_03_083911_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532640","file1":"1327532637","file0":"1327532623","file4":"1327532645","file5":"1327532647","file3":"1327532643"},"map_files_photo_id_array":[{"photo_id":"1327532647","filename":"file5"},{"photo_id":"1327532640","filename":"file2"},{"photo_id":"1327532645","filename":"file4"},{"photo_id":"1327532637","filename":"file1"},{"photo_id":"1327532623","filename":"file0"},{"photo_id":"1327532643","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532640":["hashtag1","hashtag2"]},{"1327532643":["hashtag1","hashtag2"]},{"1327532637":["hashtag1","hashtag2"]},{"1327532645":["hashtag1","hashtag2"]},{"1327532623":["hashtag1","hashtag2"]},{"1327532647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532640, 1327532643, 1327532637, 1327532645, 1327532623, 1327532647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.858699798583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:01:22.062102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0003.jpg', '/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0000.jpg', '/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0001.jpg', '/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/00/image_08012025_22_00_03_083911_0003.jpg
/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0000.jpg
/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0001.jpg
/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327532667","1327532658","1327532657","1327532659"],"photo_ids_order":["1327532657","1327532658","1327532659","1327532667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e43b1626a49e4099297e52803ac5581b.jpg","text":"TemporaryFile(/tmp/multipartBody3217292003099842212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370152473,"filename":"image_08012025_22_01_02_284945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b287d3f801be7d2f5a369d143461d39a.jpg","text":"TemporaryFile(/tmp/multipartBody9185701574064667809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370152473,"filename":"image_08012025_22_01_02_284945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/48d92fb12f2e076c6f42d006afbb4493.jpg","text":"TemporaryFile(/tmp/multipartBody6303962864758866903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370152473,"filename":"image_08012025_22_00_03_083911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e08d4ee346caf1a0b3060ff6c6b2b83d.jpg","text":"TemporaryFile(/tmp/multipartBody9071952252890489869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370152473,"filename":"image_08012025_22_01_02_284945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327532659","file1":"1327532658","file0":"1327532657","file3":"1327532667"},"map_files_photo_id_array":[{"photo_id":"1327532659","filename":"file2"},{"photo_id":"1327532658","filename":"file1"},{"photo_id":"1327532657","filename":"file0"},{"photo_id":"1327532667","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327532667":["hashtag1","hashtag2"]},{"1327532658":["hashtag1","hashtag2"]},{"1327532657":["hashtag1","hashtag2"]},{"1327532659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327532667, 1327532658, 1327532657, 1327532659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.200631618499756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:02:02.825372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:02:22.265750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0003.jpg', '/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0000.jpg', '/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0001.jpg', '/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/01/image_08012025_22_01_02_284945_0003.jpg
/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0000.jpg
/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0001.jpg
/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327533720","1327533893","1327533712","1327533999"],"photo_ids_order":["1327533712","1327533720","1327533893","1327533999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a9d00fda7da2c73f084f3b8c98ab0556.jpg","text":"TemporaryFile(/tmp/multipartBody8125834144202013304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370212665,"filename":"image_08012025_22_02_02_443684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/458ec31c6a09f19b55a69e61eaad6b27.jpg","text":"TemporaryFile(/tmp/multipartBody4233751986367086575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370212665,"filename":"image_08012025_22_02_02_443684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b8777230bac4ab138bd5c0fb05f1949.jpg","text":"TemporaryFile(/tmp/multipartBody2431450548117968420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370212665,"filename":"image_08012025_22_01_02_284945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a26dd395b8eefd2d6535fc8ddb5f907f.jpg","text":"TemporaryFile(/tmp/multipartBody7289533405925381734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370212665,"filename":"image_08012025_22_02_02_443684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327533893","file1":"1327533720","file0":"1327533712","file3":"1327533999"},"map_files_photo_id_array":[{"photo_id":"1327533893","filename":"file2"},{"photo_id":"1327533720","filename":"file1"},{"photo_id":"1327533712","filename":"file0"},{"photo_id":"1327533999","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327533720":["hashtag1","hashtag2"]},{"1327533893":["hashtag1","hashtag2"]},{"1327533712":["hashtag1","hashtag2"]},{"1327533999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327533720, 1327533893, 1327533712, 1327533999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30885863304138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:03:22.476862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0003.jpg', '/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0000.jpg', '/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0001.jpg', '/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/02/image_08012025_22_02_02_443684_0003.jpg
/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0000.jpg
/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0001.jpg
/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327536232","1327536458","1327536425","1327536515"],"photo_ids_order":["1327536232","1327536425","1327536458","1327536515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a1648aecff859bbc27da649cc2ebc76f.jpg","text":"TemporaryFile(/tmp/multipartBody3648833346059865136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370272902,"filename":"image_08012025_22_02_02_443684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd339aacdb8c8fd7cec51a6c55788f53.jpg","text":"TemporaryFile(/tmp/multipartBody9204287877294623310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370272902,"filename":"image_08012025_22_03_02_652553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4a7b3a80bb8e711ac3d3063bf9daf1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4570102663506680764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370272902,"filename":"image_08012025_22_03_02_652553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/797f84f1da55ef05c8ea40c2fb9d975c.jpg","text":"TemporaryFile(/tmp/multipartBody5654793408911384415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370272902,"filename":"image_08012025_22_03_02_652553_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327536458","file1":"1327536425","file0":"1327536232","file3":"1327536515"},"map_files_photo_id_array":[{"photo_id":"1327536458","filename":"file2"},{"photo_id":"1327536425","filename":"file1"},{"photo_id":"1327536232","filename":"file0"},{"photo_id":"1327536515","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327536232":["hashtag1","hashtag2"]},{"1327536458":["hashtag1","hashtag2"]},{"1327536425":["hashtag1","hashtag2"]},{"1327536515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327536232, 1327536458, 1327536425, 1327536515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.411046266555786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:04:03.055644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:04:22.573059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0003.jpg', '/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0000.jpg', '/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0001.jpg', '/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/03/image_08012025_22_03_02_652553_0003.jpg
/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0000.jpg
/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0001.jpg
/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327537278","1327536879","1327537529","1327537018"],"photo_ids_order":["1327536879","1327537018","1327537278","1327537529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3dd9aa2c5d3dcdc1feff872de6a0ee31.jpg","text":"TemporaryFile(/tmp/multipartBody6747778393786925866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370332891,"filename":"image_08012025_22_04_02_860802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a558621322610f51f0ad506d1b4cfab4.jpg","text":"TemporaryFile(/tmp/multipartBody4546077074848211782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370332891,"filename":"image_08012025_22_03_02_652553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d9d6aaaf0c27409eea34e2be300cecb9.jpg","text":"TemporaryFile(/tmp/multipartBody6201606029090986784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370332891,"filename":"image_08012025_22_04_02_860802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e4132a93ab735eb34cd237ed95f48a6.jpg","text":"TemporaryFile(/tmp/multipartBody5243855247608032622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370332891,"filename":"image_08012025_22_04_02_860802_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327537278","file1":"1327537018","file0":"1327536879","file3":"1327537529"},"map_files_photo_id_array":[{"photo_id":"1327537278","filename":"file2"},{"photo_id":"1327537018","filename":"file1"},{"photo_id":"1327536879","filename":"file0"},{"photo_id":"1327537529","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327537278":["hashtag1","hashtag2"]},{"1327536879":["hashtag1","hashtag2"]},{"1327537529":["hashtag1","hashtag2"]},{"1327537018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327537278, 1327536879, 1327537529, 1327537018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77182054519653 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-08 22:05:21.832654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0003.jpg', '/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0000.jpg', '/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0001.jpg', '/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/04/image_08012025_22_04_02_860802_0003.jpg
/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0000.jpg
/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0001.jpg
/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327538198","1327538189","1327538176","1327538236"],"photo_ids_order":["1327538176","1327538189","1327538198","1327538236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27a123f9588ba0a0bc5d21d23eb0f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody5127483950609898060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370391952,"filename":"image_08012025_22_05_03_075423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f6a3321a883ff0817eb0acbff551ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8097466765589946142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370391952,"filename":"image_08012025_22_05_03_075423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49057a0b6fd5c30424f2b756b19985e7.jpg","text":"TemporaryFile(/tmp/multipartBody8846677603775403434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370391952,"filename":"image_08012025_22_04_02_860802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3cf360c2931c80fc5590ad725defbfdb.jpg","text":"TemporaryFile(/tmp/multipartBody8288732880096423835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370391952,"filename":"image_08012025_22_05_03_075423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327538198","file1":"1327538189","file0":"1327538176","file3":"1327538236"},"map_files_photo_id_array":[{"photo_id":"1327538198","filename":"file2"},{"photo_id":"1327538189","filename":"file1"},{"photo_id":"1327538176","filename":"file0"},{"photo_id":"1327538236","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327538198":["hashtag1","hashtag2"]},{"1327538189":["hashtag1","hashtag2"]},{"1327538176":["hashtag1","hashtag2"]},{"1327538236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327538198, 1327538189, 1327538176, 1327538236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.015358209609985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:06:02.461062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:06:22.038623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0003.jpg', '/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0000.jpg', '/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0001.jpg', '/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/05/image_08012025_22_05_03_075423_0003.jpg
/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0000.jpg
/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0001.jpg
/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327538247","1327538246","1327538249","1327538245"],"photo_ids_order":["1327538245","1327538246","1327538247","1327538249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/485f8abcf211f698c3ffe18f8ff8407b.jpg","text":"TemporaryFile(/tmp/multipartBody2620772011826274165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370451785,"filename":"image_08012025_22_06_02_203694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8fce9d44e3e76154de2ca15d86e0cf70.jpg","text":"TemporaryFile(/tmp/multipartBody623375758463546012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370451785,"filename":"image_08012025_22_06_02_203694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf73aaa251388e3e9b9474936e01c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6929266364533310109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370451785,"filename":"image_08012025_22_06_02_203694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0adbfd78a390d1652df0fb3df0586150.jpg","text":"TemporaryFile(/tmp/multipartBody6972452589971153232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370451785,"filename":"image_08012025_22_05_03_075423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327538247","file1":"1327538246","file0":"1327538245","file3":"1327538249"},"map_files_photo_id_array":[{"photo_id":"1327538247","filename":"file2"},{"photo_id":"1327538246","filename":"file1"},{"photo_id":"1327538245","filename":"file0"},{"photo_id":"1327538249","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327538247":["hashtag1","hashtag2"]},{"1327538246":["hashtag1","hashtag2"]},{"1327538249":["hashtag1","hashtag2"]},{"1327538245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327538247, 1327538246, 1327538249, 1327538245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51307392120361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:07:02.864417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:07:22.094954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0003.jpg', '/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0000.jpg', '/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0001.jpg', '/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/06/image_08012025_22_06_02_203694_0003.jpg
/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0000.jpg
/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0001.jpg
/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327538751","1327538727","1327538678","1327538752"],"photo_ids_order":["1327538678","1327538727","1327538751","1327538752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6ec3499ad3756e1585c7f05d4bf9fd8.jpg","text":"TemporaryFile(/tmp/multipartBody9131089541442948403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370512100,"filename":"image_08012025_22_07_02_414731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8309830f9a657f2b714857b31f4a5acf.jpg","text":"TemporaryFile(/tmp/multipartBody1575449825338316379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370512100,"filename":"image_08012025_22_07_02_414731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e86b8c3138197a0d63da89afac26504.jpg","text":"TemporaryFile(/tmp/multipartBody2628369805210348523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370512100,"filename":"image_08012025_22_06_02_203694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8dce8ae9be35a11a730b2847cadbcc92.jpg","text":"TemporaryFile(/tmp/multipartBody3701646386614843110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370512100,"filename":"image_08012025_22_07_02_414731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327538751","file1":"1327538727","file0":"1327538678","file3":"1327538752"},"map_files_photo_id_array":[{"photo_id":"1327538751","filename":"file2"},{"photo_id":"1327538727","filename":"file1"},{"photo_id":"1327538678","filename":"file0"},{"photo_id":"1327538752","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327538751":["hashtag1","hashtag2"]},{"1327538727":["hashtag1","hashtag2"]},{"1327538678":["hashtag1","hashtag2"]},{"1327538752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327538751, 1327538727, 1327538678, 1327538752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10397672653198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:08:02.813253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:08:22.496646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0003.jpg', '/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0000.jpg', '/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0001.jpg', '/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/07/image_08012025_22_07_02_414731_0003.jpg
/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0000.jpg
/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0001.jpg
/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327539807","1327539720","1327539547","1327539549"],"photo_ids_order":["1327539547","1327539549","1327539720","1327539807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eefbe6014bcf18e272fb400409510ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7073475756881814792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370572878,"filename":"image_08012025_22_08_02_524111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e75ff6c10c4f42af8d2ba1513a337b18.jpg","text":"TemporaryFile(/tmp/multipartBody9014498455371561569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370572878,"filename":"image_08012025_22_08_02_524111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9c1890c6dfa6762f6e30625a32db93bc.jpg","text":"TemporaryFile(/tmp/multipartBody7610075558555221777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370572878,"filename":"image_08012025_22_07_02_414731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/247bf8c727fd5f16b09006d6c962cda7.jpg","text":"TemporaryFile(/tmp/multipartBody8498679547235271137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370572878,"filename":"image_08012025_22_08_02_524111_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327539720","file1":"1327539549","file0":"1327539547","file3":"1327539807"},"map_files_photo_id_array":[{"photo_id":"1327539720","filename":"file2"},{"photo_id":"1327539549","filename":"file1"},{"photo_id":"1327539547","filename":"file0"},{"photo_id":"1327539807","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327539807":["hashtag1","hashtag2"]},{"1327539720":["hashtag1","hashtag2"]},{"1327539547":["hashtag1","hashtag2"]},{"1327539549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327539807, 1327539720, 1327539547, 1327539549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.203845500946045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:09:22.539974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0003.jpg', '/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0000.jpg', '/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0001.jpg', '/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/08/image_08012025_22_08_02_524111_0003.jpg
/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0000.jpg
/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0001.jpg
/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327541254","1327541253","1327541256","1327541325"],"photo_ids_order":["1327541253","1327541254","1327541256","1327541325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dff808ba8083d6ec39908bc8fab4332.jpg","text":"TemporaryFile(/tmp/multipartBody7165882011592385756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370632417,"filename":"image_08012025_22_09_02_785799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f83237eb33787e30cd9c5d7d8c23491.jpg","text":"TemporaryFile(/tmp/multipartBody4633464198115808677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370632417,"filename":"image_08012025_22_08_02_524111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06c8840340d530ede4a01cbe7adba66c.jpg","text":"TemporaryFile(/tmp/multipartBody7432913849096234425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370632417,"filename":"image_08012025_22_09_02_785799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c8fc56b143b77ea9357a81c17e5123f.jpg","text":"TemporaryFile(/tmp/multipartBody3120872498246001820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370632417,"filename":"image_08012025_22_09_02_785799_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327541256","file1":"1327541254","file0":"1327541253","file3":"1327541325"},"map_files_photo_id_array":[{"photo_id":"1327541256","filename":"file2"},{"photo_id":"1327541254","filename":"file1"},{"photo_id":"1327541253","filename":"file0"},{"photo_id":"1327541325","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327541254":["hashtag1","hashtag2"]},{"1327541253":["hashtag1","hashtag2"]},{"1327541256":["hashtag1","hashtag2"]},{"1327541325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327541254, 1327541253, 1327541256, 1327541325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.069183588027954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:10:03.106574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:10:22.694936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0003.jpg', '/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0000.jpg', '/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0001.jpg', '/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/09/image_08012025_22_09_02_785799_0003.jpg
/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0000.jpg
/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0001.jpg
/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327541488","1327541482","1327541335","1327541334"],"photo_ids_order":["1327541334","1327541335","1327541482","1327541488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3afece34096d540bcb74d10aa6691a44.jpg","text":"TemporaryFile(/tmp/multipartBody4278860793701134861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370692254,"filename":"image_08012025_22_10_02_887318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a8b23bbc73e0ac01a3af69b9d3fed379.jpg","text":"TemporaryFile(/tmp/multipartBody8339363721049582346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370692254,"filename":"image_08012025_22_10_02_887318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8c77c7d066be8758c6120d1bb9f515c7.jpg","text":"TemporaryFile(/tmp/multipartBody8801447512231330086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370692254,"filename":"image_08012025_22_10_02_887318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3bd062b1552bd59c0c7c22ddb5866ea.jpg","text":"TemporaryFile(/tmp/multipartBody50402225876134992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370692254,"filename":"image_08012025_22_09_02_785799_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327541482","file1":"1327541335","file0":"1327541334","file3":"1327541488"},"map_files_photo_id_array":[{"photo_id":"1327541482","filename":"file2"},{"photo_id":"1327541335","filename":"file1"},{"photo_id":"1327541334","filename":"file0"},{"photo_id":"1327541488","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327541488":["hashtag1","hashtag2"]},{"1327541482":["hashtag1","hashtag2"]},{"1327541335":["hashtag1","hashtag2"]},{"1327541334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327541488, 1327541482, 1327541335, 1327541334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.179049253463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:11:02.248568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:11:21.897059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0003.jpg', '/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0000.jpg', '/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0001.jpg', '/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/10/image_08012025_22_10_02_887318_0003.jpg
/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0000.jpg
/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0001.jpg
/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327541846","1327542171","1327541812","1327541808"],"photo_ids_order":["1327541808","1327541812","1327541846","1327542171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bba22d43cbf93886a54cded6d80bceab.jpg","text":"TemporaryFile(/tmp/multipartBody8231080985121729789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370750671,"filename":"image_08012025_22_11_03_042387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/317c9de56fcb505254de0d5ecd7f0e82.jpg","text":"TemporaryFile(/tmp/multipartBody8716530233392955237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370750671,"filename":"image_08012025_22_11_03_042387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8cd1a9a6b75f99cb6a18b63acdbe031d.jpg","text":"TemporaryFile(/tmp/multipartBody555995782476587195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370750671,"filename":"image_08012025_22_11_03_042387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b520a9e01f81c5b3d3fcfaee2ce41145.jpg","text":"TemporaryFile(/tmp/multipartBody797083667163281457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370750671,"filename":"image_08012025_22_10_02_887318_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327541846","file1":"1327541812","file0":"1327541808","file3":"1327542171"},"map_files_photo_id_array":[{"photo_id":"1327541846","filename":"file2"},{"photo_id":"1327541812","filename":"file1"},{"photo_id":"1327541808","filename":"file0"},{"photo_id":"1327542171","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327541846":["hashtag1","hashtag2"]},{"1327542171":["hashtag1","hashtag2"]},{"1327541812":["hashtag1","hashtag2"]},{"1327541808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327541846, 1327542171, 1327541812, 1327541808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.43772339820862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:12:02.489811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:12:22.058408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0003.jpg', '/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0000.jpg', '/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0001.jpg', '/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/11/image_08012025_22_11_03_042387_0003.jpg
/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0000.jpg
/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0001.jpg
/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327542790","1327542695","1327542698","1327542773"],"photo_ids_order":["1327542695","1327542698","1327542773","1327542790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ed5acc7d627871988535d102bb9f557.jpg","text":"TemporaryFile(/tmp/multipartBody6896116626579577785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370811598,"filename":"image_08012025_22_12_02_269217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e4e2dcc8c0fd4013f42e38521302ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody3834556670110983742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370811598,"filename":"image_08012025_22_11_03_042387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bff3436744f82133a4d2dfa3a349b07e.jpg","text":"TemporaryFile(/tmp/multipartBody2377420075450504156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370811598,"filename":"image_08012025_22_12_02_269217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e54c3b295e7bd70ba3aa816065d928b6.jpg","text":"TemporaryFile(/tmp/multipartBody2938120036048983141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370811598,"filename":"image_08012025_22_12_02_269217_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327542773","file1":"1327542698","file0":"1327542695","file3":"1327542790"},"map_files_photo_id_array":[{"photo_id":"1327542773","filename":"file2"},{"photo_id":"1327542698","filename":"file1"},{"photo_id":"1327542695","filename":"file0"},{"photo_id":"1327542790","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327542790":["hashtag1","hashtag2"]},{"1327542695":["hashtag1","hashtag2"]},{"1327542698":["hashtag1","hashtag2"]},{"1327542773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327542790, 1327542695, 1327542698, 1327542773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.70983171463013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:13:02.709080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:13:22.192685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0003.jpg', '/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0000.jpg', '/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0001.jpg', '/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/12/image_08012025_22_12_02_269217_0003.jpg
/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0000.jpg
/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0001.jpg
/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327542997","1327542951","1327542852","1327542887"],"photo_ids_order":["1327542852","1327542887","1327542951","1327542997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb47f441469f62eb9ebf15bcb3f1ab25.jpg","text":"TemporaryFile(/tmp/multipartBody5934527972835881749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370872587,"filename":"image_08012025_22_13_02_391223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f82d62bc0c3fcdd10820f716412fa27.jpg","text":"TemporaryFile(/tmp/multipartBody1294985608299382284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370872587,"filename":"image_08012025_22_13_02_391223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/92ee560169d86c09b91d0b6848dd8749.jpg","text":"TemporaryFile(/tmp/multipartBody1125375536466365679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370872587,"filename":"image_08012025_22_12_02_269217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b47b634b30f195b591dd4bb9a6db395.jpg","text":"TemporaryFile(/tmp/multipartBody7822779375114370644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370872587,"filename":"image_08012025_22_13_02_391223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327542951","file1":"1327542887","file0":"1327542852","file3":"1327542997"},"map_files_photo_id_array":[{"photo_id":"1327542951","filename":"file2"},{"photo_id":"1327542887","filename":"file1"},{"photo_id":"1327542852","filename":"file0"},{"photo_id":"1327542997","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327542997":["hashtag1","hashtag2"]},{"1327542951":["hashtag1","hashtag2"]},{"1327542852":["hashtag1","hashtag2"]},{"1327542887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327542997, 1327542951, 1327542852, 1327542887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19560360908508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:14:02.747177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:14:22.381607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0003.jpg', '/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0000.jpg', '/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0001.jpg', '/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/13/image_08012025_22_13_02_391223_0003.jpg
/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0000.jpg
/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0001.jpg
/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327543619","1327543156","1327543647","1327543440"],"photo_ids_order":["1327543156","1327543440","1327543619","1327543647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ba25b03da0fcfde84c12d1a608864518.jpg","text":"TemporaryFile(/tmp/multipartBody2448026395009357455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370933014,"filename":"image_08012025_22_14_02_577207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1a2772c7a46aaec3c1336e6ff7fc8da8.jpg","text":"TemporaryFile(/tmp/multipartBody2415505723602055649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370933014,"filename":"image_08012025_22_13_02_391223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94411a35eb366252964065a8c00cd7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1696732848837348296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370933014,"filename":"image_08012025_22_14_02_577207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f26aee49327436f1069cc7aad6249add.jpg","text":"TemporaryFile(/tmp/multipartBody3065539808823582383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370933014,"filename":"image_08012025_22_14_02_577207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327543619","file1":"1327543440","file0":"1327543156","file3":"1327543647"},"map_files_photo_id_array":[{"photo_id":"1327543619","filename":"file2"},{"photo_id":"1327543440","filename":"file1"},{"photo_id":"1327543156","filename":"file0"},{"photo_id":"1327543647","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327543619":["hashtag1","hashtag2"]},{"1327543156":["hashtag1","hashtag2"]},{"1327543647":["hashtag1","hashtag2"]},{"1327543440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327543619, 1327543156, 1327543647, 1327543440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.652883768081665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:15:03.320020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:15:22.620944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0003.jpg', '/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0000.jpg', '/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0001.jpg', '/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/14/image_08012025_22_14_02_577207_0003.jpg
/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0000.jpg
/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0001.jpg
/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327543885","1327543888","1327543884","1327543883"],"photo_ids_order":["1327543883","1327543884","1327543885","1327543888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6110ba7f8f07044c9280a58b5a2ff1d.jpg","text":"TemporaryFile(/tmp/multipartBody6419401151786740403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370993245,"filename":"image_08012025_22_15_02_845316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3a811a75e15bc0b33c2e8d72f7451582.jpg","text":"TemporaryFile(/tmp/multipartBody4203193976826327613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370993245,"filename":"image_08012025_22_15_02_845316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ebf58cd89f799fd74b459f6fb4006096.jpg","text":"TemporaryFile(/tmp/multipartBody1754972012138536534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370993245,"filename":"image_08012025_22_15_02_845316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/129f69ffc24c979b1088e009671ee880.jpg","text":"TemporaryFile(/tmp/multipartBody3427180656171514070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736370993245,"filename":"image_08012025_22_14_02_577207_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327543885","file1":"1327543884","file0":"1327543883","file3":"1327543888"},"map_files_photo_id_array":[{"photo_id":"1327543885","filename":"file2"},{"photo_id":"1327543884","filename":"file1"},{"photo_id":"1327543883","filename":"file0"},{"photo_id":"1327543888","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327543885":["hashtag1","hashtag2"]},{"1327543888":["hashtag1","hashtag2"]},{"1327543884":["hashtag1","hashtag2"]},{"1327543883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327543885, 1327543888, 1327543884, 1327543883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44721698760986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:16:22.737907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0003.jpg', '/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0000.jpg', '/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0001.jpg', '/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/15/image_08012025_22_15_02_845316_0003.jpg
/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0000.jpg
/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0001.jpg
/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327544029","1327544028","1327544159","1327544158"],"photo_ids_order":["1327544028","1327544029","1327544158","1327544159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f79e172c826c20ff3e53a6cb4bf76e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8970918138833313305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371053252,"filename":"image_08012025_22_16_02_861253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1270deb7e7ca6dbca3422570c6afae8a.jpg","text":"TemporaryFile(/tmp/multipartBody5541360379240731059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371053252,"filename":"image_08012025_22_15_02_845316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/81f4a8a433dcff0594a02542e20b6bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6573067997644698730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371053252,"filename":"image_08012025_22_16_02_861253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c96aa7ad8c2b51986fe6183d6fab64f0.jpg","text":"TemporaryFile(/tmp/multipartBody5313833882180550014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371053252,"filename":"image_08012025_22_16_02_861253_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327544158","file1":"1327544029","file0":"1327544028","file3":"1327544159"},"map_files_photo_id_array":[{"photo_id":"1327544158","filename":"file2"},{"photo_id":"1327544029","filename":"file1"},{"photo_id":"1327544028","filename":"file0"},{"photo_id":"1327544159","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327544029":["hashtag1","hashtag2"]},{"1327544028":["hashtag1","hashtag2"]},{"1327544159":["hashtag1","hashtag2"]},{"1327544158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327544029, 1327544028, 1327544159, 1327544158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68117094039917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:17:21.851572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0003.jpg', '/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0000.jpg', '/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0001.jpg', '/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/16/image_08012025_22_16_02_861253_0003.jpg
/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0000.jpg
/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0001.jpg
/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327544404","1327544220","1327544202","1327544197"],"photo_ids_order":["1327544197","1327544202","1327544220","1327544404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/68a4eb465d258d38614c931b92ff5dde.jpg","text":"TemporaryFile(/tmp/multipartBody2914205876283201241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371112336,"filename":"image_08012025_22_17_03_091526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bbc11ac703523cdbb961068d8742f297.jpg","text":"TemporaryFile(/tmp/multipartBody9049122720368407636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371112336,"filename":"image_08012025_22_17_03_091526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ee1462c5354c0d15d0aecae2a8c825d0.jpg","text":"TemporaryFile(/tmp/multipartBody5450830695626173540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371112336,"filename":"image_08012025_22_17_03_091526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/75666ba6778bafa4930034741b202935.jpg","text":"TemporaryFile(/tmp/multipartBody1074112726362059852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371112336,"filename":"image_08012025_22_16_02_861253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327544220","file1":"1327544202","file0":"1327544197","file3":"1327544404"},"map_files_photo_id_array":[{"photo_id":"1327544220","filename":"file2"},{"photo_id":"1327544202","filename":"file1"},{"photo_id":"1327544197","filename":"file0"},{"photo_id":"1327544404","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327544404":["hashtag1","hashtag2"]},{"1327544220":["hashtag1","hashtag2"]},{"1327544202":["hashtag1","hashtag2"]},{"1327544197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327544404, 1327544220, 1327544202, 1327544197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6678729057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:18:22.142420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0003.jpg', '/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0000.jpg', '/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0001.jpg', '/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/17/image_08012025_22_17_03_091526_0003.jpg
/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0000.jpg
/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0001.jpg
/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327544970","1327544817","1327544969","1327544968"],"photo_ids_order":["1327544817","1327544968","1327544969","1327544970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70a387ad47032be69d4b1e7c4f60e97d.jpg","text":"TemporaryFile(/tmp/multipartBody9189439260451863271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371172664,"filename":"image_08012025_22_18_02_234488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f1db7fd4e020043efbaa77098867fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1000112818254326031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371172664,"filename":"image_08012025_22_17_03_091526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6021810127433aab319b32bf9e37b905.jpg","text":"TemporaryFile(/tmp/multipartBody6297930483630502429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371172664,"filename":"image_08012025_22_18_02_234488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e80512a77ba77e75129119765faff660.jpg","text":"TemporaryFile(/tmp/multipartBody4152140220660394804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371172664,"filename":"image_08012025_22_18_02_234488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327544969","file1":"1327544968","file0":"1327544817","file3":"1327544970"},"map_files_photo_id_array":[{"photo_id":"1327544969","filename":"file2"},{"photo_id":"1327544968","filename":"file1"},{"photo_id":"1327544817","filename":"file0"},{"photo_id":"1327544970","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327544970":["hashtag1","hashtag2"]},{"1327544817":["hashtag1","hashtag2"]},{"1327544969":["hashtag1","hashtag2"]},{"1327544968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327544970, 1327544817, 1327544969, 1327544968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65160083770752 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-08 22:19:22.418025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0003.jpg', '/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0000.jpg', '/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0001.jpg', '/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/18/image_08012025_22_18_02_234488_0003.jpg
/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0000.jpg
/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0001.jpg
/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327544985","1327544982","1327544984","1327544986"],"photo_ids_order":["1327544982","1327544984","1327544985","1327544986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2ec8b7185dd3e1ae26be723dd48783b8.jpg","text":"TemporaryFile(/tmp/multipartBody619263405396204741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371233049,"filename":"image_08012025_22_19_02_480539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc0a6b121407321517f7e89e4be1bfb2.jpg","text":"TemporaryFile(/tmp/multipartBody8655382720133168278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371233049,"filename":"image_08012025_22_18_02_234488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e2fe094e2b2b1a3d2dc6fd5e7e50b58.jpg","text":"TemporaryFile(/tmp/multipartBody3797185282987700967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371233049,"filename":"image_08012025_22_19_02_480539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd14723a7fd71ecfd4a989e3a65ed4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5766353928747920185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371233049,"filename":"image_08012025_22_19_02_480539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327544985","file1":"1327544984","file0":"1327544982","file3":"1327544986"},"map_files_photo_id_array":[{"photo_id":"1327544985","filename":"file2"},{"photo_id":"1327544984","filename":"file1"},{"photo_id":"1327544982","filename":"file0"},{"photo_id":"1327544986","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327544985":["hashtag1","hashtag2"]},{"1327544982":["hashtag1","hashtag2"]},{"1327544984":["hashtag1","hashtag2"]},{"1327544986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327544985, 1327544982, 1327544984, 1327544986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.438676595687866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:20:22.523015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0003.jpg', '/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0000.jpg', '/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0001.jpg', '/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/19/image_08012025_22_19_02_480539_0003.jpg
/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0000.jpg
/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0001.jpg
/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327544997","1327544994","1327544999","1327544995"],"photo_ids_order":["1327544994","1327544995","1327544997","1327544999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f2e22306b4dcf39487f96ee4834820c4.jpg","text":"TemporaryFile(/tmp/multipartBody3740816970734231927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371293084,"filename":"image_08012025_22_20_02_697782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d93af4128367d708f7f10c48c0a28875.jpg","text":"TemporaryFile(/tmp/multipartBody1338722082033462202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371293084,"filename":"image_08012025_22_19_02_480539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0da048d27987554a3e802ee3a6fed432.jpg","text":"TemporaryFile(/tmp/multipartBody8132121309784623996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371293084,"filename":"image_08012025_22_20_02_697782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7aedb4d07376e17ed17c125b7da93195.jpg","text":"TemporaryFile(/tmp/multipartBody7737459917300810134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371293084,"filename":"image_08012025_22_20_02_697782_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327544997","file1":"1327544995","file0":"1327544994","file3":"1327544999"},"map_files_photo_id_array":[{"photo_id":"1327544997","filename":"file2"},{"photo_id":"1327544995","filename":"file1"},{"photo_id":"1327544994","filename":"file0"},{"photo_id":"1327544999","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327544997":["hashtag1","hashtag2"]},{"1327544994":["hashtag1","hashtag2"]},{"1327544999":["hashtag1","hashtag2"]},{"1327544995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327544997, 1327544994, 1327544999, 1327544995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69184184074402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:21:22.606063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0003.jpg', '/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0000.jpg', '/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0001.jpg', '/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/20/image_08012025_22_20_02_697782_0003.jpg
/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0000.jpg
/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0001.jpg
/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327545375","1327545581","1327545463","1327545433"],"photo_ids_order":["1327545375","1327545433","1327545463","1327545581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ff8ed1b91080f809c4746257b69787ac.jpg","text":"TemporaryFile(/tmp/multipartBody2395473856840708964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371353165,"filename":"image_08012025_22_20_02_697782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7f09d2bf0db459828358d7e7de94025.jpg","text":"TemporaryFile(/tmp/multipartBody2482195447945608462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371353165,"filename":"image_08012025_22_21_02_824734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ec234e11ac0551a907d7eca42bd5f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1559434734807565529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371353165,"filename":"image_08012025_22_21_02_824734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2eb0597cc31a6b7c35aaaecb7df3aff.jpg","text":"TemporaryFile(/tmp/multipartBody2283818638681286279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371353165,"filename":"image_08012025_22_21_02_824734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327545463","file1":"1327545433","file0":"1327545375","file3":"1327545581"},"map_files_photo_id_array":[{"photo_id":"1327545463","filename":"file2"},{"photo_id":"1327545433","filename":"file1"},{"photo_id":"1327545375","filename":"file0"},{"photo_id":"1327545581","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327545375":["hashtag1","hashtag2"]},{"1327545581":["hashtag1","hashtag2"]},{"1327545463":["hashtag1","hashtag2"]},{"1327545433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327545375, 1327545581, 1327545463, 1327545433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35197305679321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:22:21.958149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0003.jpg', '/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0000.jpg', '/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0001.jpg', '/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/21/image_08012025_22_21_02_824734_0003.jpg
/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0000.jpg
/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0001.jpg
/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327545840","1327545842","1327545841","1327545844"],"photo_ids_order":["1327545840","1327545841","1327545842","1327545844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/57eca605dc1ad9d6f9e448f93fc4ca11.jpg","text":"TemporaryFile(/tmp/multipartBody8089885208991541064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371412503,"filename":"image_08012025_22_21_02_824734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5fd6da4e90ef009f3270ccd34e5ad2e.jpg","text":"TemporaryFile(/tmp/multipartBody1414900587113317594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371412503,"filename":"image_08012025_22_22_03_039140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/55089044436df69097d8bc1c17534f21.jpg","text":"TemporaryFile(/tmp/multipartBody1050794125008859914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371412503,"filename":"image_08012025_22_22_03_039140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f4acd8952e499453c2ec171474e8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6832458194845053930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371412503,"filename":"image_08012025_22_22_03_039140_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327545842","file1":"1327545841","file0":"1327545840","file3":"1327545844"},"map_files_photo_id_array":[{"photo_id":"1327545842","filename":"file2"},{"photo_id":"1327545841","filename":"file1"},{"photo_id":"1327545840","filename":"file0"},{"photo_id":"1327545844","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327545840":["hashtag1","hashtag2"]},{"1327545842":["hashtag1","hashtag2"]},{"1327545841":["hashtag1","hashtag2"]},{"1327545844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327545840, 1327545842, 1327545841, 1327545844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3981876373291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:23:22.096580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0003.jpg', '/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0000.jpg', '/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0001.jpg', '/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/22/image_08012025_22_22_03_039140_0003.jpg
/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0000.jpg
/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0001.jpg
/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546014","1327546010","1327546013","1327546012"],"photo_ids_order":["1327546010","1327546012","1327546013","1327546014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fadb2623fd8b7c05d1ad8b0c45dadce7.jpg","text":"TemporaryFile(/tmp/multipartBody7865336539799508797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371472723,"filename":"image_08012025_22_23_02_265617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3fd9b5b2d16baba202aaa592e30ae58a.jpg","text":"TemporaryFile(/tmp/multipartBody8093610051635654605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371472723,"filename":"image_08012025_22_22_03_039140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79c17c9d980250c248ff625fb2de1471.jpg","text":"TemporaryFile(/tmp/multipartBody3269035382986321751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371472723,"filename":"image_08012025_22_23_02_265617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dbf68a0fd35fa955d78a887cecdfabd0.jpg","text":"TemporaryFile(/tmp/multipartBody5038067192985788479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371472723,"filename":"image_08012025_22_23_02_265617_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546013","file1":"1327546012","file0":"1327546010","file3":"1327546014"},"map_files_photo_id_array":[{"photo_id":"1327546013","filename":"file2"},{"photo_id":"1327546012","filename":"file1"},{"photo_id":"1327546010","filename":"file0"},{"photo_id":"1327546014","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546014":["hashtag1","hashtag2"]},{"1327546010":["hashtag1","hashtag2"]},{"1327546013":["hashtag1","hashtag2"]},{"1327546012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546014, 1327546010, 1327546013, 1327546012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.215768337249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:24:22.273082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0003.jpg', '/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0000.jpg', '/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0001.jpg', '/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/23/image_08012025_22_23_02_265617_0003.jpg
/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0000.jpg
/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0001.jpg
/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546026","1327546023","1327546021","1327546024"],"photo_ids_order":["1327546021","1327546023","1327546024","1327546026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c8b4c804dc5889e08efc51f8ef9e56c.jpg","text":"TemporaryFile(/tmp/multipartBody8249046695989557218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371532917,"filename":"image_08012025_22_24_02_446051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21a2b3d35ee11c9a23c83f9e8d56dc52.jpg","text":"TemporaryFile(/tmp/multipartBody5601371428176442735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371532917,"filename":"image_08012025_22_24_02_446051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03cf31f5688a6a5e12ef098c9d333938.jpg","text":"TemporaryFile(/tmp/multipartBody8554743054136745801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371532917,"filename":"image_08012025_22_23_02_265617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b0eb104df86b60aade4b83f5a9a084d6.jpg","text":"TemporaryFile(/tmp/multipartBody3173938656663051519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371532917,"filename":"image_08012025_22_24_02_446051_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546024","file1":"1327546023","file0":"1327546021","file3":"1327546026"},"map_files_photo_id_array":[{"photo_id":"1327546024","filename":"file2"},{"photo_id":"1327546023","filename":"file1"},{"photo_id":"1327546021","filename":"file0"},{"photo_id":"1327546026","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546026":["hashtag1","hashtag2"]},{"1327546023":["hashtag1","hashtag2"]},{"1327546021":["hashtag1","hashtag2"]},{"1327546024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546026, 1327546023, 1327546021, 1327546024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44643998146057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:25:22.539319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0003.jpg', '/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0000.jpg', '/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0001.jpg', '/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/24/image_08012025_22_24_02_446051_0003.jpg
/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0000.jpg
/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0001.jpg
/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546323","1327546430","1327546450","1327546452"],"photo_ids_order":["1327546323","1327546430","1327546450","1327546452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/070da17e1624b94f46a4a7121cbcc41b.jpg","text":"TemporaryFile(/tmp/multipartBody26355972010409015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371593036,"filename":"image_08012025_22_24_02_446051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fba3300c59b18bc9353667a920d994ed.jpg","text":"TemporaryFile(/tmp/multipartBody1961448304715343697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371593036,"filename":"image_08012025_22_25_02_583779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/421d97be2505636cedd69a06f9743b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4992972967842111357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371593036,"filename":"image_08012025_22_25_02_583779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd0eff10cad8d5fcd9eacc6bc365a62f.jpg","text":"TemporaryFile(/tmp/multipartBody4209912077461713498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371593036,"filename":"image_08012025_22_25_02_583779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546450","file1":"1327546430","file0":"1327546323","file3":"1327546452"},"map_files_photo_id_array":[{"photo_id":"1327546450","filename":"file2"},{"photo_id":"1327546430","filename":"file1"},{"photo_id":"1327546323","filename":"file0"},{"photo_id":"1327546452","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546323":["hashtag1","hashtag2"]},{"1327546430":["hashtag1","hashtag2"]},{"1327546450":["hashtag1","hashtag2"]},{"1327546452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546323, 1327546430, 1327546450, 1327546452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86539387702942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:26:22.638577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0003.jpg', '/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_0000.jpg', '/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/25/image_08012025_22_25_02_583779_0003.jpg
/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_0000.jpg
/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_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":["1327546458","1327546457","1327546460"],"photo_ids_order":["1327546457","1327546458","1327546460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1e59dbda8cb6c56216d2e8f0e2562191.jpg","text":"TemporaryFile(/tmp/multipartBody6724284595168386169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371650668,"filename":"image_08012025_22_26_02_827479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/36628b0c63f273ce0fc279ff57c59a88.jpg","text":"TemporaryFile(/tmp/multipartBody2340425112699569289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371650668,"filename":"image_08012025_22_25_02_583779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a39ab78461b0e1e1210564238e801cee.jpg","text":"TemporaryFile(/tmp/multipartBody6001861264244052897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371650668,"filename":"image_08012025_22_26_02_827479_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546460","file1":"1327546458","file0":"1327546457"},"map_files_photo_id_array":[{"photo_id":"1327546460","filename":"file2"},{"photo_id":"1327546458","filename":"file1"},{"photo_id":"1327546457","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546458":["hashtag1","hashtag2"]},{"1327546457":["hashtag1","hashtag2"]},{"1327546460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546458, 1327546457, 1327546460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.58916354179382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:27:03.285978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:27:22.760724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_0003.jpg', '/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0000.jpg', '/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0001.jpg', '/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/26/image_08012025_22_26_02_827479_0003.jpg
/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0000.jpg
/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0001.jpg
/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546478","1327546480","1327546477","1327546479"],"photo_ids_order":["1327546477","1327546478","1327546479","1327546480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28b7a2f712c01e242716b1b1073fae7a.jpg","text":"TemporaryFile(/tmp/multipartBody8195786217605672233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371713045,"filename":"image_08012025_22_27_02_973643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fb3970c8c4f03e2083bf865b1ffcf129.jpg","text":"TemporaryFile(/tmp/multipartBody3433879505949981137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371713045,"filename":"image_08012025_22_27_02_973643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/026033c7d4f82c6a029d495b3b339061.jpg","text":"TemporaryFile(/tmp/multipartBody7990331486464294484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371713045,"filename":"image_08012025_22_26_02_827479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/43a97e690cdb7a8102d74e666e603409.jpg","text":"TemporaryFile(/tmp/multipartBody493399243152520063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371713045,"filename":"image_08012025_22_27_02_973643_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546479","file1":"1327546478","file0":"1327546477","file3":"1327546480"},"map_files_photo_id_array":[{"photo_id":"1327546479","filename":"file2"},{"photo_id":"1327546478","filename":"file1"},{"photo_id":"1327546477","filename":"file0"},{"photo_id":"1327546480","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546478":["hashtag1","hashtag2"]},{"1327546480":["hashtag1","hashtag2"]},{"1327546477":["hashtag1","hashtag2"]},{"1327546479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546478, 1327546480, 1327546477, 1327546479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29402208328247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:28:02.203609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:28:21.861621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0003.jpg', '/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0000.jpg', '/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0001.jpg', '/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/27/image_08012025_22_27_02_973643_0003.jpg
/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0000.jpg
/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0001.jpg
/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546506","1327546508","1327546510","1327546507"],"photo_ids_order":["1327546506","1327546507","1327546508","1327546510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/815d586093bc09d2ee32076aaf471a93.jpg","text":"TemporaryFile(/tmp/multipartBody6271122619815092152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371772178,"filename":"image_08012025_22_27_02_973643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94003737272eab660d888e6822f714c1.jpg","text":"TemporaryFile(/tmp/multipartBody8921738360957516090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371772178,"filename":"image_08012025_22_28_03_113208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0828cc1739226a9b13296ce2b164ef89.jpg","text":"TemporaryFile(/tmp/multipartBody1720419821797867857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371772178,"filename":"image_08012025_22_28_03_113208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9caa161a6458fc8337604d9f26ea6f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8885401576986100979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371772178,"filename":"image_08012025_22_28_03_113208_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546508","file1":"1327546507","file0":"1327546506","file3":"1327546510"},"map_files_photo_id_array":[{"photo_id":"1327546508","filename":"file2"},{"photo_id":"1327546507","filename":"file1"},{"photo_id":"1327546506","filename":"file0"},{"photo_id":"1327546510","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546506":["hashtag1","hashtag2"]},{"1327546508":["hashtag1","hashtag2"]},{"1327546510":["hashtag1","hashtag2"]},{"1327546507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546506, 1327546508, 1327546510, 1327546507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98993492126465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:29:02.848498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:29:22.078736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0003.jpg', '/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0000.jpg', '/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0001.jpg', '/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/28/image_08012025_22_28_03_113208_0003.jpg
/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0000.jpg
/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0001.jpg
/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546617","1327546619","1327546607","1327546622"],"photo_ids_order":["1327546607","1327546617","1327546619","1327546622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6014707075f4a0e2a17fb5afd3cf35f.jpg","text":"TemporaryFile(/tmp/multipartBody5993885864628834587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371832644,"filename":"image_08012025_22_29_02_279670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c4f509f39c9f824484e3c03855d95a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8093644372465867525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371832644,"filename":"image_08012025_22_29_02_279670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b8422b07e440ac1f6e78d28bbe8d4bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4911062146809281175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371832644,"filename":"image_08012025_22_28_03_113208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/636367f5118c8e7922170e77491a957d.jpg","text":"TemporaryFile(/tmp/multipartBody4962498421415668963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371832644,"filename":"image_08012025_22_29_02_279670_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546619","file1":"1327546617","file0":"1327546607","file3":"1327546622"},"map_files_photo_id_array":[{"photo_id":"1327546619","filename":"file2"},{"photo_id":"1327546617","filename":"file1"},{"photo_id":"1327546607","filename":"file0"},{"photo_id":"1327546622","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546617":["hashtag1","hashtag2"]},{"1327546619":["hashtag1","hashtag2"]},{"1327546607":["hashtag1","hashtag2"]},{"1327546622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546617, 1327546619, 1327546607, 1327546622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73572254180908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:30:22.197299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0003.jpg', '/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0000.jpg', '/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0001.jpg', '/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/29/image_08012025_22_29_02_279670_0003.jpg
/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0000.jpg
/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0001.jpg
/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546667","1327546646","1327546672","1327546654"],"photo_ids_order":["1327546646","1327546654","1327546667","1327546672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c380922a017da70f68f6a79b5f0915d5.jpg","text":"TemporaryFile(/tmp/multipartBody2909957690570502740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371892728,"filename":"image_08012025_22_30_02_398185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/395e31b862a8e06e57bfbad65f482948.jpg","text":"TemporaryFile(/tmp/multipartBody786019936476606754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371892728,"filename":"image_08012025_22_29_02_279670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2b731726d29764b4254d2a4c8a119514.jpg","text":"TemporaryFile(/tmp/multipartBody5305289128878500972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371892728,"filename":"image_08012025_22_30_02_398185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fc2fa09e4fe4ccad9319a5372725144f.jpg","text":"TemporaryFile(/tmp/multipartBody5462761433818398072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371892728,"filename":"image_08012025_22_30_02_398185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546667","file1":"1327546654","file0":"1327546646","file3":"1327546672"},"map_files_photo_id_array":[{"photo_id":"1327546667","filename":"file2"},{"photo_id":"1327546654","filename":"file1"},{"photo_id":"1327546646","filename":"file0"},{"photo_id":"1327546672","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546667":["hashtag1","hashtag2"]},{"1327546646":["hashtag1","hashtag2"]},{"1327546672":["hashtag1","hashtag2"]},{"1327546654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546667, 1327546646, 1327546672, 1327546654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64771485328674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:31:02.968783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:31:22.477633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0003.jpg', '/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0000.jpg', '/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0001.jpg', '/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/30/image_08012025_22_30_02_398185_0003.jpg
/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0000.jpg
/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0001.jpg
/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546688","1327546685","1327546687","1327546689"],"photo_ids_order":["1327546685","1327546687","1327546688","1327546689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94a9ff5badb2078370bc199e7bc0e050.jpg","text":"TemporaryFile(/tmp/multipartBody3460109635650903905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371952944,"filename":"image_08012025_22_31_02_652350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e21668f5b0a201ea87256030cffb0439.jpg","text":"TemporaryFile(/tmp/multipartBody8055736504299431588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371952944,"filename":"image_08012025_22_30_02_398185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ea70db287a5d694a572056299661327.jpg","text":"TemporaryFile(/tmp/multipartBody3824890000419084590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371952944,"filename":"image_08012025_22_31_02_652350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/114fe0549edc1fdfafa34392f388ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody567531009793871785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736371952944,"filename":"image_08012025_22_31_02_652350_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546688","file1":"1327546687","file0":"1327546685","file3":"1327546689"},"map_files_photo_id_array":[{"photo_id":"1327546688","filename":"file2"},{"photo_id":"1327546687","filename":"file1"},{"photo_id":"1327546685","filename":"file0"},{"photo_id":"1327546689","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546688":["hashtag1","hashtag2"]},{"1327546685":["hashtag1","hashtag2"]},{"1327546687":["hashtag1","hashtag2"]},{"1327546689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546688, 1327546685, 1327546687, 1327546689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.352365016937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:32:22.661502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0003.jpg', '/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0000.jpg', '/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0001.jpg', '/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/31/image_08012025_22_31_02_652350_0003.jpg
/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0000.jpg
/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0001.jpg
/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546700","1327546699","1327546696","1327546698"],"photo_ids_order":["1327546696","1327546698","1327546699","1327546700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/401b0361a42fc3825f66692e0ed4cd5c.jpg","text":"TemporaryFile(/tmp/multipartBody1489660193674723798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372013162,"filename":"image_08012025_22_32_02_790178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bcb01a16e001e6550ddb80d41673c942.jpg","text":"TemporaryFile(/tmp/multipartBody6031312169258187399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372013162,"filename":"image_08012025_22_32_02_790178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/811e9d38287cce2bced7ad0f258d66b4.jpg","text":"TemporaryFile(/tmp/multipartBody267144842341399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372013162,"filename":"image_08012025_22_31_02_652350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/558d103719aa6893b935b5b9b70b12a1.jpg","text":"TemporaryFile(/tmp/multipartBody3909933478022970834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372013162,"filename":"image_08012025_22_32_02_790178_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546699","file1":"1327546698","file0":"1327546696","file3":"1327546700"},"map_files_photo_id_array":[{"photo_id":"1327546699","filename":"file2"},{"photo_id":"1327546698","filename":"file1"},{"photo_id":"1327546696","filename":"file0"},{"photo_id":"1327546700","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546700":["hashtag1","hashtag2"]},{"1327546699":["hashtag1","hashtag2"]},{"1327546696":["hashtag1","hashtag2"]},{"1327546698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546700, 1327546699, 1327546696, 1327546698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.8294632434845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:33:22.786366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0003.jpg', '/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0000.jpg', '/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0001.jpg', '/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/32/image_08012025_22_32_02_790178_0003.jpg
/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0000.jpg
/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0001.jpg
/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546710","1327546706","1327546709","1327546708"],"photo_ids_order":["1327546706","1327546708","1327546709","1327546710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6e7aa3b2672f2a86b15b55ffade69c5.jpg","text":"TemporaryFile(/tmp/multipartBody8456168971991527827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372073384,"filename":"image_08012025_22_33_02_930146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d46e821954fd8b9a5a123af9dcccb02e.jpg","text":"TemporaryFile(/tmp/multipartBody2179421718382657420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372073384,"filename":"image_08012025_22_32_02_790178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/53010f0f5dea9aa24fd2a6d9a285c591.jpg","text":"TemporaryFile(/tmp/multipartBody252776294498206488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372073384,"filename":"image_08012025_22_33_02_930146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9494ead1ca29ecd2a2c324eb48c87d5.jpg","text":"TemporaryFile(/tmp/multipartBody7268433805309477394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372073384,"filename":"image_08012025_22_33_02_930146_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546709","file1":"1327546708","file0":"1327546706","file3":"1327546710"},"map_files_photo_id_array":[{"photo_id":"1327546709","filename":"file2"},{"photo_id":"1327546708","filename":"file1"},{"photo_id":"1327546706","filename":"file0"},{"photo_id":"1327546710","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546710":["hashtag1","hashtag2"]},{"1327546706":["hashtag1","hashtag2"]},{"1327546709":["hashtag1","hashtag2"]},{"1327546708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546710, 1327546706, 1327546709, 1327546708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.16301369667053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:34:22.011069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0003.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0000.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0001.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0003.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0000.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0001.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.134807825088501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 22:34:41.940895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0003.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0000.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0001.jpg', '/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/33/image_08012025_22_33_02_930146_0003.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0000.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0001.jpg
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546722","1327546724","1327546721","1327546720"],"photo_ids_order":["1327546720","1327546721","1327546722","1327546724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f485f0ecea4763f47619ef1c67369f12.jpg","text":"TemporaryFile(/tmp/multipartBody4574305472559032423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372152459,"filename":"image_08012025_22_34_03_154617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc0672a115a121346f0cec496609bc07.jpg","text":"TemporaryFile(/tmp/multipartBody9169272975894978856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372152459,"filename":"image_08012025_22_34_03_154617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3d66c1a6d45f2b5baf308e557418095.jpg","text":"TemporaryFile(/tmp/multipartBody7794876647948209711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372152459,"filename":"image_08012025_22_34_03_154617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/78698585a4345d157080bf1f62cd0e99.jpg","text":"TemporaryFile(/tmp/multipartBody3287190948190232210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372152459,"filename":"image_08012025_22_33_02_930146_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546722","file1":"1327546721","file0":"1327546720","file3":"1327546724"},"map_files_photo_id_array":[{"photo_id":"1327546722","filename":"file2"},{"photo_id":"1327546721","filename":"file1"},{"photo_id":"1327546720","filename":"file0"},{"photo_id":"1327546724","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546722":["hashtag1","hashtag2"]},{"1327546724":["hashtag1","hashtag2"]},{"1327546721":["hashtag1","hashtag2"]},{"1327546720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546722, 1327546724, 1327546721, 1327546720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84663963317871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 22:35:32.186816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0003.jpg', '/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0000.jpg', '/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0001.jpg', '/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/34/image_08012025_22_34_03_154617_0003.jpg
/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0000.jpg
/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0001.jpg
/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546742","1327546730","1327546741","1327546743"],"photo_ids_order":["1327546730","1327546741","1327546742","1327546743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/52e15592ebc87a36f056f3012f657752.jpg","text":"TemporaryFile(/tmp/multipartBody9198743350695193336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372202855,"filename":"image_08012025_22_35_02_384582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/03291074ffa343f30bd22237b46ca350.jpg","text":"TemporaryFile(/tmp/multipartBody4423239183474890338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372202855,"filename":"image_08012025_22_34_03_154617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2da7ef298fffa07cf842909c6ae2a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody814922233838835758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372202855,"filename":"image_08012025_22_35_02_384582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3475d7799d24b8cafe704c1a67d079c.jpg","text":"TemporaryFile(/tmp/multipartBody4169013342388825880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372202855,"filename":"image_08012025_22_35_02_384582_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546742","file1":"1327546741","file0":"1327546730","file3":"1327546743"},"map_files_photo_id_array":[{"photo_id":"1327546742","filename":"file2"},{"photo_id":"1327546741","filename":"file1"},{"photo_id":"1327546730","filename":"file0"},{"photo_id":"1327546743","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546742":["hashtag1","hashtag2"]},{"1327546730":["hashtag1","hashtag2"]},{"1327546741":["hashtag1","hashtag2"]},{"1327546743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546742, 1327546730, 1327546741, 1327546743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.241230726242065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:36:22.284628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0003.jpg', '/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0000.jpg', '/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0001.jpg', '/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/35/image_08012025_22_35_02_384582_0003.jpg
/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0000.jpg
/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0001.jpg
/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327546749","1327546751","1327546942","1327546837"],"photo_ids_order":["1327546749","1327546751","1327546837","1327546942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a2ba415f6455b12b4ee6b5a9139844b3.jpg","text":"TemporaryFile(/tmp/multipartBody5241672273923388416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372252905,"filename":"image_08012025_22_35_02_384582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e1f8817a1ea89eba369ae249f7dac40e.jpg","text":"TemporaryFile(/tmp/multipartBody9200953742523047286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372252905,"filename":"image_08012025_22_36_02_482466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1b2e4565bcfd8683eb5083780fb3e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8977039033306072122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372252905,"filename":"image_08012025_22_36_02_482466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/add01f450429ae7be2aa9f87b7b2b5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5771878180557796464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372252905,"filename":"image_08012025_22_36_02_482466_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327546837","file1":"1327546751","file0":"1327546749","file3":"1327546942"},"map_files_photo_id_array":[{"photo_id":"1327546837","filename":"file2"},{"photo_id":"1327546751","filename":"file1"},{"photo_id":"1327546749","filename":"file0"},{"photo_id":"1327546942","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327546749":["hashtag1","hashtag2"]},{"1327546751":["hashtag1","hashtag2"]},{"1327546942":["hashtag1","hashtag2"]},{"1327546837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327546749, 1327546751, 1327546942, 1327546837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.650025367736816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:37:03.089285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:37:22.508821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0003.jpg', '/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0000.jpg', '/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0001.jpg', '/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/36/image_08012025_22_36_02_482466_0003.jpg
/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0000.jpg
/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0001.jpg
/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547495","1327547497","1327547493","1327547496"],"photo_ids_order":["1327547493","1327547495","1327547496","1327547497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d80f2dcbcfaebc913238bc9801025254.jpg","text":"TemporaryFile(/tmp/multipartBody2388307796630672676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372313021,"filename":"image_08012025_22_37_02_666722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6f69d383afd7fa304c32205308a6a0eb.jpg","text":"TemporaryFile(/tmp/multipartBody909483755742080351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372313021,"filename":"image_08012025_22_37_02_666722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/01303e19179a77b8b525219852f341a4.jpg","text":"TemporaryFile(/tmp/multipartBody3526039870270878850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372313021,"filename":"image_08012025_22_36_02_482466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3f205eed48164f378282df41ab7bed2.jpg","text":"TemporaryFile(/tmp/multipartBody6632557635139755763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372313021,"filename":"image_08012025_22_37_02_666722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547496","file1":"1327547495","file0":"1327547493","file3":"1327547497"},"map_files_photo_id_array":[{"photo_id":"1327547496","filename":"file2"},{"photo_id":"1327547495","filename":"file1"},{"photo_id":"1327547493","filename":"file0"},{"photo_id":"1327547497","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547495":["hashtag1","hashtag2"]},{"1327547497":["hashtag1","hashtag2"]},{"1327547493":["hashtag1","hashtag2"]},{"1327547496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547495, 1327547497, 1327547493, 1327547496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.899136543273926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:38:03.081167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:38:22.587146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0003.jpg', '/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0001.jpg', '/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0003.jpg
/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0001.jpg
/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.65319037437439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 22:38:32.617363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0003.jpg', '/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0001.jpg', '/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/37/image_08012025_22_37_02_666722_0003.jpg
/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0001.jpg
/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547834","1327547819","1327547823"],"photo_ids_order":["1327547819","1327547823","1327547834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7137592c19034e37795706db7a5154af.jpg","text":"TemporaryFile(/tmp/multipartBody5266781700155213158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372380677,"filename":"image_08012025_22_38_02_870065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/29b21e648686cbc12d882f8c62194e20.jpg","text":"TemporaryFile(/tmp/multipartBody2946430535069709225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372380677,"filename":"image_08012025_22_37_02_666722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a48928c12cb0c2999124a74cf17b6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8099753635838052461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372380677,"filename":"image_08012025_22_38_02_870065_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547834","file1":"1327547823","file0":"1327547819"},"map_files_photo_id_array":[{"photo_id":"1327547834","filename":"file2"},{"photo_id":"1327547823","filename":"file1"},{"photo_id":"1327547819","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547834":["hashtag1","hashtag2"]},{"1327547819":["hashtag1","hashtag2"]},{"1327547823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547834, 1327547819, 1327547823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.158252716064453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:39:21.783006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0003.jpg', '/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0000.jpg', '/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0001.jpg', '/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/38/image_08012025_22_38_02_870065_0003.jpg
/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0000.jpg
/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0001.jpg
/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547852","1327547849","1327547851","1327547850"],"photo_ids_order":["1327547849","1327547850","1327547851","1327547852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c78cc356cf91729121318a55ceece08a.jpg","text":"TemporaryFile(/tmp/multipartBody5957416011012408107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372432386,"filename":"image_08012025_22_39_02_945650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5c0775f68dbc0799cf0ee7f1b7a759a1.jpg","text":"TemporaryFile(/tmp/multipartBody8820176270001902903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372432386,"filename":"image_08012025_22_38_02_870065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8638ed0a848d0e6bbe1aaf5779af36b9.jpg","text":"TemporaryFile(/tmp/multipartBody6074219857618487548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372432386,"filename":"image_08012025_22_39_02_945650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/402288f7a2f797a5bcd6461d0f238d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3252109727243611038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372432386,"filename":"image_08012025_22_39_02_945650_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547851","file1":"1327547850","file0":"1327547849","file3":"1327547852"},"map_files_photo_id_array":[{"photo_id":"1327547851","filename":"file2"},{"photo_id":"1327547850","filename":"file1"},{"photo_id":"1327547849","filename":"file0"},{"photo_id":"1327547852","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547852":["hashtag1","hashtag2"]},{"1327547849":["hashtag1","hashtag2"]},{"1327547851":["hashtag1","hashtag2"]},{"1327547850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547852, 1327547849, 1327547851, 1327547850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13622856140137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:40:02.430129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:40:21.925722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0003.jpg', '/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0000.jpg', '/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0001.jpg', '/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/39/image_08012025_22_39_02_945650_0003.jpg
/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0000.jpg
/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0001.jpg
/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547864","1327547860","1327547862","1327547859"],"photo_ids_order":["1327547859","1327547860","1327547862","1327547864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c84023ad68dc5534bd5ea96b61d7105.jpg","text":"TemporaryFile(/tmp/multipartBody1667158138024092417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372492620,"filename":"image_08012025_22_40_02_161121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/54b07bc2ea581ceb2e88bacdbfff0580.jpg","text":"TemporaryFile(/tmp/multipartBody3428137079722490002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372492620,"filename":"image_08012025_22_40_02_161121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95cfb0d0ecb041b3e52b2c600404ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody1250041612123740191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372492620,"filename":"image_08012025_22_40_02_161121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0e03a573ee5f0a689d9f0fb9ed9a2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6404733882677080407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372492620,"filename":"image_08012025_22_39_02_945650_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547862","file1":"1327547860","file0":"1327547859","file3":"1327547864"},"map_files_photo_id_array":[{"photo_id":"1327547862","filename":"file2"},{"photo_id":"1327547860","filename":"file1"},{"photo_id":"1327547859","filename":"file0"},{"photo_id":"1327547864","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547864":["hashtag1","hashtag2"]},{"1327547860":["hashtag1","hashtag2"]},{"1327547862":["hashtag1","hashtag2"]},{"1327547859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547864, 1327547860, 1327547862, 1327547859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01409029960632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:41:22.138655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0003.jpg', '/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0000.jpg', '/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0001.jpg', '/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/40/image_08012025_22_40_02_161121_0003.jpg
/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0000.jpg
/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0001.jpg
/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547903","1327547906","1327547908","1327547904"],"photo_ids_order":["1327547903","1327547904","1327547906","1327547908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/490c0c53a7f211e012f4f2bf88f2af70.jpg","text":"TemporaryFile(/tmp/multipartBody7433010406581546663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372552858,"filename":"image_08012025_22_40_02_161121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e26187ad591338ae852061e824f3de2c.jpg","text":"TemporaryFile(/tmp/multipartBody6488356007025106869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372552858,"filename":"image_08012025_22_41_02_347293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cbc69f394cd0083d342cd7a7d00ffb18.jpg","text":"TemporaryFile(/tmp/multipartBody6664086938829121979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372552858,"filename":"image_08012025_22_41_02_347293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a31dd7756400b891318222b5ddf2da3.jpg","text":"TemporaryFile(/tmp/multipartBody2859416435385921182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372552858,"filename":"image_08012025_22_41_02_347293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547906","file1":"1327547904","file0":"1327547903","file3":"1327547908"},"map_files_photo_id_array":[{"photo_id":"1327547906","filename":"file2"},{"photo_id":"1327547904","filename":"file1"},{"photo_id":"1327547903","filename":"file0"},{"photo_id":"1327547908","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547903":["hashtag1","hashtag2"]},{"1327547906":["hashtag1","hashtag2"]},{"1327547908":["hashtag1","hashtag2"]},{"1327547904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547903, 1327547906, 1327547908, 1327547904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92226028442383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:42:22.346117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0003.jpg', '/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0000.jpg', '/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0001.jpg', '/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/41/image_08012025_22_41_02_347293_0003.jpg
/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0000.jpg
/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0001.jpg
/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547939","1327547941","1327547940","1327547943"],"photo_ids_order":["1327547939","1327547940","1327547941","1327547943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8f8d349e7b36a7faf9648e2d2646d073.jpg","text":"TemporaryFile(/tmp/multipartBody8555969696684540024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372612998,"filename":"image_08012025_22_41_02_347293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c2e61a8399a02b6171e759bce09c62a0.jpg","text":"TemporaryFile(/tmp/multipartBody2934405778703180514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372612998,"filename":"image_08012025_22_42_02_571746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0ce7d6506468f3685d40558c82d0b091.jpg","text":"TemporaryFile(/tmp/multipartBody1300439663445903229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372612998,"filename":"image_08012025_22_42_02_571746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e37a39e6efb413c429c57d3ea4b3afd2.jpg","text":"TemporaryFile(/tmp/multipartBody4110618026430732736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372612998,"filename":"image_08012025_22_42_02_571746_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547941","file1":"1327547940","file0":"1327547939","file3":"1327547943"},"map_files_photo_id_array":[{"photo_id":"1327547941","filename":"file2"},{"photo_id":"1327547940","filename":"file1"},{"photo_id":"1327547939","filename":"file0"},{"photo_id":"1327547943","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547939":["hashtag1","hashtag2"]},{"1327547941":["hashtag1","hashtag2"]},{"1327547940":["hashtag1","hashtag2"]},{"1327547943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547939, 1327547941, 1327547940, 1327547943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.997183084487915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:43:03.174747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:43:22.489650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0003.jpg', '/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0000.jpg', '/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0001.jpg', '/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/42/image_08012025_22_42_02_571746_0003.jpg
/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0000.jpg
/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0001.jpg
/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547956","1327547953","1327547961","1327547955"],"photo_ids_order":["1327547953","1327547955","1327547956","1327547961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b785831f62234391f3d237aea6296c01.jpg","text":"TemporaryFile(/tmp/multipartBody1123294470297615163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372673091,"filename":"image_08012025_22_43_02_676492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/676c0449985a0c84a88d8cbdf6c464bf.jpg","text":"TemporaryFile(/tmp/multipartBody4644799909837110336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372673091,"filename":"image_08012025_22_42_02_571746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aab18b0a1f4a7a3d4d36b6da9643c1da.jpg","text":"TemporaryFile(/tmp/multipartBody8847786427023456890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372673091,"filename":"image_08012025_22_43_02_676492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/faec96560246146baaae8dc2b6dd4f74.jpg","text":"TemporaryFile(/tmp/multipartBody2501770717652574987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372673091,"filename":"image_08012025_22_43_02_676492_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547956","file1":"1327547955","file0":"1327547953","file3":"1327547961"},"map_files_photo_id_array":[{"photo_id":"1327547956","filename":"file2"},{"photo_id":"1327547955","filename":"file1"},{"photo_id":"1327547953","filename":"file0"},{"photo_id":"1327547961","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547956":["hashtag1","hashtag2"]},{"1327547953":["hashtag1","hashtag2"]},{"1327547961":["hashtag1","hashtag2"]},{"1327547955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547956, 1327547953, 1327547961, 1327547955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78586435317993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:44:22.702685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0003.jpg', '/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0000.jpg', '/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0001.jpg', '/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/43/image_08012025_22_43_02_676492_0003.jpg
/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0000.jpg
/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0001.jpg
/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327547992","1327547995","1327547997","1327547993"],"photo_ids_order":["1327547992","1327547993","1327547995","1327547997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a878b963663b13722a4e4300c196df99.jpg","text":"TemporaryFile(/tmp/multipartBody8033615315784289169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372733314,"filename":"image_08012025_22_43_02_676492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d11e37361a77f5afb9acc8e7ffe1b01e.jpg","text":"TemporaryFile(/tmp/multipartBody5746404500264258813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372733314,"filename":"image_08012025_22_44_02_850986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a0a1030a17f166b94199c269bee3c94e.jpg","text":"TemporaryFile(/tmp/multipartBody3449497832012777225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372733314,"filename":"image_08012025_22_44_02_850986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/96abe3963bacee000229d44eef068645.jpg","text":"TemporaryFile(/tmp/multipartBody1041236618875980396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372733314,"filename":"image_08012025_22_44_02_850986_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327547995","file1":"1327547993","file0":"1327547992","file3":"1327547997"},"map_files_photo_id_array":[{"photo_id":"1327547995","filename":"file2"},{"photo_id":"1327547993","filename":"file1"},{"photo_id":"1327547992","filename":"file0"},{"photo_id":"1327547997","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327547992":["hashtag1","hashtag2"]},{"1327547995":["hashtag1","hashtag2"]},{"1327547997":["hashtag1","hashtag2"]},{"1327547993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327547992, 1327547995, 1327547997, 1327547993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20715951919556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:45:21.965652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0003.jpg', '/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0000.jpg', '/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0001.jpg', '/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/44/image_08012025_22_44_02_850986_0003.jpg
/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0000.jpg
/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0001.jpg
/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327548008","1327548004","1327548003","1327548006"],"photo_ids_order":["1327548003","1327548004","1327548006","1327548008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d54c5668cb761fc0f3c358d5783b3401.jpg","text":"TemporaryFile(/tmp/multipartBody1141230857154462707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372792613,"filename":"image_08012025_22_45_03_025816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/121e9af62687185b502a6760db5d3032.jpg","text":"TemporaryFile(/tmp/multipartBody2692007575983621964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372792613,"filename":"image_08012025_22_45_03_025816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4250eb71d2720aef44340940bb21e086.jpg","text":"TemporaryFile(/tmp/multipartBody2574126340873588285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372792613,"filename":"image_08012025_22_44_02_850986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e20a917d3cb9fdc4eff94e2f7322fcb8.jpg","text":"TemporaryFile(/tmp/multipartBody2468833200427406251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372792613,"filename":"image_08012025_22_45_03_025816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327548006","file1":"1327548004","file0":"1327548003","file3":"1327548008"},"map_files_photo_id_array":[{"photo_id":"1327548006","filename":"file2"},{"photo_id":"1327548004","filename":"file1"},{"photo_id":"1327548003","filename":"file0"},{"photo_id":"1327548008","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327548008":["hashtag1","hashtag2"]},{"1327548004":["hashtag1","hashtag2"]},{"1327548003":["hashtag1","hashtag2"]},{"1327548006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327548008, 1327548004, 1327548003, 1327548006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30555510520935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:46:02.419521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:46:22.033037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0003.jpg', '/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0000.jpg', '/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0001.jpg', '/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/45/image_08012025_22_45_03_025816_0003.jpg
/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0000.jpg
/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0001.jpg
/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327548245","1327548167","1327548292","1327548275"],"photo_ids_order":["1327548167","1327548245","1327548275","1327548292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5772ffec3ae15c575fc63efd4cc59340.jpg","text":"TemporaryFile(/tmp/multipartBody5604631938196535774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372852676,"filename":"image_08012025_22_46_02_267431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11aae63ebc48df2d1af858ca7b06fe39.jpg","text":"TemporaryFile(/tmp/multipartBody1573367745108169801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372852676,"filename":"image_08012025_22_45_03_025816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/49b8c582e8ddd226e449d5291923f06b.jpg","text":"TemporaryFile(/tmp/multipartBody4071516742181242445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372852676,"filename":"image_08012025_22_46_02_267431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fda645850981301fcb94ebbfd52e5dec.jpg","text":"TemporaryFile(/tmp/multipartBody1336520458806750260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372852676,"filename":"image_08012025_22_46_02_267431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327548275","file1":"1327548245","file0":"1327548167","file3":"1327548292"},"map_files_photo_id_array":[{"photo_id":"1327548275","filename":"file2"},{"photo_id":"1327548245","filename":"file1"},{"photo_id":"1327548167","filename":"file0"},{"photo_id":"1327548292","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327548245":["hashtag1","hashtag2"]},{"1327548167":["hashtag1","hashtag2"]},{"1327548292":["hashtag1","hashtag2"]},{"1327548275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327548245, 1327548167, 1327548292, 1327548275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.18359398841858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:47:22.191178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0003.jpg', '/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0000.jpg', '/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0001.jpg', '/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/46/image_08012025_22_46_02_267431_0003.jpg
/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0000.jpg
/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0001.jpg
/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327548359","1327548358","1327548361","1327548360"],"photo_ids_order":["1327548358","1327548359","1327548360","1327548361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/164d40dcb3c3fa06f49eecd48f465106.jpg","text":"TemporaryFile(/tmp/multipartBody8451347222055036753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372912804,"filename":"image_08012025_22_47_02_397273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/daedc52c7628dc02c79b9ab230f9ef28.jpg","text":"TemporaryFile(/tmp/multipartBody5627734848319956731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372912804,"filename":"image_08012025_22_46_02_267431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2e27ee21cede20fb211d314cc409a19d.jpg","text":"TemporaryFile(/tmp/multipartBody2086869912714885964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372912804,"filename":"image_08012025_22_47_02_397273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6aefb313f0a67bd3113cde90574640c5.jpg","text":"TemporaryFile(/tmp/multipartBody4454173204329290994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372912804,"filename":"image_08012025_22_47_02_397273_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327548360","file1":"1327548359","file0":"1327548358","file3":"1327548361"},"map_files_photo_id_array":[{"photo_id":"1327548360","filename":"file2"},{"photo_id":"1327548359","filename":"file1"},{"photo_id":"1327548358","filename":"file0"},{"photo_id":"1327548361","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327548359":["hashtag1","hashtag2"]},{"1327548358":["hashtag1","hashtag2"]},{"1327548361":["hashtag1","hashtag2"]},{"1327548360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327548359, 1327548358, 1327548361, 1327548360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.01432824134827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:48:22.402884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0003.jpg', '/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0000.jpg', '/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0001.jpg', '/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/47/image_08012025_22_47_02_397273_0003.jpg
/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0000.jpg
/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0001.jpg
/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327548410","1327548367","1327548371","1327548380"],"photo_ids_order":["1327548367","1327548371","1327548380","1327548410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8608ef0eee0f96ddefa0c5a61dc5ff7b.jpg","text":"TemporaryFile(/tmp/multipartBody4030399131229904682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372973148,"filename":"image_08012025_22_48_02_543782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e825735ef16c35c6a320577e78255a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1377178270631769244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372973148,"filename":"image_08012025_22_47_02_397273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56bdd082daac6b84a727905869f82e8c.jpg","text":"TemporaryFile(/tmp/multipartBody142580008774397478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372973148,"filename":"image_08012025_22_48_02_543782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1b7a7afc4804b005f5f9a4c8754ed2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2775637341194105931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736372973148,"filename":"image_08012025_22_48_02_543782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327548380","file1":"1327548371","file0":"1327548367","file3":"1327548410"},"map_files_photo_id_array":[{"photo_id":"1327548380","filename":"file2"},{"photo_id":"1327548371","filename":"file1"},{"photo_id":"1327548367","filename":"file0"},{"photo_id":"1327548410","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327548410":["hashtag1","hashtag2"]},{"1327548367":["hashtag1","hashtag2"]},{"1327548371":["hashtag1","hashtag2"]},{"1327548380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327548410, 1327548367, 1327548371, 1327548380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16487264633179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:49:03.042841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:49:22.574466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0003.jpg', '/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0000.jpg', '/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0001.jpg', '/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/48/image_08012025_22_48_02_543782_0003.jpg
/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0000.jpg
/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0001.jpg
/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327548472","1327548613","1327548474","1327548455"],"photo_ids_order":["1327548455","1327548472","1327548474","1327548613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14a8eafaf8267aeff510b6b117d10993.jpg","text":"TemporaryFile(/tmp/multipartBody6327543203124102535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373033277,"filename":"image_08012025_22_49_02_806401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/72e29ade94321d524cfb828dfd58b3b9.jpg","text":"TemporaryFile(/tmp/multipartBody8479807111904922167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373033277,"filename":"image_08012025_22_49_02_806401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/28adf85fba454e7114c9c92ee76aad3b.jpg","text":"TemporaryFile(/tmp/multipartBody1792124942205432430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373033277,"filename":"image_08012025_22_49_02_806401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ad317452339ceb3bcd85f85c683112ea.jpg","text":"TemporaryFile(/tmp/multipartBody6008353308416145655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373033277,"filename":"image_08012025_22_48_02_543782_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327548474","file1":"1327548472","file0":"1327548455","file3":"1327548613"},"map_files_photo_id_array":[{"photo_id":"1327548474","filename":"file2"},{"photo_id":"1327548472","filename":"file1"},{"photo_id":"1327548455","filename":"file0"},{"photo_id":"1327548613","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327548472":["hashtag1","hashtag2"]},{"1327548613":["hashtag1","hashtag2"]},{"1327548474":["hashtag1","hashtag2"]},{"1327548455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327548472, 1327548613, 1327548474, 1327548455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43847370147705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:50:03.145231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:50:22.779469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0003.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0000.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0001.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0003.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0000.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0001.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.342237710952759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 22:50:42.741122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0003.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0000.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0001.jpg', '/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/49/image_08012025_22_49_02_806401_0003.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0000.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0001.jpg
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327549449","1327549344","1327549209","1327549289"],"photo_ids_order":["1327549209","1327549289","1327549344","1327549449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c729a24325d7d4f3c3af655bfd8daf3d.jpg","text":"TemporaryFile(/tmp/multipartBody9106545550683426000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373113506,"filename":"image_08012025_22_50_02_849157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf172012659120063af2defd91b129ee.jpg","text":"TemporaryFile(/tmp/multipartBody5849782425492202385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373113506,"filename":"image_08012025_22_50_02_849157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/dc675f5b4528aaa00ba051b2d1e99f08.jpg","text":"TemporaryFile(/tmp/multipartBody5599956351680369193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373113506,"filename":"image_08012025_22_49_02_806401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f56cf1e017d58fc34e135cbefb0f65f2.jpg","text":"TemporaryFile(/tmp/multipartBody8796266719636517470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373113506,"filename":"image_08012025_22_50_02_849157_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327549344","file1":"1327549289","file0":"1327549209","file3":"1327549449"},"map_files_photo_id_array":[{"photo_id":"1327549344","filename":"file2"},{"photo_id":"1327549289","filename":"file1"},{"photo_id":"1327549209","filename":"file0"},{"photo_id":"1327549449","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327549449":["hashtag1","hashtag2"]},{"1327549344":["hashtag1","hashtag2"]},{"1327549209":["hashtag1","hashtag2"]},{"1327549289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327549449, 1327549344, 1327549209, 1327549289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5938994884491 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-08 22:51:31.992664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0003.jpg', '/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0000.jpg', '/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0001.jpg', '/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/50/image_08012025_22_50_02_849157_0003.jpg
/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0000.jpg
/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0001.jpg
/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327549537","1327549533","1327549592","1327549535"],"photo_ids_order":["1327549533","1327549535","1327549537","1327549592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ab6349b968bbebc9f4086897db81575f.jpg","text":"TemporaryFile(/tmp/multipartBody3703681837665819334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373162914,"filename":"image_08012025_22_51_03_061633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c94cc53b2c6763514da40c125d708907.jpg","text":"TemporaryFile(/tmp/multipartBody6245655220047388368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373162914,"filename":"image_08012025_22_50_02_849157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c55218069ace4ae908a7d3e5cb21f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6759203176040992912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373162914,"filename":"image_08012025_22_51_03_061633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0134c4310b04397d1aa1b64e224e490f.jpg","text":"TemporaryFile(/tmp/multipartBody864122110971539036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373162914,"filename":"image_08012025_22_51_03_061633_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327549537","file1":"1327549535","file0":"1327549533","file3":"1327549592"},"map_files_photo_id_array":[{"photo_id":"1327549537","filename":"file2"},{"photo_id":"1327549535","filename":"file1"},{"photo_id":"1327549533","filename":"file0"},{"photo_id":"1327549592","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327549537":["hashtag1","hashtag2"]},{"1327549533":["hashtag1","hashtag2"]},{"1327549592":["hashtag1","hashtag2"]},{"1327549535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327549537, 1327549533, 1327549592, 1327549535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.047516107559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:52:22.103266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0003.jpg', '/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0000.jpg', '/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0001.jpg', '/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/51/image_08012025_22_51_03_061633_0003.jpg
/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0000.jpg
/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0001.jpg
/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327549870","1327549672","1327550024","1327550163"],"photo_ids_order":["1327549672","1327549870","1327550024","1327550163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dd4ca964848f47a614dffe2d7571cdb.jpg","text":"TemporaryFile(/tmp/multipartBody9171711326437012692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373213190,"filename":"image_08012025_22_52_02_285436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6124811597cc313cdf0b2dc448723bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4039930608075535772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373213190,"filename":"image_08012025_22_51_03_061633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d3e9cc3370dfe063692809bb93d9227e.jpg","text":"TemporaryFile(/tmp/multipartBody427642713169862152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373213190,"filename":"image_08012025_22_52_02_285436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94f0305765b947ed193958edf36a598d.jpg","text":"TemporaryFile(/tmp/multipartBody246005876719814329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373213190,"filename":"image_08012025_22_52_02_285436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327550024","file1":"1327549870","file0":"1327549672","file3":"1327550163"},"map_files_photo_id_array":[{"photo_id":"1327550024","filename":"file2"},{"photo_id":"1327549870","filename":"file1"},{"photo_id":"1327549672","filename":"file0"},{"photo_id":"1327550163","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327549870":["hashtag1","hashtag2"]},{"1327549672":["hashtag1","hashtag2"]},{"1327550024":["hashtag1","hashtag2"]},{"1327550163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327549870, 1327549672, 1327550024, 1327550163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 53.36063480377197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:53:22.284682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0003.jpg', '/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0000.jpg', '/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0001.jpg', '/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/52/image_08012025_22_52_02_285436_0003.jpg
/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0000.jpg
/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0001.jpg
/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327550493","1327550397","1327550430","1327550459"],"photo_ids_order":["1327550397","1327550430","1327550459","1327550493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7d5757c6af84012ba4e9a7f0deb391ff.jpg","text":"TemporaryFile(/tmp/multipartBody7225438312762085235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373273166,"filename":"image_08012025_22_53_02_555330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a5efc3653b7a49bdf4379f337f2189eb.jpg","text":"TemporaryFile(/tmp/multipartBody4027123627643311490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373273166,"filename":"image_08012025_22_52_02_285436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/84cccd7107f1da07cfe5c62f6910d76b.jpg","text":"TemporaryFile(/tmp/multipartBody1566814794494503187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373273166,"filename":"image_08012025_22_53_02_555330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/593a18de77372874245f8baaceb6b150.jpg","text":"TemporaryFile(/tmp/multipartBody4884581258502493138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373273166,"filename":"image_08012025_22_53_02_555330_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327550459","file1":"1327550430","file0":"1327550397","file3":"1327550493"},"map_files_photo_id_array":[{"photo_id":"1327550459","filename":"file2"},{"photo_id":"1327550430","filename":"file1"},{"photo_id":"1327550397","filename":"file0"},{"photo_id":"1327550493","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327550493":["hashtag1","hashtag2"]},{"1327550397":["hashtag1","hashtag2"]},{"1327550430":["hashtag1","hashtag2"]},{"1327550459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327550493, 1327550397, 1327550430, 1327550459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23506307601929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 22:54:02.926878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:54:22.540539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0003.jpg', '/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0000.jpg', '/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0001.jpg', '/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/53/image_08012025_22_53_02_555330_0003.jpg
/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0000.jpg
/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0001.jpg
/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327550788","1327550791","1327550696","1327550789"],"photo_ids_order":["1327550696","1327550788","1327550789","1327550791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/06509805488c8417d1577d972d87228d.jpg","text":"TemporaryFile(/tmp/multipartBody4413249248039554695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373333219,"filename":"image_08012025_22_54_02_638756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aa943b1e442f673ee039ffe6fd2fc77d.jpg","text":"TemporaryFile(/tmp/multipartBody8688727292690971772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373333219,"filename":"image_08012025_22_54_02_638756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07ca3ecf6a68be0aee3e6e0999809456.jpg","text":"TemporaryFile(/tmp/multipartBody2967558966092918791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373333219,"filename":"image_08012025_22_53_02_555330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/195b89d135c9e42689c1b8e43087b66a.jpg","text":"TemporaryFile(/tmp/multipartBody267896930855919317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373333219,"filename":"image_08012025_22_54_02_638756_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327550789","file1":"1327550788","file0":"1327550696","file3":"1327550791"},"map_files_photo_id_array":[{"photo_id":"1327550789","filename":"file2"},{"photo_id":"1327550788","filename":"file1"},{"photo_id":"1327550696","filename":"file0"},{"photo_id":"1327550791","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327550788":["hashtag1","hashtag2"]},{"1327550791":["hashtag1","hashtag2"]},{"1327550696":["hashtag1","hashtag2"]},{"1327550789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327550788, 1327550791, 1327550696, 1327550789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.671653270721436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:55:22.676195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0003.jpg', '/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0000.jpg', '/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0001.jpg', '/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/54/image_08012025_22_54_02_638756_0003.jpg
/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0000.jpg
/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0001.jpg
/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327550980","1327550974","1327550817","1327550861"],"photo_ids_order":["1327550817","1327550861","1327550974","1327550980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6ff6a4338536a18a60073fd9f910690e.jpg","text":"TemporaryFile(/tmp/multipartBody3248134383744628877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373393432,"filename":"image_08012025_22_55_02_832415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e788048eefc2b25a268c6f930a06bc48.jpg","text":"TemporaryFile(/tmp/multipartBody4489863921233178727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373393432,"filename":"image_08012025_22_55_02_832415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2199f4d85b2645800f6bae588ff6f39c.jpg","text":"TemporaryFile(/tmp/multipartBody6296224689083703005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373393432,"filename":"image_08012025_22_54_02_638756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/58447bdf3b69e10a76b6c89b4577d581.jpg","text":"TemporaryFile(/tmp/multipartBody6579819142607745957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373393432,"filename":"image_08012025_22_55_02_832415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327550974","file1":"1327550861","file0":"1327550817","file3":"1327550980"},"map_files_photo_id_array":[{"photo_id":"1327550974","filename":"file2"},{"photo_id":"1327550861","filename":"file1"},{"photo_id":"1327550817","filename":"file0"},{"photo_id":"1327550980","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327550980":["hashtag1","hashtag2"]},{"1327550974":["hashtag1","hashtag2"]},{"1327550817":["hashtag1","hashtag2"]},{"1327550861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327550980, 1327550974, 1327550817, 1327550861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88973379135132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:56:21.920023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0003.jpg', '/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0000.jpg', '/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0001.jpg', '/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/55/image_08012025_22_55_02_832415_0003.jpg
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0000.jpg
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0001.jpg
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327551130","1327551127","1327551129","1327551128"],"photo_ids_order":["1327551127","1327551128","1327551129","1327551130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3e8d582f02a3f56d3b44f69f3f5f7be1.jpg","text":"TemporaryFile(/tmp/multipartBody6557038677312370487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373452723,"filename":"image_08012025_22_56_03_074480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6d8ecde776de357303ce6edb2ed73ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4013275776319719288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373452723,"filename":"image_08012025_22_55_02_832415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b2e23e3b06b4d07a39394b48a6545aac.jpg","text":"TemporaryFile(/tmp/multipartBody1214634586169272960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373452723,"filename":"image_08012025_22_56_03_074480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9e464a8f44a8ba3dc6a95f180d0f62b8.jpg","text":"TemporaryFile(/tmp/multipartBody227225897522765317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373452723,"filename":"image_08012025_22_56_03_074480_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327551129","file1":"1327551128","file0":"1327551127","file3":"1327551130"},"map_files_photo_id_array":[{"photo_id":"1327551129","filename":"file2"},{"photo_id":"1327551128","filename":"file1"},{"photo_id":"1327551127","filename":"file0"},{"photo_id":"1327551130","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327551130":["hashtag1","hashtag2"]},{"1327551127":["hashtag1","hashtag2"]},{"1327551129":["hashtag1","hashtag2"]},{"1327551128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327551130, 1327551127, 1327551129, 1327551128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57071113586426 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-08 22:57:22.064510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_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-08 22:59:02.929033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0002.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0003.jpg', '/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0002.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0003.jpg
/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.418418645858765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 22:59:22.348305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0002.jpg', '/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0003.jpg', '/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/56/image_08012025_22_56_03_074480_0003.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0000.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0001.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0002.jpg
/home/pi/Desktop/images/08012025/22/57/image_08012025_22_57_02_229354_0003.jpg
/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_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":["1327551187","1327551181","1327551182","1327551185","1327551179","1327551190"],"photo_ids_order":["1327551179","1327551181","1327551182","1327551185","1327551187","1327551190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f505cebb1fb89fd81297db8982f8fe83.jpg","text":"TemporaryFile(/tmp/multipartBody2911428244688733083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_57_02_229354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/aefad5582ce40fb06948ee4bb659d66e.jpg","text":"TemporaryFile(/tmp/multipartBody5956769728026564118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_57_02_229354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a7cc53affbb0f3957c7a36cca9f4273.jpg","text":"TemporaryFile(/tmp/multipartBody3685637473855285327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_57_02_229354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/adf07dec8bc6648aa71bff9c0b00b712.jpg","text":"TemporaryFile(/tmp/multipartBody8937282675183990125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_57_02_229354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89e35f3175b0cc8c2ce1a6c24623e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody5049720934440746782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_56_03_074480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/102100035205c9251d945e14e024d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody5506501890106570472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373638096,"filename":"image_08012025_22_58_02_462720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327551182","file1":"1327551181","file0":"1327551179","file4":"1327551187","file5":"1327551190","file3":"1327551185"},"map_files_photo_id_array":[{"photo_id":"1327551190","filename":"file5"},{"photo_id":"1327551182","filename":"file2"},{"photo_id":"1327551187","filename":"file4"},{"photo_id":"1327551181","filename":"file1"},{"photo_id":"1327551179","filename":"file0"},{"photo_id":"1327551185","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327551187":["hashtag1","hashtag2"]},{"1327551181":["hashtag1","hashtag2"]},{"1327551182":["hashtag1","hashtag2"]},{"1327551185":["hashtag1","hashtag2"]},{"1327551179":["hashtag1","hashtag2"]},{"1327551190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327551187, 1327551181, 1327551182, 1327551185, 1327551179, 1327551190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.777031898498535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:00:22.529560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0001.jpg', '/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0002.jpg', '/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0003.jpg', '/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0000.jpg', '/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0001.jpg', '/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0001.jpg
/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0002.jpg
/home/pi/Desktop/images/08012025/22/58/image_08012025_22_58_02_462720_0003.jpg
/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0000.jpg
/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0001.jpg
/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327551214","1327551208","1327551213","1327551216","1327551210","1327551206"],"photo_ids_order":["1327551206","1327551208","1327551210","1327551213","1327551214","1327551216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fbb4f19d8473e17040e955067d3ddb6a.jpg","text":"TemporaryFile(/tmp/multipartBody7537930974213291146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_59_02_586376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a7bd6fdd4d3331c8233ad835b4d61e57.jpg","text":"TemporaryFile(/tmp/multipartBody8054311923512266719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_58_02_462720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/08d828c0b99d73d292c1dda2e04aeeb5.jpg","text":"TemporaryFile(/tmp/multipartBody6507768191657482699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_59_02_586376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/afd8f2e43e0be089b4fc44766b886fe7.jpg","text":"TemporaryFile(/tmp/multipartBody3780933356157853922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_59_02_586376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f0e19126edf93ff9524608007ba31d30.jpg","text":"TemporaryFile(/tmp/multipartBody3411091945153207499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_58_02_462720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d0752e68d6c4f53fe2b258d52d56f96.jpg","text":"TemporaryFile(/tmp/multipartBody3628412189299052927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373698196,"filename":"image_08012025_22_58_02_462720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327551210","file1":"1327551208","file0":"1327551206","file4":"1327551214","file5":"1327551216","file3":"1327551213"},"map_files_photo_id_array":[{"photo_id":"1327551216","filename":"file5"},{"photo_id":"1327551210","filename":"file2"},{"photo_id":"1327551214","filename":"file4"},{"photo_id":"1327551208","filename":"file1"},{"photo_id":"1327551206","filename":"file0"},{"photo_id":"1327551213","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327551214":["hashtag1","hashtag2"]},{"1327551208":["hashtag1","hashtag2"]},{"1327551213":["hashtag1","hashtag2"]},{"1327551216":["hashtag1","hashtag2"]},{"1327551210":["hashtag1","hashtag2"]},{"1327551206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327551214, 1327551208, 1327551213, 1327551216, 1327551210, 1327551206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48058032989502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:01:22.755401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0003.jpg', '/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0000.jpg', '/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0001.jpg', '/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0002.jpg', '/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0003.jpg', '/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/22/59/image_08012025_22_59_02_586376_0003.jpg
/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0000.jpg
/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0001.jpg
/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0002.jpg
/home/pi/Desktop/images/08012025/23/00/image_08012025_23_00_02_703100_0003.jpg
/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_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":["1327551232","1327551231","1327551234","1327551228","1327551237","1327551233"],"photo_ids_order":["1327551228","1327551231","1327551232","1327551233","1327551234","1327551237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5e6169bc32aeba1d523a84464edd84fd.jpg","text":"TemporaryFile(/tmp/multipartBody8800001433275472696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_23_00_02_703100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fe25f23b451454d9683f097127a2890.jpg","text":"TemporaryFile(/tmp/multipartBody2119440103142786118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_23_00_02_703100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9d286883cbd7dc8a907774d9abbc66f.jpg","text":"TemporaryFile(/tmp/multipartBody3258778314680177318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_23_00_02_703100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47bd71f89783336ea9f1b1476ece20a8.jpg","text":"TemporaryFile(/tmp/multipartBody7071779117750536588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_22_59_02_586376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/af1bc811f51e275ebed68179cf03b504.jpg","text":"TemporaryFile(/tmp/multipartBody8228272765662081838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_23_01_02_880607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/62d1965e2b6d3d14a8de80c49a0a706c.jpg","text":"TemporaryFile(/tmp/multipartBody8793364121818235283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373758420,"filename":"image_08012025_23_00_02_703100_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327551232","file1":"1327551231","file0":"1327551228","file4":"1327551234","file5":"1327551237","file3":"1327551233"},"map_files_photo_id_array":[{"photo_id":"1327551237","filename":"file5"},{"photo_id":"1327551232","filename":"file2"},{"photo_id":"1327551234","filename":"file4"},{"photo_id":"1327551231","filename":"file1"},{"photo_id":"1327551228","filename":"file0"},{"photo_id":"1327551233","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327551232":["hashtag1","hashtag2"]},{"1327551231":["hashtag1","hashtag2"]},{"1327551234":["hashtag1","hashtag2"]},{"1327551228":["hashtag1","hashtag2"]},{"1327551237":["hashtag1","hashtag2"]},{"1327551233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327551232, 1327551231, 1327551234, 1327551228, 1327551237, 1327551233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.698766469955444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:02:31.827747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0001.jpg', '/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0002.jpg', '/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0003.jpg', '/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0000.jpg', '/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0001.jpg', '/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0001.jpg
/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0002.jpg
/home/pi/Desktop/images/08012025/23/01/image_08012025_23_01_02_880607_0003.jpg
/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0000.jpg
/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0001.jpg
/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327551729","1327551584","1327551491","1327551647","1327551542","1327551521"],"photo_ids_order":["1327551491","1327551521","1327551542","1327551584","1327551647","1327551729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/77009b948bc5ef7a558367b88f6d0987.jpg","text":"TemporaryFile(/tmp/multipartBody6377992589810812192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_02_03_046093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e0fa8e097ce23a73c60ab9bca7b085fd.jpg","text":"TemporaryFile(/tmp/multipartBody7867016915088642365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_02_03_046093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/834a69a6692ae5dc2355c0f16087646d.jpg","text":"TemporaryFile(/tmp/multipartBody3125656654356729349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_01_02_880607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0060cf4e472c0a8d4076f1d2682d78ba.jpg","text":"TemporaryFile(/tmp/multipartBody7921743875759217989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_02_03_046093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9847911712284bedbc079aa2e905a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4864659331635941729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_01_02_880607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cf1b214a88239c09ffdd5a1016435f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8177853342639531844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373827406,"filename":"image_08012025_23_01_02_880607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327551542","file1":"1327551521","file0":"1327551491","file4":"1327551647","file5":"1327551729","file3":"1327551584"},"map_files_photo_id_array":[{"photo_id":"1327551729","filename":"file5"},{"photo_id":"1327551542","filename":"file2"},{"photo_id":"1327551647","filename":"file4"},{"photo_id":"1327551521","filename":"file1"},{"photo_id":"1327551491","filename":"file0"},{"photo_id":"1327551584","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327551729":["hashtag1","hashtag2"]},{"1327551584":["hashtag1","hashtag2"]},{"1327551491":["hashtag1","hashtag2"]},{"1327551647":["hashtag1","hashtag2"]},{"1327551542":["hashtag1","hashtag2"]},{"1327551521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327551729, 1327551584, 1327551491, 1327551647, 1327551542, 1327551521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4432098865509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:03:32.043405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0003.jpg', '/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0000.jpg', '/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0001.jpg', '/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/02/image_08012025_23_02_03_046093_0003.jpg
/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0000.jpg
/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0001.jpg
/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552053","1327552047","1327552049","1327552051"],"photo_ids_order":["1327552047","1327552049","1327552051","1327552053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e13426cd5eebc2593cd51a6fbb80a89e.jpg","text":"TemporaryFile(/tmp/multipartBody6740825991600776459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373882841,"filename":"image_08012025_23_03_02_152818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/47183d7a1de83ef5837fb96a1f95550a.jpg","text":"TemporaryFile(/tmp/multipartBody5085014015252315719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373882841,"filename":"image_08012025_23_02_03_046093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7b26055cf3afab593ac5d4eb93c88114.jpg","text":"TemporaryFile(/tmp/multipartBody2155227337378848369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373882841,"filename":"image_08012025_23_03_02_152818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7351c7f878f385e2124c8b3b4128fbe.jpg","text":"TemporaryFile(/tmp/multipartBody8574594943130808376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373882841,"filename":"image_08012025_23_03_02_152818_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552051","file1":"1327552049","file0":"1327552047","file3":"1327552053"},"map_files_photo_id_array":[{"photo_id":"1327552051","filename":"file2"},{"photo_id":"1327552049","filename":"file1"},{"photo_id":"1327552047","filename":"file0"},{"photo_id":"1327552053","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552053":["hashtag1","hashtag2"]},{"1327552047":["hashtag1","hashtag2"]},{"1327552049":["hashtag1","hashtag2"]},{"1327552051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552053, 1327552047, 1327552049, 1327552051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.619139671325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:04:22.149533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0003.jpg', '/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0000.jpg', '/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0001.jpg', '/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/03/image_08012025_23_03_02_152818_0003.jpg
/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0000.jpg
/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0001.jpg
/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552095","1327552172","1327552094","1327552133"],"photo_ids_order":["1327552094","1327552095","1327552133","1327552172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f9cccba662109a9e8d966e06e43ac5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7846036107091949487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373932763,"filename":"image_08012025_23_04_02_363316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/17597dc1c55704ade9e47c5df30df8de.jpg","text":"TemporaryFile(/tmp/multipartBody279336739431107090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373932763,"filename":"image_08012025_23_04_02_363316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4c23121fda6cd2590e2fb03e237ad1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2449780866483548312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373932763,"filename":"image_08012025_23_03_02_152818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d52db7823ea8361b686ac01b099785e4.jpg","text":"TemporaryFile(/tmp/multipartBody4600520941406045877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373932763,"filename":"image_08012025_23_04_02_363316_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552133","file1":"1327552095","file0":"1327552094","file3":"1327552172"},"map_files_photo_id_array":[{"photo_id":"1327552133","filename":"file2"},{"photo_id":"1327552095","filename":"file1"},{"photo_id":"1327552094","filename":"file0"},{"photo_id":"1327552172","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552095":["hashtag1","hashtag2"]},{"1327552172":["hashtag1","hashtag2"]},{"1327552094":["hashtag1","hashtag2"]},{"1327552133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552095, 1327552172, 1327552094, 1327552133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.54376220703125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:05:22.430941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0003.jpg', '/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0000.jpg', '/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0001.jpg', '/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/04/image_08012025_23_04_02_363316_0003.jpg
/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0000.jpg
/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0001.jpg
/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552434","1327552437","1327552436","1327552438"],"photo_ids_order":["1327552434","1327552436","1327552437","1327552438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/91a51c0bd6483308301ae184ac802c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5840832988779524799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373993149,"filename":"image_08012025_23_04_02_363316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/039a4eb390d5f523164304103cc9c749.jpg","text":"TemporaryFile(/tmp/multipartBody54228724251382171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373993149,"filename":"image_08012025_23_05_02_523834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/00116c6a030624ae7148e97e9a46c575.jpg","text":"TemporaryFile(/tmp/multipartBody832772582556561227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373993149,"filename":"image_08012025_23_05_02_523834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/256f04486d65ddacd6a7143c8e524051.jpg","text":"TemporaryFile(/tmp/multipartBody206051507659186432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736373993149,"filename":"image_08012025_23_05_02_523834_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552437","file1":"1327552436","file0":"1327552434","file3":"1327552438"},"map_files_photo_id_array":[{"photo_id":"1327552437","filename":"file2"},{"photo_id":"1327552436","filename":"file1"},{"photo_id":"1327552434","filename":"file0"},{"photo_id":"1327552438","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552434":["hashtag1","hashtag2"]},{"1327552437":["hashtag1","hashtag2"]},{"1327552436":["hashtag1","hashtag2"]},{"1327552438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552434, 1327552437, 1327552436, 1327552438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.86965012550354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:06:22.609523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0003.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0000.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0001.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0003.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0000.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0001.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.496504306793213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:06:42.581328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0003.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0000.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0001.jpg', '/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/05/image_08012025_23_05_02_523834_0003.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0000.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0001.jpg
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552461","1327552458","1327552463","1327552457"],"photo_ids_order":["1327552457","1327552458","1327552461","1327552463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5315bfc4cb0562ab7a4717fe396e44e2.jpg","text":"TemporaryFile(/tmp/multipartBody929446154729503515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374073068,"filename":"image_08012025_23_06_02_750023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ac915def03093fa3cac1af3551d9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5947248092407127874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374073068,"filename":"image_08012025_23_06_02_750023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/73cd2f8a1c3577090163cd7077a404a3.jpg","text":"TemporaryFile(/tmp/multipartBody4230514595992039301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374073068,"filename":"image_08012025_23_06_02_750023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd9a4f8b0a0bc334970fe8edbfc7beb4.jpg","text":"TemporaryFile(/tmp/multipartBody6504442088460966406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374073068,"filename":"image_08012025_23_05_02_523834_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552461","file1":"1327552458","file0":"1327552457","file3":"1327552463"},"map_files_photo_id_array":[{"photo_id":"1327552461","filename":"file2"},{"photo_id":"1327552458","filename":"file1"},{"photo_id":"1327552457","filename":"file0"},{"photo_id":"1327552463","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552461":["hashtag1","hashtag2"]},{"1327552458":["hashtag1","hashtag2"]},{"1327552463":["hashtag1","hashtag2"]},{"1327552457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552461, 1327552458, 1327552463, 1327552457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.213149547576904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:07:32.678366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0003.jpg', '/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0000.jpg', '/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0001.jpg', '/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/06/image_08012025_23_06_02_750023_0003.jpg
/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0000.jpg
/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0001.jpg
/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552470","1327552472","1327552469","1327552471"],"photo_ids_order":["1327552469","1327552470","1327552471","1327552472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b7893ce821cfac07ae49ebb953a8915.jpg","text":"TemporaryFile(/tmp/multipartBody4918568162615862134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374123185,"filename":"image_08012025_23_07_02_929370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d289a6e4872e5dbd85ce186af228d149.jpg","text":"TemporaryFile(/tmp/multipartBody8432801489808021145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374123185,"filename":"image_08012025_23_07_02_929370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f08d408c690429769a7af4b11158711.jpg","text":"TemporaryFile(/tmp/multipartBody2958165317718202626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374123185,"filename":"image_08012025_23_06_02_750023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d87452cece32f0b89924c457b590da46.jpg","text":"TemporaryFile(/tmp/multipartBody7316653632117674204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374123185,"filename":"image_08012025_23_07_02_929370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552471","file1":"1327552470","file0":"1327552469","file3":"1327552472"},"map_files_photo_id_array":[{"photo_id":"1327552471","filename":"file2"},{"photo_id":"1327552470","filename":"file1"},{"photo_id":"1327552469","filename":"file0"},{"photo_id":"1327552472","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552470":["hashtag1","hashtag2"]},{"1327552472":["hashtag1","hashtag2"]},{"1327552469":["hashtag1","hashtag2"]},{"1327552471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552470, 1327552472, 1327552469, 1327552471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33505702018738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:08:21.899784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0003.jpg', '/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0000.jpg', '/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0001.jpg', '/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/07/image_08012025_23_07_02_929370_0003.jpg
/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0000.jpg
/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0001.jpg
/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552525","1327552527","1327552524","1327552529"],"photo_ids_order":["1327552524","1327552525","1327552527","1327552529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/90af74073cb073951edee1a9c4c89fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6430384070122445371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374172529,"filename":"image_08012025_23_08_03_087493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abb2e2b9e4d5cca1d418f2c5d8a106a5.jpg","text":"TemporaryFile(/tmp/multipartBody3770990910696492447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374172529,"filename":"image_08012025_23_08_03_087493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bb95a3141d48894dd9d969ee78596429.jpg","text":"TemporaryFile(/tmp/multipartBody3734502334073220584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374172529,"filename":"image_08012025_23_07_02_929370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/315e9f475af605a720da215364e37c65.jpg","text":"TemporaryFile(/tmp/multipartBody6982388554566941674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374172529,"filename":"image_08012025_23_08_03_087493_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552527","file1":"1327552525","file0":"1327552524","file3":"1327552529"},"map_files_photo_id_array":[{"photo_id":"1327552527","filename":"file2"},{"photo_id":"1327552525","filename":"file1"},{"photo_id":"1327552524","filename":"file0"},{"photo_id":"1327552529","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552525":["hashtag1","hashtag2"]},{"1327552527":["hashtag1","hashtag2"]},{"1327552524":["hashtag1","hashtag2"]},{"1327552529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552525, 1327552527, 1327552524, 1327552529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10203981399536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:09:02.799818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:09:22.025392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0003.jpg', '/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0000.jpg', '/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0001.jpg', '/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/08/image_08012025_23_08_03_087493_0003.jpg
/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0000.jpg
/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0001.jpg
/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552590","1327552586","1327552585","1327552588"],"photo_ids_order":["1327552585","1327552586","1327552588","1327552590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f14b5df4e9a5cc50fc01193eddeb242.jpg","text":"TemporaryFile(/tmp/multipartBody822452859573590601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374232566,"filename":"image_08012025_23_09_02_244883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bfee6e33313459e2883f475b9ed306f9.jpg","text":"TemporaryFile(/tmp/multipartBody8461424571304198843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374232566,"filename":"image_08012025_23_09_02_244883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56efd7c98f3132ea198de8da607fa2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8422988778189549134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374232566,"filename":"image_08012025_23_08_03_087493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1acb2bca8afcec548da8eaded6f468dc.jpg","text":"TemporaryFile(/tmp/multipartBody4942455235955577742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374232566,"filename":"image_08012025_23_09_02_244883_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552588","file1":"1327552586","file0":"1327552585","file3":"1327552590"},"map_files_photo_id_array":[{"photo_id":"1327552588","filename":"file2"},{"photo_id":"1327552586","filename":"file1"},{"photo_id":"1327552585","filename":"file0"},{"photo_id":"1327552590","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552590":["hashtag1","hashtag2"]},{"1327552586":["hashtag1","hashtag2"]},{"1327552585":["hashtag1","hashtag2"]},{"1327552588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552590, 1327552586, 1327552585, 1327552588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.695714473724365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:10:22.176088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0003.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0000.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0001.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0003.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0000.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0001.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.283243417739868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:10:42.296530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0003.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0000.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0001.jpg', '/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/09/image_08012025_23_09_02_244883_0003.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0000.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0001.jpg
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552618","1327552620","1327552610","1327552616"],"photo_ids_order":["1327552610","1327552616","1327552618","1327552620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/05497952edcb7c80bc0e43845d00465e.jpg","text":"TemporaryFile(/tmp/multipartBody8285804457273126793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374313002,"filename":"image_08012025_23_10_02_440217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fd13f7e0a4f12ed9afc28d8882701983.jpg","text":"TemporaryFile(/tmp/multipartBody5502980850741824069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374313002,"filename":"image_08012025_23_10_02_440217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f4ef49e4dd719b3f9dca5741a1aae66b.jpg","text":"TemporaryFile(/tmp/multipartBody3876692566154872489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374313002,"filename":"image_08012025_23_09_02_244883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8168de8df0f49d64267bea39e1bc8df4.jpg","text":"TemporaryFile(/tmp/multipartBody838820802644239463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374313002,"filename":"image_08012025_23_10_02_440217_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552618","file1":"1327552616","file0":"1327552610","file3":"1327552620"},"map_files_photo_id_array":[{"photo_id":"1327552618","filename":"file2"},{"photo_id":"1327552616","filename":"file1"},{"photo_id":"1327552610","filename":"file0"},{"photo_id":"1327552620","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552618":["hashtag1","hashtag2"]},{"1327552620":["hashtag1","hashtag2"]},{"1327552610":["hashtag1","hashtag2"]},{"1327552616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552618, 1327552620, 1327552610, 1327552616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.495455503463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:11:22.505397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0003.jpg', '/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0000.jpg', '/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0001.jpg', '/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/10/image_08012025_23_10_02_440217_0003.jpg
/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0000.jpg
/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0001.jpg
/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552624","1327552626","1327552623","1327552622"],"photo_ids_order":["1327552622","1327552623","1327552624","1327552626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c078510408d3dc827a9c461eaf5c43f.jpg","text":"TemporaryFile(/tmp/multipartBody3685236418003515260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374353120,"filename":"image_08012025_23_11_02_666148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c736cc7ed16895b934790ed63465a13e.jpg","text":"TemporaryFile(/tmp/multipartBody904833085700557774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374353120,"filename":"image_08012025_23_11_02_666148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/70c3aa99e095f99a16d673f6d29e7249.jpg","text":"TemporaryFile(/tmp/multipartBody4745387786886118457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374353120,"filename":"image_08012025_23_11_02_666148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f3f996291961abee416846a988aaa4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7542175300934866544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374353120,"filename":"image_08012025_23_10_02_440217_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552624","file1":"1327552623","file0":"1327552622","file3":"1327552626"},"map_files_photo_id_array":[{"photo_id":"1327552624","filename":"file2"},{"photo_id":"1327552623","filename":"file1"},{"photo_id":"1327552622","filename":"file0"},{"photo_id":"1327552626","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552624":["hashtag1","hashtag2"]},{"1327552626":["hashtag1","hashtag2"]},{"1327552623":["hashtag1","hashtag2"]},{"1327552622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552624, 1327552626, 1327552623, 1327552622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.519078731536865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:12:22.660686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0003.jpg', '/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0000.jpg', '/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0001.jpg', '/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/11/image_08012025_23_11_02_666148_0003.jpg
/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0000.jpg
/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0001.jpg
/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552647","1327552649","1327552678","1327552648"],"photo_ids_order":["1327552647","1327552648","1327552649","1327552678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/086c61f6b8d18b51c75d582580b6b9bc.jpg","text":"TemporaryFile(/tmp/multipartBody5895381870370319272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374413225,"filename":"image_08012025_23_11_02_666148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b6da110089e3b8e5710415c9a749379f.jpg","text":"TemporaryFile(/tmp/multipartBody4960548238412193452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374413225,"filename":"image_08012025_23_12_02_898292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c469a3ef525e71a539e590ab5dc57e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5080690320751587223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374413225,"filename":"image_08012025_23_12_02_898292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9f9296489b17df25b311e136b20c2c77.jpg","text":"TemporaryFile(/tmp/multipartBody2534095082105659816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374413225,"filename":"image_08012025_23_12_02_898292_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552649","file1":"1327552648","file0":"1327552647","file3":"1327552678"},"map_files_photo_id_array":[{"photo_id":"1327552649","filename":"file2"},{"photo_id":"1327552648","filename":"file1"},{"photo_id":"1327552647","filename":"file0"},{"photo_id":"1327552678","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552647":["hashtag1","hashtag2"]},{"1327552649":["hashtag1","hashtag2"]},{"1327552678":["hashtag1","hashtag2"]},{"1327552648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552647, 1327552649, 1327552678, 1327552648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64134907722473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:13:21.878646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0003.jpg', '/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0000.jpg', '/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0001.jpg', '/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/12/image_08012025_23_12_02_898292_0003.jpg
/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0000.jpg
/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0001.jpg
/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552711","1327552708","1327552713","1327552709"],"photo_ids_order":["1327552708","1327552709","1327552711","1327552713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/576adc5762c73ef19760088d3a3f79bb.jpg","text":"TemporaryFile(/tmp/multipartBody7720099377139045506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374472566,"filename":"image_08012025_23_13_02_991794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/56d91942f084c25449522dd8fb39c695.jpg","text":"TemporaryFile(/tmp/multipartBody3646241134682772304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374472566,"filename":"image_08012025_23_12_02_898292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/522801a118a3b176e9c8905785a410b8.jpg","text":"TemporaryFile(/tmp/multipartBody5866280100701553666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374472566,"filename":"image_08012025_23_13_02_991794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/916d3d5e1fb63d2c6afc6eb59cbdd8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6185587286049802181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374472566,"filename":"image_08012025_23_13_02_991794_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552711","file1":"1327552709","file0":"1327552708","file3":"1327552713"},"map_files_photo_id_array":[{"photo_id":"1327552711","filename":"file2"},{"photo_id":"1327552709","filename":"file1"},{"photo_id":"1327552708","filename":"file0"},{"photo_id":"1327552713","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552711":["hashtag1","hashtag2"]},{"1327552708":["hashtag1","hashtag2"]},{"1327552713":["hashtag1","hashtag2"]},{"1327552709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552711, 1327552708, 1327552713, 1327552709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99097514152527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:14:22.006905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0003.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0000.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0001.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0003.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0000.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0001.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.937392950057983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:14:42.015547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0003.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0000.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0001.jpg', '/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/13/image_08012025_23_13_02_991794_0003.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0000.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0001.jpg
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552743","1327552737","1327552747","1327552732"],"photo_ids_order":["1327552732","1327552737","1327552743","1327552747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3060fd3cd9e42d7242978fdc932b5ded.jpg","text":"TemporaryFile(/tmp/multipartBody380661980588090300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374552371,"filename":"image_08012025_23_14_02_242178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/006817ef003bb8f94a190f4730880e21.jpg","text":"TemporaryFile(/tmp/multipartBody7331086630958849905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374552371,"filename":"image_08012025_23_14_02_242178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ef133689ed6d8da98bbbb38fdccaa59.jpg","text":"TemporaryFile(/tmp/multipartBody5771522501640103419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374552371,"filename":"image_08012025_23_14_02_242178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c67c1b471178db10e4a1a79b1d4886eb.jpg","text":"TemporaryFile(/tmp/multipartBody8076647552869338581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374552371,"filename":"image_08012025_23_13_02_991794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552743","file1":"1327552737","file0":"1327552732","file3":"1327552747"},"map_files_photo_id_array":[{"photo_id":"1327552743","filename":"file2"},{"photo_id":"1327552737","filename":"file1"},{"photo_id":"1327552732","filename":"file0"},{"photo_id":"1327552747","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552743":["hashtag1","hashtag2"]},{"1327552737":["hashtag1","hashtag2"]},{"1327552747":["hashtag1","hashtag2"]},{"1327552732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552743, 1327552737, 1327552747, 1327552732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20732498168945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:15:22.146052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0003.jpg', '/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0000.jpg', '/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0001.jpg', '/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/14/image_08012025_23_14_02_242178_0003.jpg
/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0000.jpg
/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0001.jpg
/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552770","1327552767","1327552766","1327552768"],"photo_ids_order":["1327552766","1327552767","1327552768","1327552770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5ba1dcd2b3c6f18f71e5f537421ff9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4183503176034988314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374592721,"filename":"image_08012025_23_15_02_413197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1ca41118ee627d9caa71b27b05c42c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2945022701784550630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374592721,"filename":"image_08012025_23_15_02_413197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2665a28e9f030921bdf60eec9b6df51.jpg","text":"TemporaryFile(/tmp/multipartBody1953984776531228662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374592721,"filename":"image_08012025_23_14_02_242178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/46e2550f3bb5dc51595212c310eb844b.jpg","text":"TemporaryFile(/tmp/multipartBody4341745749782980241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374592721,"filename":"image_08012025_23_15_02_413197_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552768","file1":"1327552767","file0":"1327552766","file3":"1327552770"},"map_files_photo_id_array":[{"photo_id":"1327552768","filename":"file2"},{"photo_id":"1327552767","filename":"file1"},{"photo_id":"1327552766","filename":"file0"},{"photo_id":"1327552770","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552770":["hashtag1","hashtag2"]},{"1327552767":["hashtag1","hashtag2"]},{"1327552766":["hashtag1","hashtag2"]},{"1327552768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552770, 1327552767, 1327552766, 1327552768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84489059448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:16:22.362774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0003.jpg', '/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0001.jpg', '/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/15/image_08012025_23_15_02_413197_0003.jpg
/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0001.jpg
/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552785","1327552784","1327552781"],"photo_ids_order":["1327552781","1327552784","1327552785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f76571d3c2a98b354b40858f7d0bca6d.jpg","text":"TemporaryFile(/tmp/multipartBody2887445038948895927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374650388,"filename":"image_08012025_23_16_02_535069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f1e55d39d3014992440a6af07fc82298.jpg","text":"TemporaryFile(/tmp/multipartBody6885359811654888261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374650388,"filename":"image_08012025_23_16_02_535069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/fcb3d0a0bb2662d5a62e58417b2f444f.jpg","text":"TemporaryFile(/tmp/multipartBody881935690885304318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374650388,"filename":"image_08012025_23_15_02_413197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552785","file1":"1327552784","file0":"1327552781"},"map_files_photo_id_array":[{"photo_id":"1327552785","filename":"file2"},{"photo_id":"1327552784","filename":"file1"},{"photo_id":"1327552781","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552785":["hashtag1","hashtag2"]},{"1327552784":["hashtag1","hashtag2"]},{"1327552781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552785, 1327552784, 1327552781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.068824291229248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:17:03.139267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:17:22.697390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0003.jpg', '/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0000.jpg', '/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0001.jpg', '/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/16/image_08012025_23_16_02_535069_0003.jpg
/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0000.jpg
/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0001.jpg
/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552830","1327552832","1327552826","1327552828"],"photo_ids_order":["1327552826","1327552828","1327552830","1327552832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14b71b26643c3cd6c531a1c0cd6c08a3.jpg","text":"TemporaryFile(/tmp/multipartBody4341976268319441160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374713356,"filename":"image_08012025_23_17_02_685314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37aab283cbefbac9e37384ce32381fae.jpg","text":"TemporaryFile(/tmp/multipartBody3463630660448239539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374713356,"filename":"image_08012025_23_17_02_685314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3f35e402da54e31d18126e7d78b69f80.jpg","text":"TemporaryFile(/tmp/multipartBody3235061255022262678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374713356,"filename":"image_08012025_23_16_02_535069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/807acc0fd786f876adc1fb557d8a240f.jpg","text":"TemporaryFile(/tmp/multipartBody5394531390724924787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374713356,"filename":"image_08012025_23_17_02_685314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552830","file1":"1327552828","file0":"1327552826","file3":"1327552832"},"map_files_photo_id_array":[{"photo_id":"1327552830","filename":"file2"},{"photo_id":"1327552828","filename":"file1"},{"photo_id":"1327552826","filename":"file0"},{"photo_id":"1327552832","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552830":["hashtag1","hashtag2"]},{"1327552832":["hashtag1","hashtag2"]},{"1327552826":["hashtag1","hashtag2"]},{"1327552828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552830, 1327552832, 1327552826, 1327552828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59091067314148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:18:03.107963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:18:22.699681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0003.jpg', '/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0000.jpg', '/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0001.jpg', '/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/17/image_08012025_23_17_02_685314_0003.jpg
/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0000.jpg
/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0001.jpg
/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552842","1327552841","1327552844","1327552840"],"photo_ids_order":["1327552840","1327552841","1327552842","1327552844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0e3a1d3db81d04b5bf8e53d8e12b2b96.jpg","text":"TemporaryFile(/tmp/multipartBody8592479181931117043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374773337,"filename":"image_08012025_23_18_03_024949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13da70596ff35545ace16a3b54e10902.jpg","text":"TemporaryFile(/tmp/multipartBody7460614769409964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374773337,"filename":"image_08012025_23_18_03_024949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7bce07512d738b4e86a39b518bc4d300.jpg","text":"TemporaryFile(/tmp/multipartBody3517887275956112936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374773337,"filename":"image_08012025_23_18_03_024949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c6adbc4d800dc0c7b1d05d707744bf1c.jpg","text":"TemporaryFile(/tmp/multipartBody1655677022994819012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374773337,"filename":"image_08012025_23_17_02_685314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552842","file1":"1327552841","file0":"1327552840","file3":"1327552844"},"map_files_photo_id_array":[{"photo_id":"1327552842","filename":"file2"},{"photo_id":"1327552841","filename":"file1"},{"photo_id":"1327552840","filename":"file0"},{"photo_id":"1327552844","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552842":["hashtag1","hashtag2"]},{"1327552841":["hashtag1","hashtag2"]},{"1327552844":["hashtag1","hashtag2"]},{"1327552840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552842, 1327552841, 1327552844, 1327552840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.970824003219604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:19:21.914292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0003.jpg', '/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0000.jpg', '/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0001.jpg', '/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/18/image_08012025_23_18_03_024949_0003.jpg
/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0000.jpg
/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0001.jpg
/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552857","1327552862","1327552859","1327552861"],"photo_ids_order":["1327552857","1327552859","1327552861","1327552862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2263ba39d7c098cff786e4a793461b93.jpg","text":"TemporaryFile(/tmp/multipartBody2059506074135098127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374832607,"filename":"image_08012025_23_18_03_024949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/716bac948a360266b14a3917dfc4383d.jpg","text":"TemporaryFile(/tmp/multipartBody6102309735039313197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374832607,"filename":"image_08012025_23_19_03_103313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a828c372a25dafa45c3bc48daff2a5de.jpg","text":"TemporaryFile(/tmp/multipartBody3808068566654237585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374832607,"filename":"image_08012025_23_19_03_103313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/69456aa81a4956cf98daff4fc2e518b0.jpg","text":"TemporaryFile(/tmp/multipartBody4053637441698933702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374832607,"filename":"image_08012025_23_19_03_103313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552861","file1":"1327552859","file0":"1327552857","file3":"1327552862"},"map_files_photo_id_array":[{"photo_id":"1327552861","filename":"file2"},{"photo_id":"1327552859","filename":"file1"},{"photo_id":"1327552857","filename":"file0"},{"photo_id":"1327552862","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552857":["hashtag1","hashtag2"]},{"1327552862":["hashtag1","hashtag2"]},{"1327552859":["hashtag1","hashtag2"]},{"1327552861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552857, 1327552862, 1327552859, 1327552861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.64623832702637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:20:22.127206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0003.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0000.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0001.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0003.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0000.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0001.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.01364016532898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:20:42.095693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0003.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0000.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0001.jpg', '/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/19/image_08012025_23_19_03_103313_0003.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0000.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0001.jpg
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552881","1327552877","1327552876","1327552879"],"photo_ids_order":["1327552876","1327552877","1327552879","1327552881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2d686cf6c30b28995436159e8993067e.jpg","text":"TemporaryFile(/tmp/multipartBody8093427929567239259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374912512,"filename":"image_08012025_23_20_02_244611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3d42d9144e404ebf5055845e0cc590f8.jpg","text":"TemporaryFile(/tmp/multipartBody1727185012802453363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374912512,"filename":"image_08012025_23_20_02_244611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85f93e0c0f2393e53000b356f2fe3c76.jpg","text":"TemporaryFile(/tmp/multipartBody1890494278032765266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374912512,"filename":"image_08012025_23_19_03_103313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b6bc554c10856b8028436bad2fc12ba.jpg","text":"TemporaryFile(/tmp/multipartBody6467307480142486432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374912512,"filename":"image_08012025_23_20_02_244611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552879","file1":"1327552877","file0":"1327552876","file3":"1327552881"},"map_files_photo_id_array":[{"photo_id":"1327552879","filename":"file2"},{"photo_id":"1327552877","filename":"file1"},{"photo_id":"1327552876","filename":"file0"},{"photo_id":"1327552881","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552881":["hashtag1","hashtag2"]},{"1327552877":["hashtag1","hashtag2"]},{"1327552876":["hashtag1","hashtag2"]},{"1327552879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552881, 1327552877, 1327552876, 1327552879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45748734474182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:21:32.363879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0003.jpg', '/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0000.jpg', '/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0001.jpg', '/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/20/image_08012025_23_20_02_244611_0003.jpg
/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0000.jpg
/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0001.jpg
/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552890","1327552892","1327552891","1327552888"],"photo_ids_order":["1327552888","1327552890","1327552891","1327552892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e3fe34499b7cddc5ded3012563aab51a.jpg","text":"TemporaryFile(/tmp/multipartBody8385215798472767763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374962795,"filename":"image_08012025_23_21_02_469527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/da8d0bcc5fc6c1a6a6ea8f73d63af217.jpg","text":"TemporaryFile(/tmp/multipartBody2504079086553687454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374962795,"filename":"image_08012025_23_21_02_469527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e75864978d45c76491ae57953b36ea58.jpg","text":"TemporaryFile(/tmp/multipartBody2593717808844320680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374962795,"filename":"image_08012025_23_21_02_469527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/9b0dfc8b668cdcddb8228bee3c3836f3.jpg","text":"TemporaryFile(/tmp/multipartBody6809065126683248731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736374962795,"filename":"image_08012025_23_20_02_244611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552891","file1":"1327552890","file0":"1327552888","file3":"1327552892"},"map_files_photo_id_array":[{"photo_id":"1327552891","filename":"file2"},{"photo_id":"1327552890","filename":"file1"},{"photo_id":"1327552888","filename":"file0"},{"photo_id":"1327552892","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552890":["hashtag1","hashtag2"]},{"1327552892":["hashtag1","hashtag2"]},{"1327552891":["hashtag1","hashtag2"]},{"1327552888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552890, 1327552892, 1327552891, 1327552888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.42270588874817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:22:22.592683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0003.jpg', '/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0000.jpg', '/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0001.jpg', '/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/21/image_08012025_23_21_02_469527_0003.jpg
/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0000.jpg
/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0001.jpg
/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327552920","1327552902","1327552901","1327552904"],"photo_ids_order":["1327552901","1327552902","1327552904","1327552920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/858e432fdfead080ea34d04c5e5f7492.jpg","text":"TemporaryFile(/tmp/multipartBody2453452355415379186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375013098,"filename":"image_08012025_23_22_02_736436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c7a04c6b84fe206b05304cb7af062ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7237569790324177306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375013098,"filename":"image_08012025_23_22_02_736436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f759e257c2c09bd0f9f8fb8fe0239b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5254828398466308683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375013098,"filename":"image_08012025_23_21_02_469527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/180255fe37cc0be119dc017197d9a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody31346829758271186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375013098,"filename":"image_08012025_23_22_02_736436_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552904","file1":"1327552902","file0":"1327552901","file3":"1327552920"},"map_files_photo_id_array":[{"photo_id":"1327552904","filename":"file2"},{"photo_id":"1327552902","filename":"file1"},{"photo_id":"1327552901","filename":"file0"},{"photo_id":"1327552920","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327552920":["hashtag1","hashtag2"]},{"1327552902":["hashtag1","hashtag2"]},{"1327552901":["hashtag1","hashtag2"]},{"1327552904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327552920, 1327552902, 1327552901, 1327552904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74272704124451 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-08 23:23:22.761003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0003.jpg', '/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0000.jpg', '/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0001.jpg', '/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/22/image_08012025_23_22_02_736436_0003.jpg
/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0000.jpg
/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0001.jpg
/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327553010","1327552983","1327552965","1327552964"],"photo_ids_order":["1327552964","1327552965","1327552983","1327553010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/35303ef4f245b78c579dabd707646546.jpg","text":"TemporaryFile(/tmp/multipartBody3544616222590866346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375073108,"filename":"image_08012025_23_23_02_907929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e748e4528e2f0e9b6f7d51851c8e5989.jpg","text":"TemporaryFile(/tmp/multipartBody5579619879290707688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375073108,"filename":"image_08012025_23_23_02_907929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1af1d78eb9508106179b1da6a62572b7.jpg","text":"TemporaryFile(/tmp/multipartBody5337434935736061379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375073108,"filename":"image_08012025_23_23_02_907929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1053b6b2237febf7048361148f7fc064.jpg","text":"TemporaryFile(/tmp/multipartBody2152631350495305554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375073108,"filename":"image_08012025_23_22_02_736436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327552983","file1":"1327552965","file0":"1327552964","file3":"1327553010"},"map_files_photo_id_array":[{"photo_id":"1327552983","filename":"file2"},{"photo_id":"1327552965","filename":"file1"},{"photo_id":"1327552964","filename":"file0"},{"photo_id":"1327553010","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327553010":["hashtag1","hashtag2"]},{"1327552983":["hashtag1","hashtag2"]},{"1327552965":["hashtag1","hashtag2"]},{"1327552964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327553010, 1327552983, 1327552965, 1327552964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.383564472198486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:24:22.021716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0003.jpg', '/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0000.jpg', '/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0001.jpg', '/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/23/image_08012025_23_23_02_907929_0003.jpg
/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0000.jpg
/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0001.jpg
/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327553022","1327553019","1327553024","1327553020"],"photo_ids_order":["1327553019","1327553020","1327553022","1327553024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/000ed61e282a75d76b7937c546af9b77.jpg","text":"TemporaryFile(/tmp/multipartBody6876038871773410020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375132542,"filename":"image_08012025_23_24_03_166750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/04f752531e68bbdd3cd1944278026145.jpg","text":"TemporaryFile(/tmp/multipartBody8069579555814607315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375132542,"filename":"image_08012025_23_23_02_907929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f94b6a89a84dce42732ea318c7028021.jpg","text":"TemporaryFile(/tmp/multipartBody360274147193670192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375132542,"filename":"image_08012025_23_24_03_166750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/1f0b1e1fa82b5a08184bf732c14a0479.jpg","text":"TemporaryFile(/tmp/multipartBody7331876289627049190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375132542,"filename":"image_08012025_23_24_03_166750_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327553022","file1":"1327553020","file0":"1327553019","file3":"1327553024"},"map_files_photo_id_array":[{"photo_id":"1327553022","filename":"file2"},{"photo_id":"1327553020","filename":"file1"},{"photo_id":"1327553019","filename":"file0"},{"photo_id":"1327553024","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327553022":["hashtag1","hashtag2"]},{"1327553019":["hashtag1","hashtag2"]},{"1327553024":["hashtag1","hashtag2"]},{"1327553020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327553022, 1327553019, 1327553024, 1327553020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.15669274330139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:25:22.255244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0003.jpg', '/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0000.jpg', '/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0001.jpg', '/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/24/image_08012025_23_24_03_166750_0003.jpg
/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0000.jpg
/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0001.jpg
/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327553040","1327553042","1327553038","1327553035"],"photo_ids_order":["1327553035","1327553038","1327553040","1327553042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8b6b68ef5526162bb0665b9863b1e682.jpg","text":"TemporaryFile(/tmp/multipartBody6485253407696390445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375192514,"filename":"image_08012025_23_25_02_335646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e53328f7b8a5fecbcf29e53131ec1650.jpg","text":"TemporaryFile(/tmp/multipartBody9017885417527253948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375192514,"filename":"image_08012025_23_25_02_335646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a02b672c0bf21b15deda93a78ed3b29.jpg","text":"TemporaryFile(/tmp/multipartBody9134616651690804479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375192514,"filename":"image_08012025_23_25_02_335646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c1815018f18df1cbd84a250937536762.jpg","text":"TemporaryFile(/tmp/multipartBody438910700194760702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375192514,"filename":"image_08012025_23_24_03_166750_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327553040","file1":"1327553038","file0":"1327553035","file3":"1327553042"},"map_files_photo_id_array":[{"photo_id":"1327553040","filename":"file2"},{"photo_id":"1327553038","filename":"file1"},{"photo_id":"1327553035","filename":"file0"},{"photo_id":"1327553042","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327553040":["hashtag1","hashtag2"]},{"1327553042":["hashtag1","hashtag2"]},{"1327553038":["hashtag1","hashtag2"]},{"1327553035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327553040, 1327553042, 1327553038, 1327553035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64721727371216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:26:22.385244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0003.jpg', '/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0000.jpg', '/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0003.jpg
/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0000.jpg
/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_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.565808534622192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:26:32.366520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0003.jpg', '/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0000.jpg', '/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/25/image_08012025_23_25_02_335646_0003.jpg
/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0000.jpg
/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_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":["1327553147","1327553057","1327553116"],"photo_ids_order":["1327553057","1327553116","1327553147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3c0359d619f0bd3edabeb1248cb12c41.jpg","text":"TemporaryFile(/tmp/multipartBody1497188086904122621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375260317,"filename":"image_08012025_23_26_02_573720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4cd1c9d5021c6b5beb0e9ad99588c785.jpg","text":"TemporaryFile(/tmp/multipartBody4792443302689088073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375260317,"filename":"image_08012025_23_25_02_335646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b141ad9f4e505f1b7757aba779d98d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7177792137302690803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375260317,"filename":"image_08012025_23_26_02_573720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327553147","file1":"1327553116","file0":"1327553057"},"map_files_photo_id_array":[{"photo_id":"1327553147","filename":"file2"},{"photo_id":"1327553116","filename":"file1"},{"photo_id":"1327553057","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327553147":["hashtag1","hashtag2"]},{"1327553057":["hashtag1","hashtag2"]},{"1327553116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327553147, 1327553057, 1327553116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.36932730674744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:27:22.652310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0003.jpg', '/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0000.jpg', '/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0001.jpg', '/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/26/image_08012025_23_26_02_573720_0003.jpg
/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0000.jpg
/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0001.jpg
/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327553757","1327553844","1327553929","1327553691"],"photo_ids_order":["1327553691","1327553757","1327553844","1327553929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b3f5390098d5647d56a98d5d9720a2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7349599027786195415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375313196,"filename":"image_08012025_23_27_02_702978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7f657a441ba774b4d74e75dfe5a8183f.jpg","text":"TemporaryFile(/tmp/multipartBody8205918532795276178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375313196,"filename":"image_08012025_23_27_02_702978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85771049319f35d63a4b1acc94b2c801.jpg","text":"TemporaryFile(/tmp/multipartBody6240957960650549715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375313196,"filename":"image_08012025_23_27_02_702978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/817b39d1f82702730746636cdb552cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4154536052902424259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375313196,"filename":"image_08012025_23_26_02_573720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327553844","file1":"1327553757","file0":"1327553691","file3":"1327553929"},"map_files_photo_id_array":[{"photo_id":"1327553844","filename":"file2"},{"photo_id":"1327553757","filename":"file1"},{"photo_id":"1327553691","filename":"file0"},{"photo_id":"1327553929","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327553757":["hashtag1","hashtag2"]},{"1327553844":["hashtag1","hashtag2"]},{"1327553929":["hashtag1","hashtag2"]},{"1327553691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327553757, 1327553844, 1327553929, 1327553691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10460114479065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:28:03.116963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:28:22.648202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0003.jpg', '/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0000.jpg', '/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0001.jpg', '/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/27/image_08012025_23_27_02_702978_0003.jpg
/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0000.jpg
/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0001.jpg
/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554086","1327554079","1327554081","1327554084"],"photo_ids_order":["1327554079","1327554081","1327554084","1327554086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cc046d34bc418c477a9682cacbf4203f.jpg","text":"TemporaryFile(/tmp/multipartBody6855460376293304652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375373006,"filename":"image_08012025_23_28_02_900469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/509a97d7a6c181b4bf8f190e5d23eb3c.jpg","text":"TemporaryFile(/tmp/multipartBody5101273087372709790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375373006,"filename":"image_08012025_23_27_02_702978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/94f685699e6c76276a353445c580f458.jpg","text":"TemporaryFile(/tmp/multipartBody1164345478406072816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375373006,"filename":"image_08012025_23_28_02_900469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c878893e5ecb37bc5840ced91c1f5964.jpg","text":"TemporaryFile(/tmp/multipartBody1929764048955225771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375373006,"filename":"image_08012025_23_28_02_900469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554084","file1":"1327554081","file0":"1327554079","file3":"1327554086"},"map_files_photo_id_array":[{"photo_id":"1327554084","filename":"file2"},{"photo_id":"1327554081","filename":"file1"},{"photo_id":"1327554079","filename":"file0"},{"photo_id":"1327554086","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554086":["hashtag1","hashtag2"]},{"1327554079":["hashtag1","hashtag2"]},{"1327554081":["hashtag1","hashtag2"]},{"1327554084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554086, 1327554079, 1327554081, 1327554084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77550029754639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:29:21.882247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0003.jpg', '/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0001.jpg', '/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/28/image_08012025_23_28_02_900469_0003.jpg
/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0001.jpg
/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554105","1327554104","1327554101"],"photo_ids_order":["1327554101","1327554104","1327554105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e37a2f9c55467e346d841a64739075d.jpg","text":"TemporaryFile(/tmp/multipartBody1054089374195503191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375429912,"filename":"image_08012025_23_29_02_999744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/236a3f03e82c926564c193095a809bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3015288173958360106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375429912,"filename":"image_08012025_23_29_02_999744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7ddb2410b9ce0c1aadf65993d63dd286.jpg","text":"TemporaryFile(/tmp/multipartBody5835940036124709484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375429912,"filename":"image_08012025_23_28_02_900469_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554105","file1":"1327554104","file0":"1327554101"},"map_files_photo_id_array":[{"photo_id":"1327554105","filename":"file2"},{"photo_id":"1327554104","filename":"file1"},{"photo_id":"1327554101","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554105":["hashtag1","hashtag2"]},{"1327554104":["hashtag1","hashtag2"]},{"1327554101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554105, 1327554104, 1327554101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.70294952392578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:30:02.462050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:30:22.128100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0003.jpg', '/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0000.jpg', '/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0001.jpg', '/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/29/image_08012025_23_29_02_999744_0003.jpg
/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0000.jpg
/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0001.jpg
/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554120","1327554117","1327554122","1327554115"],"photo_ids_order":["1327554115","1327554117","1327554120","1327554122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/63343d492d2570513f856f1b23d4e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody2780880975674206292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375492661,"filename":"image_08012025_23_30_02_217588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/bba2fdf454573b650a6bd8886966bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody8857148694882078687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375492661,"filename":"image_08012025_23_30_02_217588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a53e43504f86b7e24c3c6cce9b439de.jpg","text":"TemporaryFile(/tmp/multipartBody4625731102739466789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375492661,"filename":"image_08012025_23_30_02_217588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11231e357e66bfc068d218f554cc7be0.jpg","text":"TemporaryFile(/tmp/multipartBody8781825019886632297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375492661,"filename":"image_08012025_23_29_02_999744_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554120","file1":"1327554117","file0":"1327554115","file3":"1327554122"},"map_files_photo_id_array":[{"photo_id":"1327554120","filename":"file2"},{"photo_id":"1327554117","filename":"file1"},{"photo_id":"1327554115","filename":"file0"},{"photo_id":"1327554122","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554120":["hashtag1","hashtag2"]},{"1327554117":["hashtag1","hashtag2"]},{"1327554122":["hashtag1","hashtag2"]},{"1327554115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554120, 1327554117, 1327554122, 1327554115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83550763130188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:31:22.273898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0003.jpg', '/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0000.jpg', '/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0001.jpg', '/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/30/image_08012025_23_30_02_217588_0003.jpg
/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0000.jpg
/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0001.jpg
/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554135","1327554131","1327554133","1327554130"],"photo_ids_order":["1327554130","1327554131","1327554133","1327554135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11aa6f45948376a8c945c97fb35bb107.jpg","text":"TemporaryFile(/tmp/multipartBody1264813061720509198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375552711,"filename":"image_08012025_23_31_02_430150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a346a6076fa0279c99cb171e6068677d.jpg","text":"TemporaryFile(/tmp/multipartBody5191662647426038672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375552711,"filename":"image_08012025_23_31_02_430150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d46c52a1ff1e474a786a2c0c4069d6bd.jpg","text":"TemporaryFile(/tmp/multipartBody8200603530302142935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375552711,"filename":"image_08012025_23_31_02_430150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4e174e3f999b5a2a089720f869d6c810.jpg","text":"TemporaryFile(/tmp/multipartBody1210546596650816316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375552711,"filename":"image_08012025_23_30_02_217588_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554133","file1":"1327554131","file0":"1327554130","file3":"1327554135"},"map_files_photo_id_array":[{"photo_id":"1327554133","filename":"file2"},{"photo_id":"1327554131","filename":"file1"},{"photo_id":"1327554130","filename":"file0"},{"photo_id":"1327554135","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554135":["hashtag1","hashtag2"]},{"1327554131":["hashtag1","hashtag2"]},{"1327554133":["hashtag1","hashtag2"]},{"1327554130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554135, 1327554131, 1327554133, 1327554130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.87053894996643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:32:22.403003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0003.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0000.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0001.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0003.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0000.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0001.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.099299669265747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:32:42.544533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0003.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0000.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0001.jpg', '/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/31/image_08012025_23_31_02_430150_0003.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0000.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0001.jpg
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554275","1327554476","1327554358","1327554250"],"photo_ids_order":["1327554250","1327554275","1327554358","1327554476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3862eac3adaf47ff1817ffa4ac11b078.jpg","text":"TemporaryFile(/tmp/multipartBody406758528120245373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375633068,"filename":"image_08012025_23_32_02_581095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/66ffec03a20f48368ac7a2e379147449.jpg","text":"TemporaryFile(/tmp/multipartBody7514237337098939540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375633068,"filename":"image_08012025_23_32_02_581095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e6855aa031bb04faded1ac93034fe6fd.jpg","text":"TemporaryFile(/tmp/multipartBody7533785531958441517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375633068,"filename":"image_08012025_23_32_02_581095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/600882f4b2a40f7e738f6b056b296c4f.jpg","text":"TemporaryFile(/tmp/multipartBody9212466842562584054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375633068,"filename":"image_08012025_23_31_02_430150_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554358","file1":"1327554275","file0":"1327554250","file3":"1327554476"},"map_files_photo_id_array":[{"photo_id":"1327554358","filename":"file2"},{"photo_id":"1327554275","filename":"file1"},{"photo_id":"1327554250","filename":"file0"},{"photo_id":"1327554476","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554275":["hashtag1","hashtag2"]},{"1327554476":["hashtag1","hashtag2"]},{"1327554358":["hashtag1","hashtag2"]},{"1327554250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554275, 1327554476, 1327554358, 1327554250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.330050468444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:33:22.652680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0003.jpg', '/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0000.jpg', '/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0001.jpg', '/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/32/image_08012025_23_32_02_581095_0003.jpg
/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0000.jpg
/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0001.jpg
/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554525","1327554527","1327554515","1327554530"],"photo_ids_order":["1327554515","1327554525","1327554527","1327554530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/be781f318b7df301a65bfa2fd09fa7ab.jpg","text":"TemporaryFile(/tmp/multipartBody1304638706029530959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375673183,"filename":"image_08012025_23_33_02_779976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c05aaad5006167194bee4895b062dd32.jpg","text":"TemporaryFile(/tmp/multipartBody4373822215446442514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375673183,"filename":"image_08012025_23_33_02_779976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/89b5118e3b9ce1d429d2d6d2cf4d124d.jpg","text":"TemporaryFile(/tmp/multipartBody174146852117027265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375673183,"filename":"image_08012025_23_32_02_581095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/80e06fe2910c1d32c2d24fe15d7a1682.jpg","text":"TemporaryFile(/tmp/multipartBody4916535239774150891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375673183,"filename":"image_08012025_23_33_02_779976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554527","file1":"1327554525","file0":"1327554515","file3":"1327554530"},"map_files_photo_id_array":[{"photo_id":"1327554527","filename":"file2"},{"photo_id":"1327554525","filename":"file1"},{"photo_id":"1327554515","filename":"file0"},{"photo_id":"1327554530","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554525":["hashtag1","hashtag2"]},{"1327554527":["hashtag1","hashtag2"]},{"1327554515":["hashtag1","hashtag2"]},{"1327554530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554525, 1327554527, 1327554515, 1327554530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.39109134674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:34:21.882533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0003.jpg', '/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0000.jpg', '/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0001.jpg', '/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/33/image_08012025_23_33_02_779976_0003.jpg
/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0000.jpg
/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0001.jpg
/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554580","1327554583","1327554585","1327554537"],"photo_ids_order":["1327554537","1327554580","1327554583","1327554585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/441767776857799408b5f9d66dfe9f91.jpg","text":"TemporaryFile(/tmp/multipartBody5360851321271846605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375732491,"filename":"image_08012025_23_34_02_990474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/13b4ec20464305acc15a8a0679aad864.jpg","text":"TemporaryFile(/tmp/multipartBody856626242787792664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375732491,"filename":"image_08012025_23_34_02_990474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4ac65df4086fde2f2968580ba6112cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6397818392037011483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375732491,"filename":"image_08012025_23_34_02_990474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a3b269f50df36765de978ecdac9b4137.jpg","text":"TemporaryFile(/tmp/multipartBody3606775313642046798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375732491,"filename":"image_08012025_23_33_02_779976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554583","file1":"1327554580","file0":"1327554537","file3":"1327554585"},"map_files_photo_id_array":[{"photo_id":"1327554583","filename":"file2"},{"photo_id":"1327554580","filename":"file1"},{"photo_id":"1327554537","filename":"file0"},{"photo_id":"1327554585","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554580":["hashtag1","hashtag2"]},{"1327554583":["hashtag1","hashtag2"]},{"1327554585":["hashtag1","hashtag2"]},{"1327554537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554580, 1327554583, 1327554585, 1327554537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18127942085266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:35:22.012230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0003.jpg', '/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0000.jpg', '/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0001.jpg', '/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/34/image_08012025_23_34_02_990474_0003.jpg
/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0000.jpg
/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0001.jpg
/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554627","1327554592","1327554597","1327554594"],"photo_ids_order":["1327554592","1327554594","1327554597","1327554627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7dfa9287b92d4505093d69e8db8a3ff3.jpg","text":"TemporaryFile(/tmp/multipartBody640124315101149019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375792402,"filename":"image_08012025_23_35_02_177510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/156217a528c5b3715ceda5060b8a6789.jpg","text":"TemporaryFile(/tmp/multipartBody8178508015302213059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375792402,"filename":"image_08012025_23_34_02_990474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/41656bbc85074ab2f1dd6aba539e261f.jpg","text":"TemporaryFile(/tmp/multipartBody7882177494822869574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375792402,"filename":"image_08012025_23_35_02_177510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/109bbb662f53a40b5691c5ef4072119f.jpg","text":"TemporaryFile(/tmp/multipartBody5037931671439579177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375792402,"filename":"image_08012025_23_35_02_177510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554597","file1":"1327554594","file0":"1327554592","file3":"1327554627"},"map_files_photo_id_array":[{"photo_id":"1327554597","filename":"file2"},{"photo_id":"1327554594","filename":"file1"},{"photo_id":"1327554592","filename":"file0"},{"photo_id":"1327554627","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554627":["hashtag1","hashtag2"]},{"1327554592":["hashtag1","hashtag2"]},{"1327554597":["hashtag1","hashtag2"]},{"1327554594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554627, 1327554592, 1327554597, 1327554594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.904309034347534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:36:02.524776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:36:22.202691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0003.jpg', '/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0000.jpg', '/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0001.jpg', '/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/35/image_08012025_23_35_02_177510_0003.jpg
/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0000.jpg
/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0001.jpg
/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554689","1327554691","1327554694","1327554690"],"photo_ids_order":["1327554689","1327554690","1327554691","1327554694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/900060004067ebfae3c3aaafa773d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody8937034402083064180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375852737,"filename":"image_08012025_23_35_02_177510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0135217c2705bff09a6163683dc824fa.jpg","text":"TemporaryFile(/tmp/multipartBody8872645961389584559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375852737,"filename":"image_08012025_23_36_02_350831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c94a28c4fedf692d4a7a2739a8df28e.jpg","text":"TemporaryFile(/tmp/multipartBody2495863574082545109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375852737,"filename":"image_08012025_23_36_02_350831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6075e3500540e1c4889efbacd712321a.jpg","text":"TemporaryFile(/tmp/multipartBody66308946963759730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375852737,"filename":"image_08012025_23_36_02_350831_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554691","file1":"1327554690","file0":"1327554689","file3":"1327554694"},"map_files_photo_id_array":[{"photo_id":"1327554691","filename":"file2"},{"photo_id":"1327554690","filename":"file1"},{"photo_id":"1327554689","filename":"file0"},{"photo_id":"1327554694","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554689":["hashtag1","hashtag2"]},{"1327554691":["hashtag1","hashtag2"]},{"1327554694":["hashtag1","hashtag2"]},{"1327554690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554689, 1327554691, 1327554694, 1327554690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.45137095451355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:37:22.340087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0003.jpg', '/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0000.jpg', '/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0001.jpg', '/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/36/image_08012025_23_36_02_350831_0003.jpg
/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0000.jpg
/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0001.jpg
/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554717","1327554713","1327554716","1327554715"],"photo_ids_order":["1327554713","1327554715","1327554716","1327554717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d346c504c4d090eac8278753f9df06a3.jpg","text":"TemporaryFile(/tmp/multipartBody7283947978203048597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375912661,"filename":"image_08012025_23_37_02_493231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10b703fa2b17be36134baa62c7936b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4489967361357550759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375912661,"filename":"image_08012025_23_36_02_350831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e7d66044931850fd309445f7ae5579e8.jpg","text":"TemporaryFile(/tmp/multipartBody684379405670009459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375912661,"filename":"image_08012025_23_37_02_493231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0c781542d8ea86613d3da8b544db6d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7544451611833770419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375912661,"filename":"image_08012025_23_37_02_493231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554716","file1":"1327554715","file0":"1327554713","file3":"1327554717"},"map_files_photo_id_array":[{"photo_id":"1327554716","filename":"file2"},{"photo_id":"1327554715","filename":"file1"},{"photo_id":"1327554713","filename":"file0"},{"photo_id":"1327554717","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554717":["hashtag1","hashtag2"]},{"1327554713":["hashtag1","hashtag2"]},{"1327554716":["hashtag1","hashtag2"]},{"1327554715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554717, 1327554713, 1327554716, 1327554715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99347949028015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:38:22.583405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0003.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0000.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0001.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0003.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0000.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0001.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.048179626464844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:38:42.622509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0003.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0000.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0001.jpg', '/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/37/image_08012025_23_37_02_493231_0003.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0000.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0001.jpg
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554738","1327554740","1327554742","1327554739"],"photo_ids_order":["1327554738","1327554739","1327554740","1327554742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/843e18905bc4e4b6b0a45357519945e3.jpg","text":"TemporaryFile(/tmp/multipartBody3592737982465514792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375993092,"filename":"image_08012025_23_37_02_493231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/353f78b142152025ae95d71f2a332a39.jpg","text":"TemporaryFile(/tmp/multipartBody6996690451790276638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375993092,"filename":"image_08012025_23_38_02_750425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/14d5cb088de4a81e7d1602ebd20b62c3.jpg","text":"TemporaryFile(/tmp/multipartBody2774403139253799087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375993092,"filename":"image_08012025_23_38_02_750425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e261f2ded4467448e3ce1a28ba7cba11.jpg","text":"TemporaryFile(/tmp/multipartBody692509637321264114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736375993092,"filename":"image_08012025_23_38_02_750425_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554740","file1":"1327554739","file0":"1327554738","file3":"1327554742"},"map_files_photo_id_array":[{"photo_id":"1327554740","filename":"file2"},{"photo_id":"1327554739","filename":"file1"},{"photo_id":"1327554738","filename":"file0"},{"photo_id":"1327554742","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554738":["hashtag1","hashtag2"]},{"1327554740":["hashtag1","hashtag2"]},{"1327554742":["hashtag1","hashtag2"]},{"1327554739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554738, 1327554740, 1327554742, 1327554739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.396612882614136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:39:22.708168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0003.jpg', '/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0000.jpg', '/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0001.jpg', '/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/38/image_08012025_23_38_02_750425_0003.jpg
/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0000.jpg
/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0001.jpg
/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554773","1327554760","1327554751","1327554753"],"photo_ids_order":["1327554751","1327554753","1327554760","1327554773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79f297a654bb09134d00681063c879ee.jpg","text":"TemporaryFile(/tmp/multipartBody7273721614106195206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376033203,"filename":"image_08012025_23_39_02_883002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/315595c2d79639db3519df1ce4be12be.jpg","text":"TemporaryFile(/tmp/multipartBody5370357545929454018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376033203,"filename":"image_08012025_23_39_02_883002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/85760dbc0995581730b46171349ae2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1184142136661092897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376033203,"filename":"image_08012025_23_38_02_750425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/51537845dc4a0fa9409bef6b647445a6.jpg","text":"TemporaryFile(/tmp/multipartBody5528957025006896780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376033203,"filename":"image_08012025_23_39_02_883002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554760","file1":"1327554753","file0":"1327554751","file3":"1327554773"},"map_files_photo_id_array":[{"photo_id":"1327554760","filename":"file2"},{"photo_id":"1327554753","filename":"file1"},{"photo_id":"1327554751","filename":"file0"},{"photo_id":"1327554773","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554773":["hashtag1","hashtag2"]},{"1327554760":["hashtag1","hashtag2"]},{"1327554751":["hashtag1","hashtag2"]},{"1327554753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554773, 1327554760, 1327554751, 1327554753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6423659324646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:40:21.941033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0003.jpg', '/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0000.jpg', '/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0001.jpg', '/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/39/image_08012025_23_39_02_883002_0003.jpg
/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0000.jpg
/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0001.jpg
/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554822","1327554824","1327554820","1327554826"],"photo_ids_order":["1327554820","1327554822","1327554824","1327554826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2736f855edab7785a4143eb70a45210b.jpg","text":"TemporaryFile(/tmp/multipartBody3359865748089310728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376092426,"filename":"image_08012025_23_40_03_052817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/afbbce88bc817d9028cb4ae792bf88ef.jpg","text":"TemporaryFile(/tmp/multipartBody508198252523332556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376092426,"filename":"image_08012025_23_40_03_052817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10450f9c16e29f27c72c3a40bfb35c95.jpg","text":"TemporaryFile(/tmp/multipartBody6622072237671214913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376092426,"filename":"image_08012025_23_39_02_883002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3766b9faea67b564afa2efeb888f6d2b.jpg","text":"TemporaryFile(/tmp/multipartBody136164115868458517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376092426,"filename":"image_08012025_23_40_03_052817_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554824","file1":"1327554822","file0":"1327554820","file3":"1327554826"},"map_files_photo_id_array":[{"photo_id":"1327554824","filename":"file2"},{"photo_id":"1327554822","filename":"file1"},{"photo_id":"1327554820","filename":"file0"},{"photo_id":"1327554826","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554822":["hashtag1","hashtag2"]},{"1327554824":["hashtag1","hashtag2"]},{"1327554820":["hashtag1","hashtag2"]},{"1327554826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554822, 1327554824, 1327554820, 1327554826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51576828956604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:41:22.200964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0003.jpg', '/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0000.jpg', '/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/40/image_08012025_23_40_03_052817_0003.jpg
/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0000.jpg
/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554833","1327554832","1327554834"],"photo_ids_order":["1327554832","1327554833","1327554834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/448af86a992c84f9d110d23175ddd754.jpg","text":"TemporaryFile(/tmp/multipartBody891279678688358744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376150100,"filename":"image_08012025_23_41_02_312260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/26865c02cbfac8d3a42414b6ce55c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody5261262493330754358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376150100,"filename":"image_08012025_23_40_03_052817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/cd9d65106d5fd2e3c2932a46b357dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5335520141296708640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376150100,"filename":"image_08012025_23_41_02_312260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554834","file1":"1327554833","file0":"1327554832"},"map_files_photo_id_array":[{"photo_id":"1327554834","filename":"file2"},{"photo_id":"1327554833","filename":"file1"},{"photo_id":"1327554832","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554833":["hashtag1","hashtag2"]},{"1327554832":["hashtag1","hashtag2"]},{"1327554834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554833, 1327554832, 1327554834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.60794186592102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:42:02.836131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:42:22.417033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0003.jpg', '/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0000.jpg', '/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0001.jpg', '/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/41/image_08012025_23_41_02_312260_0003.jpg
/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0000.jpg
/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0001.jpg
/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554848","1327554847","1327554850","1327554844"],"photo_ids_order":["1327554844","1327554847","1327554848","1327554850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/848abf21087540db0df00a3217791040.jpg","text":"TemporaryFile(/tmp/multipartBody8663536147497021289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376212436,"filename":"image_08012025_23_42_02_525133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/27d321158faf5279209ed019a1221f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3901420393315948339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376212436,"filename":"image_08012025_23_42_02_525133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2c90e9f9f731ae4e49d786350903dfb3.jpg","text":"TemporaryFile(/tmp/multipartBody7576127779051520241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376212436,"filename":"image_08012025_23_42_02_525133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b82ef4121933a61cd7d45baf1c889f04.jpg","text":"TemporaryFile(/tmp/multipartBody4748854354574637352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376212436,"filename":"image_08012025_23_41_02_312260_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554848","file1":"1327554847","file0":"1327554844","file3":"1327554850"},"map_files_photo_id_array":[{"photo_id":"1327554848","filename":"file2"},{"photo_id":"1327554847","filename":"file1"},{"photo_id":"1327554844","filename":"file0"},{"photo_id":"1327554850","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554848":["hashtag1","hashtag2"]},{"1327554847":["hashtag1","hashtag2"]},{"1327554850":["hashtag1","hashtag2"]},{"1327554844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554848, 1327554847, 1327554850, 1327554844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.553385496139526 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-08 23:43:22.570428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0003.jpg', '/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0000.jpg', '/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0001.jpg', '/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/42/image_08012025_23_42_02_525133_0003.jpg
/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0000.jpg
/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0001.jpg
/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554869","1327554868","1327554861","1327554864"],"photo_ids_order":["1327554861","1327554864","1327554868","1327554869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/c94cf1814543a23ed9f65637d1aa5a32.jpg","text":"TemporaryFile(/tmp/multipartBody6066576674420571380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376272956,"filename":"image_08012025_23_43_02_772534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d89299b012b944e995aadbae6fe5e49e.jpg","text":"TemporaryFile(/tmp/multipartBody4929439386737364100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376272956,"filename":"image_08012025_23_43_02_772534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b7b2b625958b0b141016195a1fcd4f26.jpg","text":"TemporaryFile(/tmp/multipartBody476841996445847263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376272956,"filename":"image_08012025_23_42_02_525133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/eb07d52b3589af513414c113474178f3.jpg","text":"TemporaryFile(/tmp/multipartBody6815474156306011846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376272956,"filename":"image_08012025_23_43_02_772534_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554868","file1":"1327554864","file0":"1327554861","file3":"1327554869"},"map_files_photo_id_array":[{"photo_id":"1327554868","filename":"file2"},{"photo_id":"1327554864","filename":"file1"},{"photo_id":"1327554861","filename":"file0"},{"photo_id":"1327554869","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554869":["hashtag1","hashtag2"]},{"1327554868":["hashtag1","hashtag2"]},{"1327554861":["hashtag1","hashtag2"]},{"1327554864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554869, 1327554868, 1327554861, 1327554864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12590527534485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:44:22.765405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0003.jpg', '/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0000.jpg', '/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0001.jpg', '/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/43/image_08012025_23_43_02_772534_0003.jpg
/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0000.jpg
/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0001.jpg
/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554890","1327554886","1327554889","1327554888"],"photo_ids_order":["1327554886","1327554888","1327554889","1327554890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f27829d056a8d522d6c6493151d9c71c.jpg","text":"TemporaryFile(/tmp/multipartBody8041908735745563893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376332783,"filename":"image_08012025_23_44_02_933936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/946347d3d6c5b8115eae65540f5f2789.jpg","text":"TemporaryFile(/tmp/multipartBody1330720573616027221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376332783,"filename":"image_08012025_23_43_02_772534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6853a39e34fd0fcb6407484292ad3c16.jpg","text":"TemporaryFile(/tmp/multipartBody4956321624844434527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376332783,"filename":"image_08012025_23_44_02_933936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/11f968a972a6ea7af76f0adc8fdc59dc.jpg","text":"TemporaryFile(/tmp/multipartBody6542134006211960191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376332783,"filename":"image_08012025_23_44_02_933936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554889","file1":"1327554888","file0":"1327554886","file3":"1327554890"},"map_files_photo_id_array":[{"photo_id":"1327554889","filename":"file2"},{"photo_id":"1327554888","filename":"file1"},{"photo_id":"1327554886","filename":"file0"},{"photo_id":"1327554890","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554890":["hashtag1","hashtag2"]},{"1327554886":["hashtag1","hashtag2"]},{"1327554889":["hashtag1","hashtag2"]},{"1327554888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554890, 1327554886, 1327554889, 1327554888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27157807350159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:45:21.945579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0003.jpg', '/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0000.jpg', '/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0001.jpg', '/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/44/image_08012025_23_44_02_933936_0003.jpg
/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0000.jpg
/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0001.jpg
/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554944","1327554947","1327554946","1327554948"],"photo_ids_order":["1327554944","1327554946","1327554947","1327554948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4104e1bb1c8e5219210a3abf8fdc5fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4472828608945371560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376392397,"filename":"image_08012025_23_44_02_933936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/747b868328eebbc7c9d0bcb81bd5ae84.jpg","text":"TemporaryFile(/tmp/multipartBody6607441828402900570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376392397,"filename":"image_08012025_23_45_03_107711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/50e91a3d214bb4d4bc6fc7f87594be10.jpg","text":"TemporaryFile(/tmp/multipartBody4481261650799075051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376392397,"filename":"image_08012025_23_45_03_107711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/a812f2656444e9fffbb93bc0bfb44bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6066526418090323954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376392397,"filename":"image_08012025_23_45_03_107711_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554947","file1":"1327554946","file0":"1327554944","file3":"1327554948"},"map_files_photo_id_array":[{"photo_id":"1327554947","filename":"file2"},{"photo_id":"1327554946","filename":"file1"},{"photo_id":"1327554944","filename":"file0"},{"photo_id":"1327554948","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554944":["hashtag1","hashtag2"]},{"1327554947":["hashtag1","hashtag2"]},{"1327554946":["hashtag1","hashtag2"]},{"1327554948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554944, 1327554947, 1327554946, 1327554948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61735725402832 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-08 23:46:22.154204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0003.jpg', '/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0000.jpg', '/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/45/image_08012025_23_45_03_107711_0003.jpg
/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0000.jpg
/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554956","1327554958","1327554957"],"photo_ids_order":["1327554956","1327554957","1327554958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/71b937fbd95635a92c216aa73f66b3f9.jpg","text":"TemporaryFile(/tmp/multipartBody8309144393327674879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376450060,"filename":"image_08012025_23_45_03_107711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ce39d02caa3b9601d876d1aaac74bae9.jpg","text":"TemporaryFile(/tmp/multipartBody4728462713887101120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376450060,"filename":"image_08012025_23_46_02_271542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e09fd7e874b858c2ef34df16426c0cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6294011395670279162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376450060,"filename":"image_08012025_23_46_02_271542_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554958","file1":"1327554957","file0":"1327554956"},"map_files_photo_id_array":[{"photo_id":"1327554958","filename":"file2"},{"photo_id":"1327554957","filename":"file1"},{"photo_id":"1327554956","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554956":["hashtag1","hashtag2"]},{"1327554958":["hashtag1","hashtag2"]},{"1327554957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554956, 1327554958, 1327554957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.11256718635559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:47:02.820478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:47:22.355777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0003.jpg', '/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0000.jpg', '/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0001.jpg', '/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/46/image_08012025_23_46_02_271542_0003.jpg
/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0000.jpg
/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0001.jpg
/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554971","1327554967","1327554969","1327554966"],"photo_ids_order":["1327554966","1327554967","1327554969","1327554971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/b9a0b07131b551b6494aea6f2b44e87b.jpg","text":"TemporaryFile(/tmp/multipartBody4604854789053768106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376512710,"filename":"image_08012025_23_47_02_471533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/21dd4f38b27503f4d6d1548a2fac9af7.jpg","text":"TemporaryFile(/tmp/multipartBody2378105674072594912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376512710,"filename":"image_08012025_23_47_02_471533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/10293a52649a8604a5b2eea4c1543dd9.jpg","text":"TemporaryFile(/tmp/multipartBody5967303727605445546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376512710,"filename":"image_08012025_23_47_02_471533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/040af28037a7e3de51fc001342ccdc93.jpg","text":"TemporaryFile(/tmp/multipartBody3514457224575136156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376512710,"filename":"image_08012025_23_46_02_271542_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554969","file1":"1327554967","file0":"1327554966","file3":"1327554971"},"map_files_photo_id_array":[{"photo_id":"1327554969","filename":"file2"},{"photo_id":"1327554967","filename":"file1"},{"photo_id":"1327554966","filename":"file0"},{"photo_id":"1327554971","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554971":["hashtag1","hashtag2"]},{"1327554967":["hashtag1","hashtag2"]},{"1327554969":["hashtag1","hashtag2"]},{"1327554966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554971, 1327554967, 1327554969, 1327554966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.486892223358154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:48:22.462238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0003.jpg', '/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0000.jpg', '/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0001.jpg', '/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/47/image_08012025_23_47_02_471533_0003.jpg
/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0000.jpg
/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0001.jpg
/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554980","1327554983","1327554979","1327554978"],"photo_ids_order":["1327554978","1327554979","1327554980","1327554983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/3db39e390e0855b27c73805693a06e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8591930224391682871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376573038,"filename":"image_08012025_23_48_02_654794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4428a864727167c8ad2328b4fbcbfadf.jpg","text":"TemporaryFile(/tmp/multipartBody3255251390579990472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376573038,"filename":"image_08012025_23_48_02_654794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2f26e274f7963620912349b3705b1c13.jpg","text":"TemporaryFile(/tmp/multipartBody1681878982908686110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376573038,"filename":"image_08012025_23_48_02_654794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/99ad9fc425eb9271141f24ac9587cb6a.jpg","text":"TemporaryFile(/tmp/multipartBody7149538183937856341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376573038,"filename":"image_08012025_23_47_02_471533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554980","file1":"1327554979","file0":"1327554978","file3":"1327554983"},"map_files_photo_id_array":[{"photo_id":"1327554980","filename":"file2"},{"photo_id":"1327554979","filename":"file1"},{"photo_id":"1327554978","filename":"file0"},{"photo_id":"1327554983","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554980":["hashtag1","hashtag2"]},{"1327554983":["hashtag1","hashtag2"]},{"1327554979":["hashtag1","hashtag2"]},{"1327554978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554980, 1327554983, 1327554979, 1327554978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.53639101982117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:49:22.643109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0003.jpg', '/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0000.jpg', '/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0001.jpg', '/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/48/image_08012025_23_48_02_654794_0003.jpg
/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0000.jpg
/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0001.jpg
/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327554992","1327554995","1327554994","1327554996"],"photo_ids_order":["1327554992","1327554994","1327554995","1327554996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d09377e2aab5621664d444e1252a716.jpg","text":"TemporaryFile(/tmp/multipartBody4690792901897004707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376633322,"filename":"image_08012025_23_48_02_654794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/2117cee9c142a864b3600ebaf8ce2a40.jpg","text":"TemporaryFile(/tmp/multipartBody4676675735578755652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376633322,"filename":"image_08012025_23_49_02_846233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d2bd2a7439983f5ebee68bfc9e401069.jpg","text":"TemporaryFile(/tmp/multipartBody5109619778773003468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376633322,"filename":"image_08012025_23_49_02_846233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5a75dc9fa52a989d99fd1e8160ccebcb.jpg","text":"TemporaryFile(/tmp/multipartBody2670295866925954154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376633322,"filename":"image_08012025_23_49_02_846233_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327554995","file1":"1327554994","file0":"1327554992","file3":"1327554996"},"map_files_photo_id_array":[{"photo_id":"1327554995","filename":"file2"},{"photo_id":"1327554994","filename":"file1"},{"photo_id":"1327554992","filename":"file0"},{"photo_id":"1327554996","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327554992":["hashtag1","hashtag2"]},{"1327554995":["hashtag1","hashtag2"]},{"1327554994":["hashtag1","hashtag2"]},{"1327554996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327554992, 1327554995, 1327554994, 1327554996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58483839035034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:50:22.041158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0003.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0000.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0001.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0003.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0000.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0001.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.312646865844727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:50:41.794608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0003.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0000.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0001.jpg', '/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/49/image_08012025_23_49_02_846233_0003.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0000.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0001.jpg
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555049","1327555040","1327555083","1327555047"],"photo_ids_order":["1327555040","1327555047","1327555049","1327555083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f76bba4fc9a23d7ba65b1f0fbcf825fa.jpg","text":"TemporaryFile(/tmp/multipartBody5187217201989340413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376712519,"filename":"image_08012025_23_50_02_980265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8d1a27efd8fa4b1468e1dc0eb0e39d48.jpg","text":"TemporaryFile(/tmp/multipartBody8699822210316238265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376712519,"filename":"image_08012025_23_49_02_846233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4f35705447d18011d046c2609d730829.jpg","text":"TemporaryFile(/tmp/multipartBody8118902522285672930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376712519,"filename":"image_08012025_23_50_02_980265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79c9c4bc829a5858717be94161f169b8.jpg","text":"TemporaryFile(/tmp/multipartBody1201445072336224795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376712519,"filename":"image_08012025_23_50_02_980265_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555049","file1":"1327555047","file0":"1327555040","file3":"1327555083"},"map_files_photo_id_array":[{"photo_id":"1327555049","filename":"file2"},{"photo_id":"1327555047","filename":"file1"},{"photo_id":"1327555040","filename":"file0"},{"photo_id":"1327555083","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555049":["hashtag1","hashtag2"]},{"1327555040":["hashtag1","hashtag2"]},{"1327555083":["hashtag1","hashtag2"]},{"1327555047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555049, 1327555040, 1327555083, 1327555047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48031711578369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:51:22.094986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0003.jpg', '/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0000.jpg', '/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0001.jpg', '/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/50/image_08012025_23_50_02_980265_0003.jpg
/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0000.jpg
/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0001.jpg
/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555121","1327555124","1327555123","1327555125"],"photo_ids_order":["1327555121","1327555123","1327555124","1327555125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/79a75d69cada3c409876d1885771850d.jpg","text":"TemporaryFile(/tmp/multipartBody1200667436234713002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376752421,"filename":"image_08012025_23_50_02_980265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/e094909b2834ad21fb8f8e158ba96d15.jpg","text":"TemporaryFile(/tmp/multipartBody8016868178129506908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376752421,"filename":"image_08012025_23_51_02_187597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/95e4d839e75ae9dd6b17c51b5b2e885d.jpg","text":"TemporaryFile(/tmp/multipartBody4071351919224523267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376752421,"filename":"image_08012025_23_51_02_187597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/6a184d22130b27da15ed5e3582a444c7.jpg","text":"TemporaryFile(/tmp/multipartBody2146227525183848024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376752421,"filename":"image_08012025_23_51_02_187597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555124","file1":"1327555123","file0":"1327555121","file3":"1327555125"},"map_files_photo_id_array":[{"photo_id":"1327555124","filename":"file2"},{"photo_id":"1327555123","filename":"file1"},{"photo_id":"1327555121","filename":"file0"},{"photo_id":"1327555125","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555121":["hashtag1","hashtag2"]},{"1327555124":["hashtag1","hashtag2"]},{"1327555123":["hashtag1","hashtag2"]},{"1327555125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555121, 1327555124, 1327555123, 1327555125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.47759556770325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:52:22.244665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0003.jpg', '/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0000.jpg', '/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0001.jpg', '/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/51/image_08012025_23_51_02_187597_0003.jpg
/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0000.jpg
/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0001.jpg
/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555133","1327555136","1327555138","1327555134"],"photo_ids_order":["1327555133","1327555134","1327555136","1327555138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d1ede24f82e676c14e046cd24ec373bb.jpg","text":"TemporaryFile(/tmp/multipartBody4505200735891694381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376812737,"filename":"image_08012025_23_51_02_187597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f7f9d0ebd8033c6d6b7cebf10d61dd1e.jpg","text":"TemporaryFile(/tmp/multipartBody2761980777179618136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376812737,"filename":"image_08012025_23_52_02_312796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/07f21940043799a25a1a86116ac67c49.jpg","text":"TemporaryFile(/tmp/multipartBody6933990978365837449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376812737,"filename":"image_08012025_23_52_02_312796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/4fa6fafdd68e2d8fa4dd261c826cee68.jpg","text":"TemporaryFile(/tmp/multipartBody8061282906012442528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376812737,"filename":"image_08012025_23_52_02_312796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555136","file1":"1327555134","file0":"1327555133","file3":"1327555138"},"map_files_photo_id_array":[{"photo_id":"1327555136","filename":"file2"},{"photo_id":"1327555134","filename":"file1"},{"photo_id":"1327555133","filename":"file0"},{"photo_id":"1327555138","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555133":["hashtag1","hashtag2"]},{"1327555136":["hashtag1","hashtag2"]},{"1327555138":["hashtag1","hashtag2"]},{"1327555134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555133, 1327555136, 1327555138, 1327555134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31708312034607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:53:22.377429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0003.jpg', '/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0001.jpg', '/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/52/image_08012025_23_52_02_312796_0003.jpg
/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0001.jpg
/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555148","1327555145","1327555147"],"photo_ids_order":["1327555145","1327555147","1327555148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/ed59ef066eb965c6af71f7d99efcd2cc.jpg","text":"TemporaryFile(/tmp/multipartBody4964910801642153119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376870280,"filename":"image_08012025_23_53_02_518134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0ee7ebb93209923ad82b15936254b40.jpg","text":"TemporaryFile(/tmp/multipartBody4381908664754498145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376870280,"filename":"image_08012025_23_52_02_312796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/8677590181a16953e40a5709afb16d92.jpg","text":"TemporaryFile(/tmp/multipartBody7204752560880359701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376870280,"filename":"image_08012025_23_53_02_518134_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555148","file1":"1327555147","file0":"1327555145"},"map_files_photo_id_array":[{"photo_id":"1327555148","filename":"file2"},{"photo_id":"1327555147","filename":"file1"},{"photo_id":"1327555145","filename":"file0"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555148":["hashtag1","hashtag2"]},{"1327555145":["hashtag1","hashtag2"]},{"1327555147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555148, 1327555145, 1327555147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.908721208572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:54:02.945023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:54:22.532202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0003.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0000.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0001.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0003.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0000.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0001.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.137802362442017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-08 23:54:42.520120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0003.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0000.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0001.jpg', '/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/53/image_08012025_23_53_02_518134_0003.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0000.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0001.jpg
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555762","1327555666","1327555753","1327555770"],"photo_ids_order":["1327555666","1327555753","1327555762","1327555770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/32c57bd6fef0e200ca085f797d9453e1.jpg","text":"TemporaryFile(/tmp/multipartBody3755953700834085886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376953064,"filename":"image_08012025_23_54_02_712368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/146984e92d353102934f489f509a732c.jpg","text":"TemporaryFile(/tmp/multipartBody1529614830729934519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376953064,"filename":"image_08012025_23_53_02_518134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/d0d89e7bebaf9ca19109b3a612c2f669.jpg","text":"TemporaryFile(/tmp/multipartBody7662127579779757842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376953064,"filename":"image_08012025_23_54_02_712368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/abcc8b81b5019763f5f21dd9e0b4883d.jpg","text":"TemporaryFile(/tmp/multipartBody8177318428499820196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736376953064,"filename":"image_08012025_23_54_02_712368_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555762","file1":"1327555753","file0":"1327555666","file3":"1327555770"},"map_files_photo_id_array":[{"photo_id":"1327555762","filename":"file2"},{"photo_id":"1327555753","filename":"file1"},{"photo_id":"1327555666","filename":"file0"},{"photo_id":"1327555770","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555762":["hashtag1","hashtag2"]},{"1327555666":["hashtag1","hashtag2"]},{"1327555753":["hashtag1","hashtag2"]},{"1327555770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555762, 1327555666, 1327555753, 1327555770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72579836845398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-08 23:55:32.618610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0003.jpg', '/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0000.jpg', '/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0001.jpg', '/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/54/image_08012025_23_54_02_712368_0003.jpg
/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0000.jpg
/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0001.jpg
/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555832","1327555826","1327555828","1327555830"],"photo_ids_order":["1327555826","1327555828","1327555830","1327555832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0f67df95e61d3471956ea07066971fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5341392523765785224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377002991,"filename":"image_08012025_23_55_02_824889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/0b2a149a72d62b2120b78e3ab20d467c.jpg","text":"TemporaryFile(/tmp/multipartBody4332859095663812219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377002991,"filename":"image_08012025_23_54_02_712368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/f03339762425b5c605ee0a09611259b6.jpg","text":"TemporaryFile(/tmp/multipartBody9061227671737750824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377002991,"filename":"image_08012025_23_55_02_824889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/7a897c84496c2d2862f89126a3c17654.jpg","text":"TemporaryFile(/tmp/multipartBody8278874230175236887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377002991,"filename":"image_08012025_23_55_02_824889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555830","file1":"1327555828","file0":"1327555826","file3":"1327555832"},"map_files_photo_id_array":[{"photo_id":"1327555830","filename":"file2"},{"photo_id":"1327555828","filename":"file1"},{"photo_id":"1327555826","filename":"file0"},{"photo_id":"1327555832","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555832":["hashtag1","hashtag2"]},{"1327555826":["hashtag1","hashtag2"]},{"1327555828":["hashtag1","hashtag2"]},{"1327555830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555832, 1327555826, 1327555828, 1327555830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45202040672302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:56:21.844109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0003.jpg', '/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0000.jpg', '/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0001.jpg', '/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/55/image_08012025_23_55_02_824889_0003.jpg
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0000.jpg
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0001.jpg
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555889","1327555872","1327555869","1327555866"],"photo_ids_order":["1327555866","1327555869","1327555872","1327555889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/df761a17844afb480e11c1ec7cb7a957.jpg","text":"TemporaryFile(/tmp/multipartBody3545428811333937917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377052316,"filename":"image_08012025_23_56_03_050198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/5401a32c229230b500f4a83b9ddfb0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4986038971991942900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377052316,"filename":"image_08012025_23_56_03_050198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/752c2bc7541b3c0053f65ed27b057d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7028946309821776188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377052316,"filename":"image_08012025_23_56_03_050198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/8/37e881d7ee7eb3a337cc310075d7161e.jpg","text":"TemporaryFile(/tmp/multipartBody8321907707963696161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377052316,"filename":"image_08012025_23_55_02_824889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555872","file1":"1327555869","file0":"1327555866","file3":"1327555889"},"map_files_photo_id_array":[{"photo_id":"1327555872","filename":"file2"},{"photo_id":"1327555869","filename":"file1"},{"photo_id":"1327555866","filename":"file0"},{"photo_id":"1327555889","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555889":["hashtag1","hashtag2"]},{"1327555872":["hashtag1","hashtag2"]},{"1327555869":["hashtag1","hashtag2"]},{"1327555866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555889, 1327555872, 1327555869, 1327555866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70324754714966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:57:21.992147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
